summaryrefslogtreecommitdiff
path: root/usr.bin/lock/lock.c
AgeCommit message (Expand)Author
2019-07-24Make sure that -n overrides -t even when -n precedes -t, like itIngo Schwarze
2019-07-21While -n is now the default, it's been useful since 1996. Keep it for compat.Jeremie Courreges-Anglas
2019-07-21Amend comment: entering the root password won't unlock the terminalJeremie Courreges-Anglas
2019-07-19lock(1): remove default timeoutcheloha
2019-07-05lock(1): make "-n" and "-t timeout" mutually exclusive.cheloha
2017-09-06After recent changes, we need to clear hash, not s1.Theo Buehler
2017-07-08this program was infected with lint era casts. i think we're past that now.Ted Unangst
2017-07-08remove ARGSUSED, from Scott Cheloha.Ted Unangst
2017-07-08use crypt_newhash to protect the password. from Scott ChelohaTed Unangst
2017-07-08clean up some unused variables. also, making a variable global isn't theTed Unangst
2017-07-08instead of using time(), refer to getitimer to find out how long theTed Unangst
2017-07-08can just continue after readpassphrase returns null, the sighandler willTed Unangst
2017-05-03Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,Ricardo Mestre
2016-05-28repair braces. from ilya.kaliman/gsoares/natanoTed Unangst
2015-10-15lock needs pledge(proc exec) to use bsd auth system. from tronddTed Unangst
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio getpw rpath wpath tty". "tty" allows this to useTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2010-06-13Prevent a segmentation fault. It could occur when login_getclass fails andTobias Stoeckmann
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-18like login(1), back off password guesses after login-backoff; andMartynas Venckus
2006-04-26pleasing lint, without displeasing future developersTheo de Raadt
2006-04-26merge parts of strtonum() cleanup from tan.dang@gmail.comTheo de Raadt
2005-07-14- better synopsisJason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-08-15knfTheo de Raadt
2002-08-04ansiTheo de Raadt
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-05-08_exit() not exit() in signal handler.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-02avoid stdio in signal handlerTheo de Raadt
2001-05-29adapt to BSD authentication and clean things up a bit while I am at itTodd C. Miller
1999-03-06back out changes that should not have escaped my local treeTodd C. Miller
1999-03-06add missing reference to infocmpTodd C. Miller
1997-07-27A bit of KNFTodd C. Miller
1997-07-27-WallTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-16s/key support now works (s/key lookup must be done with euid == 0)Todd C. Miller
1996-09-06Add -n/no timeout option. FreeBSD PR bin/1567, obrien@Nuxi.cs.ucdavis.edu.Jason Downs
1996-08-06type cleanupTheo de Raadt
1996-07-25readableTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-05-24use protosTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt