aboutsummaryrefslogtreecommitdiff
path: root/sbin/init/init.c
Commit message (Expand)AuthorAgeFilesLines
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
* sbin: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-2/+0
* init: allow to start script executions with sh -o verifySebastien Bini2022-10-111-23/+30
* init: fix shutdown raceCorvin Köhne2022-09-061-3/+3
* init(8): use proper boolean type for globalsMitchell Horne2022-02-221-13/+11
* boottrace: annotate init and shutdown utilitiesMitchell Horne2022-02-221-6/+78
* init: execute /etc/rc.final after all user processes have terminatedKyle Evans2021-07-231-0/+51
* init: use explicit_bzero() for clearing passwordsKyle Evans2021-03-031-1/+1
* sbin/init: Reduce code duplication by using %m for error messageXin LI2020-12-261-28/+25
* Remove risky compatability with old kernelsBrooks Davis2020-09-021-20/+2
* init(8): set environment variables from the "daemon" class as wellKyle Evans2020-02-051-0/+1
* Small tweak to the default behavior of shutdown -cWarner Losh2020-01-171-2/+4
* init: pedantic correction to "can't exec" script warningEd Maste2019-03-261-1/+1
* Consistently use NULL to terminate the argv; no functional changes.Edward Tomasz Napierala2018-08-171-7/+7
* Add init_exec kenv(1) variable, to make init(8) execute a fileEdward Tomasz Napierala2018-08-141-0/+22
* Use NULLs instead of casted zeroes, for consistency.Edward Tomasz Napierala2018-08-091-7/+7
* Refactor common code into execute_script().Edward Tomasz Napierala2018-08-091-76/+56
* Make it possible for init to execute any executable, not just sh(1)Edward Tomasz Napierala2018-08-041-2/+32
* Improve missing tty handling in init(8). This removes a check that didEdward Tomasz Napierala2018-02-271-14/+36
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Implement power cycle in init.Warner Losh2017-10-251-3/+4
* Correct sense of crypt(3) NULL checks in init(8) and lock(1)Conrad Meyer2017-10-031-1/+1
* - Use strlcat() instead of strncat().Xin LI2017-07-071-6/+6
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Add verbosity around failed reboot(2) call.Konstantin Belousov2016-10-071-2/+7
* When making a pause after detecting hard kill of the single-userKonstantin Belousov2016-10-071-1/+9
* For pointers use NULL instead of 0.Marcelo Araujo2016-05-161-4/+4
* When rerooting, take the init(8) path from argv[0] instead of fetchingEdward Tomasz Napierala2016-05-111-16/+9
* When rerooting, ignore ESRCH returned from kill(2). I couldn't reproduceEdward Tomasz Napierala2016-05-111-1/+3
* Use NULL instead of 0 for pointers.Marcelo Araujo2016-04-191-4/+4
* Fix resource leaks in error cases.Edward Tomasz Napierala2015-11-111-8/+9
* Userspace part of reroot support. This makes it possible to changeEdward Tomasz Napierala2015-11-081-15/+269
* Disable suspend when we're shutting down. This solves the "tell FreeBSDColin Percival2015-10-011-0/+14
* Remove LOG_ODELAY because it does nothing.Neel Natu2014-08-171-1/+1
* init: Remove code to track line numbers in /etc/ttys.Jilles Tjoelker2014-02-081-16/+4
* init: Set kernel login class and CPU mask on new processes.Jilles Tjoelker2013-08-131-1/+2
* init: Remove unnecessary 2-second delay before calling reboot(2).Jilles Tjoelker2012-05-251-2/+0
* Properly clear the O_NONBLOCK flag after opening the TTY.Ed Schouten2012-04-061-1/+5
* Make init(8) slightly more robust when /dev/console is missing.Ed Schouten2012-03-141-11/+27
* Fix whitespace.Ed Schouten2012-03-111-8/+8
* Handle NULL return from crypt(3). Mostly from DragonFlyKevin Lo2012-02-221-1/+2
* Move utmpx handling out of init(8).Ed Schouten2012-02-111-31/+0
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-4/+4
* init: Only run /etc/rc.shutdown if /etc/rc was run.Jilles Tjoelker2011-01-231-10/+35
* Remove stale inclusion of <ulog.h>.Ed Schouten2010-01-271-1/+0
* Migrate init(8) towards utmpx.Ed Schouten2010-01-131-3/+6
* Let init(8) and reboot(8) use utmpx to log wtmp entries.Ed Schouten2009-12-051-5/+11
* Remove redundant code from runshutdown() now tcsetsid(3) works reliably.Ed Schouten2009-06-151-18/+1
* Fix the staircase issue properly this time.Ed Schouten2009-06-141-0/+8