summaryrefslogtreecommitdiffstats
path: root/sbin/init (follow)
Commit message (Expand)AuthorAgeFilesLines
* init(8): use err(3) instead of hand-rolled fprintf(3) messagescheloha2020-03-251-9/+5
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-4/+4
* Drop special handling of SIGSYS.cheloha2018-08-241-20/+2
* Check GETTY_SPACING against the monotonic clock.cheloha2018-01-311-10/+14
* GETTY_SLEEP is 30 seconds, not 10cheloha2018-01-161-3/+3
* unifdef LOGIN_CAP, we always want to use login.confmillert2018-01-062-15/+5
* s/CPU_LIDSUSPEND/CPU_LIDACTION/natano2017-06-161-2/+2
* Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,mestre2017-05-031-3/+4
* Add a new sysctl machdep.lidaction. The sysctl works as follows:natano2017-03-021-6/+6
* fix HISTORY;schwarze2016-10-061-3/+3
* for consistency, hyphenate "single-user";jmc2016-09-051-4/+4
* replace obsolete getpass() by readpassphrase()gsoares2016-09-051-2/+4
* Use an RB tree instead of BDB to map process->session, ok tedu millertnicm2016-09-041-41/+20
* Pull in <sys/time.h> for struct timespecguenther2016-08-271-2/+3
* Do not close the stdio file desciptors in init(8), but dup2(2) thembluhm2016-05-101-9/+13
* Remove variable unneeded since introduction of crypt_checkpassjca2016-02-011-2/+2
* Use NULL rather than 0 for pointers. No binary change.mmcc2015-12-231-9/+9
* Remove NULL-checks before free(). ok tb@mmcc2015-12-101-3/+2
* use _shadow getpwnam (and crypt_checkpass)tedu2015-11-181-6/+8
* there's no need to keep init secret these days, and the (unused)tedu2015-09-251-3/+1
* <stdlib.h> is included, so do not need to cast result fromderaadt2015-08-201-3/+2
* Use volatile sig_atomic_t for requested_transition since it ismillert2015-07-141-62/+83
* Make init(8) static PIE.pascal2015-03-181-3/+1
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+4
* Do not define the variable pid twice to avoid a compiler warning.bluhm2014-12-061-2/+1
* malloc/memset->calloc. with bonus null check. from peter malone.tedu2014-04-221-3/+4
* Do not raise the securelevel when transitioning from catatonia tomillert2014-01-031-5/+7
* Ignore sysctl failure for CPU_LIDSUSPEND when errno is EOPNOTSUPP.millert2013-02-111-2/+2
* fix "disable lidsuspend on shutdown":halex2012-10-111-3/+3
* no need to (unsigned) a small constantderaadt2012-04-061-2/+2
* knock out useless Pp;jmc2011-09-041-3/+2
* Some cleanup and simplifications:schwarze2011-05-101-24/+32
* tweak previous;jmc2010-10-151-3/+3
* freebsd uses SIGINT to request a reboot, we may as well be consistent.dlg2010-10-152-8/+8
* add a SIGQUIT handler that does the same as USR1 and USR2, except itdlg2010-10-142-16/+37
* Add missing err.h includedcoppa2010-09-291-1/+2
* more wacky macro fixing;jmc2010-09-191-3/+3
* disable lidsuspend when we are powering downphessler2010-08-071-1/+12
* .Pd -> .Pqjmc2010-03-141-3/+3
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
* malloc(n * m) -> calloc(n, m); ok espiederaadt2007-09-031-3/+3
* convert to new .Dd format;jmc2007-05-311-2/+2
* sort FILES;jmc2007-01-291-7/+7
* add /fastboot to FILES, since these pages discuss that file;jmc2007-01-291-1/+7
* correct .Xr; from marcus poppjmc2006-07-251-2/+2
* let's just use "getty" as the plural of `getty', because "getty's" isjmc2006-06-221-3/+3
* accept SIGUSR2. Like SIGUSR1, except it makes RB_POWERDOWN mandatory.deraadt2006-06-222-8/+33
* Fix mem leaks in error path. From NetBSD's coverity analysis. ok pat@otto2006-03-191-3/+8
* better wording, helped by krw and roughly ok deraadt;jmc2005-12-101-3/+3
* use snprintf; dhill@mindcry.orgderaadt2005-11-121-11/+6