summaryrefslogtreecommitdiff
path: root/sbin/init/init.c
AgeCommit message (Expand)Author
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-08-07disable lidsuspend when we are powering downPeter Hessler
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
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-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
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-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-11-05kill more registers;Mike Pechkin
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
2000-08-06Add DEFAULT_STATE macro to allow ramdisk init to set default state toTodd C. Miller
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt
1999-09-03have shutdown code run /etc/rc with arg of "shutdown"; rc.shutdown becomes c...Theo de Raadt
1999-07-06if SIGUSR1 is received, kill gettys, run /etc/rc.shutdown, and halt the machineTheo de Raadt
1998-06-03zero sigaction before useTheo de Raadt
1998-05-04LETS_GET_BIGTheo de Raadt
1998-04-13Use _PATH_DEV, not "/dev/"Todd C. Miller
1998-03-03sigset_t; jraynardTheo de Raadt
1997-09-14some -WallTheo de Raadt
1997-06-25(foo *)0 -> NULLkstailey
1997-03-25closelog() more oftenTheo de Raadt
1997-02-22Update to lite2 -- man page is the only thing that changed.Todd C. Miller
1996-07-31at session termination, login_fbtab devs back to rootTheo de Raadt
1996-07-12precheck getty devices for existance; if not there shut then downTheo de Raadt
1996-07-12do not ask for password if none set; from freebsdTheo de Raadt
1996-07-12Fix netbsd pr bin/2620. Fix dangling pointer while I am at it.Tobias Weingartner
1996-06-23update rcsidTheo de Raadt
1996-05-22libutilTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt