From eae5382f6ac183086944ff964eeaa95fd7dbe936 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 6 Feb 2014 17:00:28 +0000 Subject: Create a new session as quickly as possible --- sinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sinit.c b/sinit.c index be278bb..374a59d 100644 --- a/sinit.c +++ b/sinit.c @@ -38,6 +38,7 @@ main(void) if (getpid() != 1) return EXIT_FAILURE; + setsid(); sigfillset(&set); sigprocmask(SIG_BLOCK, &set, 0); -- cgit v1.2.3-70-g09d2