summaryrefslogtreecommitdiff
path: root/sbin/init
AgeCommit message (Expand)Author
2016-10-06fix HISTORY;Ingo Schwarze
2016-09-05for consistency, hyphenate "single-user";Jason McIntyre
2016-09-05replace obsolete getpass() by readpassphrase()Gleydson Soares
2016-09-04Use an RB tree instead of BDB to map process->session, ok tedu millertNicholas Marriott
2016-08-27Pull in <sys/time.h> for struct timespecPhilip Guenther
2016-05-10Do not close the stdio file desciptors in init(8), but dup2(2) themAlexander Bluhm
2016-02-01Remove variable unneeded since introduction of crypt_checkpassJeremie Courreges-Anglas
2015-12-23Use NULL rather than 0 for pointers. No binary change.mmcc
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-11-18use _shadow getpwnam (and crypt_checkpass)Ted Unangst
2015-09-25there's no need to keep init secret these days, and the (unused)Ted Unangst
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-07-14Use volatile sig_atomic_t for requested_transition since it isTodd C. Miller
2015-03-18Make init(8) static PIE.Pascal Stumpf
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-06Do not define the variable pid twice to avoid a compiler warning.Alexander Bluhm
2014-04-22malloc/memset->calloc. with bonus null check. from peter malone.Ted Unangst
2014-01-03Do not raise the securelevel when transitioning from catatonia toTodd C. Miller
2013-02-11Ignore sysctl failure for CPU_LIDSUSPEND when errno is EOPNOTSUPP.Todd C. Miller
2012-10-11fix "disable lidsuspend on shutdown":Alexander Hall
2012-04-06no need to (unsigned) a small constantTheo de Raadt
2011-09-04knock out useless Pp;Jason McIntyre
2011-05-10Some cleanup and simplifications:Ingo Schwarze
2010-10-15tweak previous;Jason McIntyre
2010-10-15freebsd uses SIGINT to request a reboot, we may as well be consistent.David Gwynne
2010-10-14add a SIGQUIT handler that does the same as USR1 and USR2, except itDavid Gwynne
2010-09-29Add missing err.h includeDavid Coppa
2010-09-19more wacky macro fixing;Jason McIntyre
2010-08-07disable lidsuspend when we are powering downPeter Hessler
2010-03-14.Pd -> .PqJason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-29sort FILES;Jason McIntyre
2007-01-29add /fastboot to FILES, since these pages discuss that file;Jason McIntyre
2006-07-25correct .Xr; from marcus poppJason McIntyre
2006-06-22let's just use "getty" as the plural of `getty', because "getty's" isJason McIntyre
2006-06-22accept SIGUSR2. Like SIGUSR1, except it makes RB_POWERDOWN mandatory.Theo de Raadt
2006-03-19Fix mem leaks in error path. From NetBSD's coverity analysis. ok pat@Otto Moerbeek
2005-12-10better wording, helped by krw and roughly ok deraadt;Jason McIntyre
2005-11-12use snprintf; dhill@mindcry.orgTheo de Raadt
2005-03-13turn off accounting when switching to single user;Markus Friedl
2004-03-16errno is not specified to be int, but something from errno.h. ok millert@Ted Unangst
2004-02-24sort options;Jason McIntyre
2003-10-30malloc failures in init? never. but try to be reasonable for one dumb oneTheo de Raadt
2003-07-29spacesTheo de Raadt
2003-06-03- section reorderJason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-30snprintf; millert okTheo de Raadt
2002-12-11Minor cosmetic nits picked while reading though init.c:Todd C. Miller