diff options
Diffstat (limited to 'security/sssd/files/patch-src__util__signal.c')
-rw-r--r-- | security/sssd/files/patch-src__util__signal.c | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/security/sssd/files/patch-src__util__signal.c b/security/sssd/files/patch-src__util__signal.c deleted file mode 100644 index 06ac4f33802f..000000000000 --- a/security/sssd/files/patch-src__util__signal.c +++ /dev/null @@ -1,71 +0,0 @@ ---- src/util/signal.c.orig 2014-09-17 13:01:37 UTC -+++ src/util/signal.c -@@ -28,45 +28,6 @@ - * @brief Signal handling - */ - --/**************************************************************************** -- Catch child exits and reap the child zombie status. --****************************************************************************/ -- --static void sig_cld(int signum) --{ -- while (waitpid((pid_t)-1,(int *)NULL, WNOHANG) > 0) -- ; -- -- /* -- * Turns out it's *really* important not to -- * restore the signal handler here if we have real POSIX -- * signal handling. If we do, then we get the signal re-delivered -- * immediately - hey presto - instant loop ! JRA. -- */ -- --#if !defined(HAVE_SIGACTION) -- CatchSignal(SIGCLD, sig_cld); --#endif --} -- --/**************************************************************************** --catch child exits - leave status; --****************************************************************************/ -- --static void sig_cld_leave_status(int signum) --{ -- /* -- * Turns out it's *really* important not to -- * restore the signal handler here if we have real POSIX -- * signal handling. If we do, then we get the signal re-delivered -- * immediately - hey presto - instant loop ! JRA. -- */ -- --#if !defined(HAVE_SIGACTION) -- CatchSignal(SIGCLD, sig_cld_leave_status); --#endif --} -- - /** - Block sigs. - **/ -@@ -125,22 +86,4 @@ void (*CatchSignal(int signum,void (*handler)(int )))( - /* FIXME: need to handle sigvec and systems with broken signal() */ - return signal(signum, handler); - #endif --} -- --/** -- Ignore SIGCLD via whatever means is necessary for this OS. --**/ -- --void CatchChild(void) --{ -- CatchSignal(SIGCLD, sig_cld); --} -- --/** -- Catch SIGCLD but leave the child around so it's status can be reaped. --**/ -- --void CatchChildLeaveStatus(void) --{ -- CatchSignal(SIGCLD, sig_cld_leave_status); - } |