summaryrefslogtreecommitdiff
path: root/sbin/init
AgeCommit message (Expand)Author
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
2002-10-10Style nits. Use STDERR_FILENO, not just 2. Also use parens withTodd C. Miller
2002-07-03ansiTheo de Raadt
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-13o) start new sentence on a new line;Mike Pechkin
2001-11-05kill more registers;Mike Pechkin
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt