Christopher Faylor 0cc642a5f1 * syscalls.cc (setsid): Detach process from its console if the current
controlling tty is the console and already closed.
* dtable.h (class dtable): Add members to count descriptors referring to the
console.
* dtable.cc (dtable::dec_console_fds): New function to detach process from its
console.
(dtable::release): Decrement the counter of console descriptors.
(dtable::build_fhandler): Increment it.
* exception.cc (ctrl_c_handler): Send SIGTERM to myself when catch
CTRL_SHUTDOWN_EVENT.
2001-07-26 00:10:52 +00:00
..
2000-10-28 05:41:44 +00:00
2001-06-10 10:00:21 +00:00
2000-02-17 19:38:33 +00:00
2000-02-21 03:18:37 +00:00
2001-07-17 03:41:52 +00:00
2001-06-10 10:00:21 +00:00
2000-10-28 05:41:44 +00:00
2000-02-17 19:38:33 +00:00
2000-11-19 04:58:18 +00:00
2001-03-18 03:34:05 +00:00
2001-05-09 20:22:35 +00:00
2001-03-11 16:46:28 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 03:34:05 +00:00
2001-06-01 01:45:53 +00:00
2001-05-04 21:09:47 +00:00
2000-02-17 19:38:33 +00:00
2000-08-18 19:51:02 +00:00
2000-09-03 04:16:35 +00:00
2000-02-17 19:38:33 +00:00
2001-07-17 03:41:52 +00:00
2000-02-17 19:38:33 +00:00
2001-07-17 03:41:52 +00:00
2001-03-07 17:45:03 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:31 +00:00
2001-03-18 21:11:25 +00:00
2000-07-19 17:42:16 +00:00