summaryrefslogtreecommitdiff
path: root/libexec/getty/main.c
AgeCommit message (Expand)Author
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26libexec: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-11-04getty: Avoid NULL deref if stdin is not a tty.Dag-Erling Smørgrav
2022-11-04getty: code cleanup, part 2Dag-Erling Smørgrav
2022-11-04getty: code cleanup, part 1Dag-Erling Smørgrav
2021-05-08getty: const'ify search pointer.Xin LI
2019-12-01Simplify code with strlcpy/strlcat.Xin LI
2018-02-25Prevent getty(8) from looping indefinitely if the device node doesn'tEdward Tomasz Napierala
2018-02-21Build getty(8) with WARNS=6.Edward Tomasz Napierala
2018-02-04Sprinkle static; avoid nested externs.Edward Tomasz Napierala
2018-02-04Rename getty's getline() to get_line(), to avoid clash with getline(3).Edward Tomasz Napierala
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-09-07Add a new getty/gettytab capability to generate an initial message dynamically.David Bright
2014-08-17Remove LOG_ODELAY because it does nothing.Neel Natu
2014-02-17Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer
2010-12-20Add __unused. Ansi prototypes.Philippe Charnier
2010-11-02Add a new libc function: cfmakesane(3).Ed Schouten
2005-04-06Include gettytab.h before extern.h so that the declarations of structStefan Farfeleder
2004-09-29Report once that the device isn't there, but keep trying. Don'tWarner Losh
2003-07-18Prototype defttymode() instead of just declaring it.Yaroslav Tykhiy
2003-06-18- Use the initial terminal mode instead of the current modeYaroslav Tykhiy
2003-06-14In the last clean-up of this code, the fact that the default tty modeBrian Feldman
2003-06-10Read gettytab(5) soon enough to fill in all necessary values.Yaroslav Tykhiy
2003-06-10Spot one more place where boolean variables were incrementedYaroslav Tykhiy
2003-06-10Coding style fix: Use "foo = 1" instead of "foo++" to assignYaroslav Tykhiy
2003-06-06Fix some minor bugs, namely:Yaroslav Tykhiy
2003-01-20Fix a typo (missed &&).Maxim Sobolev
2003-01-19Add a new gettytab(5) option - `pl', which if set tells getty that the lineMaxim Sobolev
2002-02-25#include <sys/time.h> instead of depending on namespace pollution inBruce Evans
2002-02-06Remove some unused variables, mark unused parameters as unused and changeWarner Losh
2002-02-06o __P removalWarner Losh
2001-06-07Add 'df' string to gettytab - the strftime(3) format for %dYaroslav Tykhiy
2000-11-19Check return code from login_tty. Allow getty to try and becomeJohn W. De Boskey
2000-10-10Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman
2000-07-31Add 'nc' flag to gettytab -- no carrier. Forces non-blocking open andNick Sayer
2000-01-28Changed setflags() to set_flags(). This fixes world breakage due toBruce Evans
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1999-04-07Ensure that things returned by gethostname() andBrian Somers
1999-04-04Add an 'al' (autologin username) capability to getty/gettytab. This is aPeter Wemm
1999-03-09Set the CPU resource limit back to infinity before exec()ing PP.Brian Somers
1998-10-08This thing has its own puts function, so use it.Jordan K. Hubbard
1997-11-21Correct incompletes .Xrs. Remove duplicate #includes and unused variables.Philippe Charnier
1997-06-27Removed unused variables.Alexander Langer
1997-06-03Reset alarm before invoking ppplogin.David Nugent
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-02-09Tidy-up modem-chat handling: ensure tty modes are restored toDavid Nugent
1997-02-07Increased username size to allow passing username:auth_method toDavid Nugent
1997-02-02Make username size dependant on MAXLOGNAME in sys/param.h. WasDavid Nugent
1997-02-02Added:David Nugent