aboutsummaryrefslogtreecommitdiff
path: root/loginutils/getty.c
AgeCommit message (Collapse)Author
2006-11-27safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
2006-11-07getty: remove ancient termio support (was using termois anyway)Denis Vlasenko
2006-10-23watch: fix warningDenis Vlasenko
getty: fix breakage; fix excessive stack usage
2006-10-23getty: conditionally disable handling of all-caps terminals.Denis Vlasenko
2006-10-23getty: cleanup part 2Denis Vlasenko
2006-10-23getty: cleanup part 1Denis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-19getty: oops... removing duplicate #include <syslog.h>Denis Vlasenko
2006-09-19getty: #include <syslog.h>Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-08-24Antti Seppala (with dots over the last two a's) wants our getty to initializeRob Landley
the terminal the way mingetty does instead of the way agetty does. It's a bit ugly for somebody else to be writing to a console sitting at a login: prompt, but it's uglier when newline doesn't work as expected if they do.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-06-25Missed one. Based on suggestions from Erik Hovland.Rob Landley
2006-06-18Undo all of the ugliness and some of the bloat from 15412.Rob Landley
2006-06-16- do away with the fwd-decls of functions. Should not contain any code changesBernhard Reutner-Fischer
AFAICT.
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-03-222006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger
sys/signal.h.
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2005-12-13remove strange bloat dup2() usage, sync this code with mainstream ↵"Vladimir N. Oleynik"
login-utils, size reduce
2005-10-15common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"
2005-09-29getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect"Vladimir N. Oleynik"
2005-07-27The change in getty.c in Busybox 1.01 caused the /etc/issue file to notEric Andersen
be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
2005-07-012005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* loginutils/getty.c: (open_tty): Use dup2 instead of close/dup.
2005-07-012005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* loginutils/getty.c: Include utmp.h only if CONFIG_FEATURE_U_W_TMP is defined. (getty_main): Use ISSUE only if it is defined.
2005-07-01Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger
WTMP options
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-14Use a sane VEOL settingEric Andersen
2004-08-26Save a line or twoEric Andersen
2004-08-25Patch from Manousaridis Angelos to cleanup stale file descriptors, it was ↵Glenn L McGrath
preventing unmounting an initial filesystem.
2004-07-30Umm. Not guilty by reason of insanity.Eric Andersen
-Erik
2004-07-30Fixup getty, login, etc so the utmp and wtmp are updated, allowingEric Andersen
the 'who' and 'last' applets among other things to work as expected. -Erik
2004-06-22Patch from Bastian Blank:Eric Andersen
On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote: > The following patch changes klogd to use openlog/syslog themself > instead of calling syslog_msg which always calls the triple > openlog/syslog/closelog. Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen. Bastian
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-06Fix/eliminate use of atolEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-08Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty'sGlenn L McGrath
behaviour.
2003-01-21run telnet from inetd, present login prompt if login is configured,Glenn L McGrath
patch from Bastian Blank
2002-10-10last_patch61 from vodz:Eric Andersen
New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
2002-10-10last_patch60 from vodz:Eric Andersen
login and getty applets writes utmp/wtmp but init do clearing not. I think, in current time deny wtmp/utmp writes as undefault features.
2002-08-23Don't #ifdef __linux__. this is linux.Aaron Lehmann
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-06-04Bigger patch for (partial) tinylogin integrationRobert Griebl
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]