sinit

suckless init
git clone git://git.2f30.org/sinit
Log | Files | Refs | README | LICENSE

commit eae5382f6ac183086944ff964eeaa95fd7dbe936
parent 0ffbe5d2badae771a94457573c3cf0cb382f1ad4
Author: sin <sin@2f30.org>
Date:   Thu,  6 Feb 2014 17:00:28 +0000

Create a new session as quickly as possible

Diffstat:
Msinit.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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);