diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2013-01-13 15:58:40 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2013-01-13 15:58:40 +0100 |
commit | df2d153e3991b7191aa54e90eb99e19eb6958e6b (patch) | |
tree | 62f10ef766cdb150dd5d2bd11fca6258326908a1 /tests | |
parent | 5604a0a32586518ecef2726da24a55f6f8abffc2 (diff) |
pty: reset signal-handlers for childs
If signal-handlers are set to SIG_IGN, then this behavior is preserved
across an execve(). We don't want that so reset the handlers for all
childs before executing them.
kmscon may be executed with pre-set signal handlers for good reasons. So
reset the handlers in setup_child() so we have a clean environment.
This fixes a bug where child-programs assume SIGPIPE is not ignored but do
not explicitly set it to SIG_DFL.
Reported-by: Swift Geek [github issue #62]
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions