diff options
author | sin <sin@2f30.org> | 2014-02-06 17:00:28 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-02-06 17:43:13 +0000 |
commit | eae5382f6ac183086944ff964eeaa95fd7dbe936 (patch) | |
tree | 55927b217b5d11a29cbcc39ff69942d678058a5a | |
parent | 0ffbe5d2badae771a94457573c3cf0cb382f1ad4 (diff) |
Create a new session as quickly as possible
-rw-r--r-- | sinit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ main(void) if (getpid() != 1) return EXIT_FAILURE; + setsid(); sigfillset(&set); sigprocmask(SIG_BLOCK, &set, 0); |