diff options
author | 2009-02-12 02:42:25 -0500 | |
---|---|---|
committer | 2009-02-12 03:07:16 -0500 | |
commit | 4df4394aaae2b718b347c4d0b1804e1d294e5f56 (patch) | |
tree | e7ec2b19ed55431455bc817da884cc36f64c8593 /tests/futimesat-0.c | |
parent | add testcase for old PATH bug (diff) | |
download | sandbox-4df4394aaae2b718b347c4d0b1804e1d294e5f56.tar.gz sandbox-4df4394aaae2b718b347c4d0b1804e1d294e5f56.tar.bz2 sandbox-4df4394aaae2b718b347c4d0b1804e1d294e5f56.zip |
sandbox: check signal returns and allow SIGHUP to be ignored
If the SIGHUP signal is already set to SIG_IGN, then do not replace it
with our own handler as most likely this means the user is using `nohup`.
As for the other signals, check the return value and warn if something
weird happens (like they aren't all set to SIG_DFL).
URL: http://bugs.gentoo.org/217898
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Ken Bloom <kbloom@gmail.com>
Diffstat (limited to 'tests/futimesat-0.c')
0 files changed, 0 insertions, 0 deletions