summaryrefslogtreecommitdiffstats
path: root/libexec/getty/main.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-5/+5
2019-06-23Explicitly lock unveil. Noticed when testing the recent ps(1) commit exposingrob1-1/+5
2019-05-01Pull tname initialization up since it's used in an error path.florian1-2/+3
2018-11-17need to closefrom(0) before execve(), otherwise tty isn't properlyderaadt1-1/+2
2018-11-15Theodore Wynnychenko discovered the gettytab "lo=path" feature didn't workderaadt1-9/+24
2018-09-24unveil(2) in getty. This has been in snaps for more than 2 months,deraadt1-1/+14
2017-05-29do not need dev[] wasting bss spacederaadt1-3/+2
2017-05-28Do a better job of not printing sequences we cannot reverse in DELETE orderaadt1-7/+18
2017-05-27Stop echoing ANSI sequences back to the console, by expanding ESC characterderaadt1-2/+6
2017-05-27Stop supporting primordial # (erase) and @ (kill) sequences.deraadt1-3/+3
2017-05-27remove the getname() code trying to handle baud < 1200 terminals.tedu1-8/+3
2017-01-23pledge a tiny bit later. This results in the specified tty beingderaadt1-6/+6
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.krw1-3/+3
2015-11-16Observe that FIOASYNC clearing for stdin is only done in the case wherederaadt1-3/+9
2015-11-06further PPP reduction, hint from sthentedu1-11/+1
2015-11-06remove ppplogin support. ok sthentedu1-39/+4
2015-10-16Hoist clearing of FIOASYNC to much earlier, then getty can usederaadt1-6/+8
2015-07-16remove ancient support for edited hostnames. ok deraadt (long ago)tedu1-4/+4
2015-04-14Log a more useful error message if ttyname() fails. OK deraadt@millert1-2/+10
2015-01-16adjust to HOST_NAME_MAX+1 & LOGIN_NAME_MAXderaadt1-4/+4
2014-11-19Nuke yet more obvious #include duplications.krw1-2/+1
2014-11-18Nuke some obvious #include duplications.krw1-2/+1
2013-11-27unsigned char for ctypederaadt1-4/+4
2013-06-04do not go into upper to lower case translation mode when a all-capsbenno1-6/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-12/+1
2008-02-09Remove an old workaround that was needed in SCCS times (%M% expanding to thembalmer1-6/+4
2003-07-29spacesderaadt1-3/+3
2003-07-05protosderaadt1-3/+3
2003-06-25protosderaadt1-6/+3
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2002-07-03KNFderaadt1-20/+13
2002-05-22a bunch more strcpy -> strlcpy and sprintf -> snprintfderaadt1-3/+3
2002-03-29-Wallderaadt1-2/+3
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-9/+9
2001-11-19remove the signal handler races and longjmps, and then do a bit of KNFderaadt1-32/+33
2001-07-08-Wallderaadt1-5/+5
2001-01-31more fat utmp; ianm@cit.uws.edu.auderaadt1-3/+3
2001-01-28$OpenBSD$niklas1-1/+3
2001-01-19mark remaining signal racesderaadt1-5/+4
2000-09-07off by one overflowderaadt1-2/+2
1999-12-09oopsderaadt1-7/+4
1999-12-07do not crash if stdin is not a ttyderaadt1-5/+7
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingderaadt1-2/+2
1997-11-20puts -> xputsderaadt1-15/+15
1997-08-05Remove duplicate inclusion of signal.hangelos1-2/+1
1997-07-23tabifykstailey1-7/+7
1997-06-02if getty to# parameter is used, pp option has timeout problem; kfurge@worldnet.att.net, freebsd pr#3733deraadt1-1/+4
1997-04-06clean -Wallderaadt1-3/+2
1996-12-17Add traditional handling of all upper-case inputtholo1-7/+11
1996-12-10PPP autologin code from freebsd; do not use until pppd has been checked for security...deraadt1-4/+49