ntdll: Don't change SIGCHLD disposition; no automatic reaping of child processes.
This commit is contained in:
parent
b035b0bad7
commit
35302a643a
|
@ -1076,11 +1076,6 @@ size_t server_init_thread( void *entry_point )
|
||||||
|
|
||||||
/* ignore SIGPIPE so that we get an EPIPE error instead */
|
/* ignore SIGPIPE so that we get an EPIPE error instead */
|
||||||
sigaction( SIGPIPE, &sig_act, NULL );
|
sigaction( SIGPIPE, &sig_act, NULL );
|
||||||
/* automatic child reaping to avoid zombies */
|
|
||||||
#ifdef SA_NOCLDWAIT
|
|
||||||
sig_act.sa_flags |= SA_NOCLDWAIT;
|
|
||||||
#endif
|
|
||||||
sigaction( SIGCHLD, &sig_act, NULL );
|
|
||||||
|
|
||||||
/* create the server->client communication pipes */
|
/* create the server->client communication pipes */
|
||||||
if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );
|
if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );
|
||||||
|
|
Loading…
Reference in New Issue