summaryrefslogtreecommitdiff
path: root/libexec/getty/main.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-23Explicitly lock unveil. Noticed when testing the recent ps(1) commit exposingrob
2019-05-01Pull tname initialization up since it's used in an error path.Florian Obser
2018-11-17need to closefrom(0) before execve(), otherwise tty isn't properlyTheo de Raadt
2018-11-15Theodore Wynnychenko discovered the gettytab "lo=path" feature didn't workTheo de Raadt
2018-09-24unveil(2) in getty. This has been in snaps for more than 2 months,Theo de Raadt
2017-05-29do not need dev[] wasting bss spaceTheo de Raadt
2017-05-28Do a better job of not printing sequences we cannot reverse in DELETE orTheo de Raadt
2017-05-27Stop echoing ANSI sequences back to the console, by expanding ESC characterTheo de Raadt
2017-05-27Stop supporting primordial # (erase) and @ (kill) sequences.Theo de Raadt
2017-05-27remove the getname() code trying to handle baud < 1200 terminals.Ted Unangst
2017-01-23pledge a tiny bit later. This results in the specified tty beingTheo de Raadt
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2015-11-16Observe that FIOASYNC clearing for stdin is only done in the case whereTheo de Raadt
2015-11-06further PPP reduction, hint from sthenTed Unangst
2015-11-06remove ppplogin support. ok sthenTed Unangst
2015-10-16Hoist clearing of FIOASYNC to much earlier, then getty can useTheo de Raadt
2015-07-16remove ancient support for edited hostnames. ok deraadt (long ago)Ted Unangst
2015-04-14Log a more useful error message if ttyname() fails. OK deraadt@Todd C. Miller
2015-01-16adjust to HOST_NAME_MAX+1 & LOGIN_NAME_MAXTheo de Raadt
2014-11-19Nuke yet more obvious #include duplications.Kenneth R Westerback
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
2013-11-27unsigned char for ctypeTheo de Raadt
2013-06-04do not go into upper to lower case translation mode when a all-capsSebastian Benoit
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-02-09Remove an old workaround that was needed in SCCS times (%M% expanding to theMarc Balmer
2003-07-29spacesTheo de Raadt
2003-07-05protosTheo de Raadt
2003-06-25protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-03KNFTheo de Raadt
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfTheo de Raadt
2002-03-29-WallTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19remove the signal handler races and longjmps, and then do a bit of KNFTheo de Raadt
2001-07-08-WallTheo de Raadt
2001-01-31more fat utmp; ianm@cit.uws.edu.auTheo de Raadt
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-19mark remaining signal racesTheo de Raadt
2000-09-07off by one overflowTheo de Raadt
1999-12-09oopsTheo de Raadt
1999-12-07do not crash if stdin is not a ttyTheo de Raadt
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1997-11-20puts -> xputsTheo de Raadt
1997-08-05Remove duplicate inclusion of signal.hAngelos D. Keromytis
1997-07-23tabifykstailey
1997-06-02if getty to# parameter is used, pp option has timeout problem; kfurge@worldne...Theo de Raadt
1997-04-06clean -WallTheo de Raadt
1996-12-17Add traditional handling of all upper-case inputThorsten Lockert
1996-12-10PPP autologin code from freebsd; do not use until pppd has been checked for s...Theo de Raadt