summary refs log tree commit diff
path: root/rvnit.c
Commit message (Expand)AuthorAgeFilesLines
* restore errno in error handler HEAD masterLeah Neukirchen2022-04-121-0/+4
* formattingLeah Neukirchen2022-02-161-22/+36
* pause when having no children during uptimeLeah Neukirchen2022-02-121-2/+5
* return pid=-1 in status when exec didn't run yetLeah Neukirchen2022-02-121-1/+1
* consistently send SIGCONT after SIGTERM, to work for stopped processesLeah Neukirchen2022-02-121-2/+7
* on shutdown, don't ignore signals as that will leak to childrenLeah Neukirchen2022-02-121-3/+6
* set umask to 0022 when pid 1Leah Neukirchen2022-02-101-0/+1
* logger_loop: fix control logicLeah Neukirchen2022-02-031-2/+4
* detect close of selflog when POLLIN was setLeah Neukirchen2022-02-031-0/+4
* detect closed pipes in logger_loop where POLLIN was setLeah Neukirchen2022-02-031-0/+7
* logging tweaksLeah Neukirchen2022-02-031-7/+3
* rewrite timedwait using a self-pipeLeah Neukirchen2022-02-031-39/+56
* cleaner handling of fatal boot errorsLeah Neukirchen2022-01-311-3/+2
* move want_reboot into want_shutdown, put under services_lock during runtimeLeah Neukirchen2022-01-311-19/+40
* put want_rescan/want_rescandir inside services_lockLeah Neukirchen2022-01-311-6/+8
* don't log microseconds to console, less clutterLeah Neukirchen2022-01-281-2/+2
* handle closed pipes in logger and close other end tooLeah Neukirchen2022-01-281-1/+21
* close writing pipe end after oneshots finishLeah Neukirchen2022-01-281-1/+10
* linux: mount /dev if /dev/null is not foundLeah Neukirchen2022-01-271-3/+5
* linux: don't mount /proc, we don't need itLeah Neukirchen2022-01-271-4/+0
* spawn daemons with closed stdinLeah Neukirchen2022-01-271-0/+16
* fix deadlockLeah Neukirchen2022-01-271-0/+1
* prefix perror with rvnit:Leah Neukirchen2022-01-271-7/+7
* shutdown on SIGTERM unless we are the real pid 1Leah Neukirchen2022-01-271-22/+28
* linux: shutdown/reboot when pid 1Leah Neukirchen2022-01-271-0/+14
* allow shutdown during bringupLeah Neukirchen2022-01-271-8/+9
* linux: take over ctrl-alt-del handling when reasonableLeah Neukirchen2022-01-271-4/+12
* support early mounting of /proc and /run on linuxLeah Neukirchen2022-01-271-7/+43
* sig_atomic_t should be used with volatileLeah Neukirchen2022-01-271-4/+4
* pid1: ensure PATH default valueLeah Neukirchen2022-01-271-1/+3
* default to /etc/rvnitLeah Neukirchen2022-01-271-5/+7
* always log into globallogfdLeah Neukirchen2022-01-161-7/+4
* use ioctl(0, TIOCSCTTY, 0) during startupLeah Neukirchen2022-01-161-4/+4
* when pid 1, make oneshot startup services control the ttyLeah Neukirchen2022-01-071-2/+30
* log enabling/disabling of global loggerLeah Neukirchen2022-01-071-0/+2
* fix includesLeah Neukirchen2022-01-071-1/+2
* simplify CLOEXEC handlingLeah Neukirchen2022-01-071-14/+12
* add global logging support (G)Leah Neukirchen2022-01-071-4/+60
* reboot on SIGINT, as this is what ctrl-alt-del will sendLeah Neukirchen2022-01-071-0/+1
* move socket by default to /run/rvnit/rvnit.sock and create with perm 0700Leah Neukirchen2022-01-071-1/+16
* pass service directory as argv[1]Leah Neukirchen2022-01-071-6/+11
* replace X command with S for ShutdownLeah Neukirchen2022-01-071-1/+1
* socket thread: only write data on successLeah Neukirchen2022-01-071-2/+5
* logger: wait a very short time for a whole lineLeah Neukirchen2022-01-071-0/+10
* propagate reboot state to shutdown oneshotsLeah Neukirchen2022-01-071-0/+5
* actually launch loggers before daemons when bootedLeah Neukirchen2022-01-061-1/+3
* use lock for services accessLeah Neukirchen2022-01-061-24/+73
* extract rescandirLeah Neukirchen2022-01-061-41/+88
* block all signals in helper threadsLeah Neukirchen2022-01-061-0/+6
* use sigaction with explicit .sa_maskLeah Neukirchen2022-01-061-2/+6