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
..
2013-01-13 11:54:29 +01:00
2013-01-13 11:54:29 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2013-01-03 16:55:56 +01:00
2013-01-07 18:03:45 +01:00
2013-01-03 16:55:56 +01:00
2013-01-07 18:03:45 +01:00
2013-01-03 16:55:56 +01:00
2013-01-02 15:51:54 +01:00
2013-01-07 19:22:38 +01:00
2013-01-07 18:03:45 +01:00
2012-12-12 21:24:15 +01:00
2013-01-11 12:16:43 +01:00
2013-01-03 17:36:23 +01:00
2013-01-03 17:04:55 +01:00
2013-01-03 17:41:50 +01:00
2013-01-03 17:03:31 +01:00
2013-01-03 17:04:33 +01:00
2013-01-03 16:21:18 +01:00
2013-01-03 16:21:18 +01:00
2013-01-03 16:21:18 +01:00
2013-01-07 19:31:27 +01:00
2013-01-07 19:31:27 +01:00
2013-01-07 19:22:38 +01:00
2013-01-02 15:51:54 +01:00
2013-01-13 15:58:40 +01:00
2012-12-12 21:20:45 +01:00
2013-01-13 11:54:29 +01:00
2012-12-30 19:41:08 +01:00
2013-01-03 14:00:57 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2013-01-07 18:03:45 +01:00
2012-12-10 16:09:28 +01:00
2012-12-10 16:00:08 +01:00
2012-12-10 15:36:04 +01:00
2012-12-10 15:36:04 +01:00
2012-12-02 10:15:40 +01:00
2013-01-13 15:26:56 +01:00
2013-01-13 15:26:56 +01:00
2013-01-12 13:31:17 +01:00
2013-01-12 13:31:17 +01:00
2013-01-13 11:54:29 +01:00
2013-01-07 19:22:38 +01:00
2013-01-07 19:22:38 +01:00
2013-01-13 11:42:04 +01:00
2013-01-07 19:22:38 +01:00
2013-01-07 19:37:44 +01:00
2013-01-07 19:37:44 +01:00
2013-01-07 19:37:44 +01:00
2013-01-07 19:37:44 +01:00
2013-01-13 15:26:56 +01:00
2013-01-13 15:26:56 +01:00
2013-01-13 15:26:56 +01:00
2013-01-13 11:42:04 +01:00
2013-01-12 13:40:50 +01:00
2013-01-13 11:54:29 +01:00
2013-01-07 19:31:27 +01:00
2013-01-02 18:14:48 +01:00
2013-01-07 18:03:45 +01:00
2013-01-13 11:54:29 +01:00