David Herrmann df2d153e39 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>
2013-01-13 15:58:40 +01:00
..
2012-12-12 21:24:15 +01:00
2013-01-03 16:21:18 +01:00
2013-01-03 16:21:18 +01:00
2013-01-13 15:58:40 +01:00
2012-12-12 21:20:45 +01:00
2013-01-13 11:42:04 +01:00
2013-01-13 11:42:04 +01:00
2013-01-12 13:40:50 +01:00