aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2017-04-12strerror is blotNick Shipp-9/+14
2017-02-14perror is not dieNick Shipp-0/+1
2017-02-13Bring up lo interface (fix #1)Nick Shipp-2/+26
2017-01-29Depend on dhcpcd starting wpa_supplicantNick Shipp-13/+3
2017-01-18Use config.h HOMEDIRNick Shipp-1/+1
2017-01-18Major nshp rewriteNick Shipp-19/+234
2016-09-23Use switch for fork()FRIGN-6/+4
This saves us one local variable and 2 lines of code, while improving readability by using the switch-style we are used to from other suckless projects. We are allowed to check against -1, as POSIX clearly mandates for the RETURN VALUE: "Upon successful completion, fork() shall return 0 to the child process and shall return the process ID of the child process to the parent process. Both processes shall continue to execute from the fork() function. Otherwise, -1 shall be returned to the parent process, no child process shall be created, and errno shall be set to indicate the error." [http://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html] This way, checking against < 0 was overdoing it and it's sufficient to compare against -1, justifying the switch statement here.
2015-07-12config.def.h: align rc*cmdYpnose-2/+2
2015-06-16Put sinit out of its misery and bump it up to 1.0sin-1/+1
2015-02-18Prefix signal handlers with 'sig'sin-9/+9
Apparently reboot() is an existing symbol on some BSD systems.
2015-02-03Update LICENSE yearsin-1/+1
2015-02-01Fix some mandoc lint warningssin-5/+3
2014-12-04Style fixsin-9/+9
2014-12-04Don't use EXIT_{SUCCESS,FAILURE}sin-3/+3
2014-12-04Just use $(OBJ) instead of hardcoded sinit.osin-1/+1
2014-12-04Bump up to 0.9.2sin-1/+1
2014-12-04Update LICENSEsin-1/+1
2014-12-04Simplify Makefilesin-51/+28
2014-12-04Update manpagesin-23/+55
2014-08-18Update link to initscriptssin-1/+1
2014-08-17Remove -Wno-unused-result and add -ssin-2/+2
2014-08-16Reword sinit manpage - clarify confusion around utmp entries.sin-5/+7
2014-08-05Bump up to 0.9.1sin-1/+1
2014-07-26Re-order includessin-2/+2
2014-04-23Mention /bin/rc.init in the manpagesin-0/+4
2014-04-23Add sinit.8 manpagesin-3/+33
2014-04-23Add dist target to Makefilesin-1/+10
2014-04-21Break on first signal foundsin-2/+5
2014-04-19setpgid(0, 0) seems redundant after setsid()sin-1/+0
2014-04-16Bump up to v0.9 - should be the final releasesin-1/+1
2014-04-09Be less hardcore and don't use -Werrorsin-1/+1
Use -Wno-unused-result as the compiler produces false positives.
2014-03-27Fix vertical indentationsin-5/+0
2014-03-27Just block all signalssin-3/+1
2014-03-08Bump up version to v0.8sin-1/+1
2014-03-08Remove util/sin-82/+9
2014-03-08Mark venprintf() as static explicitly, not just in the declsin-2/+1
2014-02-27Don't assume that $(DESTDIR)$(PREFIX)/bin existssin-0/+1
2014-02-16No need to setsid() earlysin-1/+0
2014-02-12Bump up to v0.7sin-1/+1
2014-02-12Sanitize working dir - default to "/"sin-0/+2
2014-02-10It doesn't really matter what we return - just signal failuresin-2/+1
2014-02-10Add -Wextra and -Werror by defaultsin-1/+1
2014-02-10Use proper type for iteratorsin-1/+1
2014-02-10Bump up to v0.6sin-1/+1
2014-02-10Remove signalfd include headersin-1/+0
2014-02-10Use sigwait() instead of signalfd()sin-13/+3
2014-02-10Unblock signals before execsin-1/+3
2014-02-10No need to typedefsin-11/+9
2014-02-10Don't clutter codesin-8/+3
2014-02-09Simplify naming of variablessin-11/+11