z/OS UNIX considerations

To create a nested enclave under z/OS UNIX, you must either:

The system() function is not thread safe. It cannot be called simultaneously from more than one thread. A multi-threaded application must ensure that no more than one system() call is ever outstanding from the various threads. If this restriction is violated, unpredictable results may occur. In a multiple enclave environment, the first enclave must be running with POSIX(ON) and all other nested enclaves must be running with POSIX(OFF).