ash: do not leave SIGQUIT ignored on "exec CMD"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
2
shell/ash_test/ash-signals/sigquit_exec.right
Normal file
2
shell/ash_test/ash-signals/sigquit_exec.right
Normal file
@@ -0,0 +1,2 @@
|
||||
SigIgn: 0000000000000000
|
||||
SigIgn: 0000000000000000
|
4
shell/ash_test/ash-signals/sigquit_exec.tests
Executable file
4
shell/ash_test/ash-signals/sigquit_exec.tests
Executable file
@@ -0,0 +1,4 @@
|
||||
# Should show no masked signals in both cases.
|
||||
# We had a bug where SIGQUIT was masked on exec.
|
||||
grep SigIgn: /proc/self/status
|
||||
exec grep SigIgn: /proc/self/status
|
Reference in New Issue
Block a user