summaryrefslogtreecommitdiff
path: root/loginutils/getty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #3Denis Vlasenko2007-01-291-8/+8
|
* use bb_sanitize_stdio() where appropriateDenis Vlasenko2007-01-271-3/+4
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-20/+12
| | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-271-2/+2
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* getty: remove ancient termio support (was using termois anyway)Denis Vlasenko2006-11-071-101/+65
|
* watch: fix warningDenis Vlasenko2006-10-231-22/+22
| | | | getty: fix breakage; fix excessive stack usage
* getty: conditionally disable handling of all-caps terminals.Denis Vlasenko2006-10-231-57/+25
|
* getty: cleanup part 2Denis Vlasenko2006-10-231-31/+28
|
* getty: cleanup part 1Denis Vlasenko2006-10-231-44/+47
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-8/+9
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | 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.
* getty: oops... removing duplicate #include <syslog.h>Denis Vlasenko2006-09-191-2/+0
|
* getty: #include <syslog.h>Denis Vlasenko2006-09-191-0/+1
|
* whitespace cleanupDenis Vlasenko2006-09-171-3/+3
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-071-85/+59
|
* Antti Seppala (with dots over the last two a's) wants our getty to initializeRob Landley2006-08-241-1/+2
| | | | | | | 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.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-15/+2
| | | | | | | | | | 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.)
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-13/+15
|
* Missed one. Based on suggestions from Erik Hovland.Rob Landley2006-06-251-4/+4
|
* Undo all of the ugliness and some of the bloat from 15412.Rob Landley2006-06-181-1/+1
|
* - do away with the fwd-decls of functions. Should not contain any code changesBernhard Reutner-Fischer2006-06-161-267/+260
| | | | AFAICT.
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer2006-05-261-3/+3
| | | | - fix last.c to also look at the double-underscore UT_ defines.
* 2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger2006-03-221-1/+1
| | | | sys/signal.h.
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-1/+1
| | | | - use shorter boilerplate while at it.
* remove strange bloat dup2() usage, sync this code with mainstream ↵"Vladimir N. Oleynik"2005-12-131-3/+2
| | | | login-utils, size reduce
* common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"2005-10-151-14/+5
|
* getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect"Vladimir N. Oleynik"2005-09-291-221/+180
|
* The change in getty.c in Busybox 1.01 caused the /etc/issue file to notEric Andersen2005-07-271-5/+6
| | | | | be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
* 2005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-011-16/+14
| | | | | * loginutils/getty.c: (open_tty): Use dup2 instead of close/dup.
* 2005-06-30 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-011-0/+6
| | | | | | * loginutils/getty.c: Include utmp.h only if CONFIG_FEATURE_U_W_TMP is defined. (getty_main): Use ISSUE only if it is defined.
* Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger2005-07-011-11/+10
| | | | WTMP options
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-2/+2
| | | | which were otherwise cluttering the global namespace.
* Use a sane VEOL settingEric Andersen2005-04-141-1/+1
|
* Save a line or twoEric Andersen2004-08-261-4/+2
|
* Patch from Manousaridis Angelos to cleanup stale file descriptors, it was ↵Glenn L McGrath2004-08-251-2/+4
| | | | preventing unmounting an initial filesystem.
* Umm. Not guilty by reason of insanity.Eric Andersen2004-07-301-2/+2
| | | | -Erik
* Fixup getty, login, etc so the utmp and wtmp are updated, allowingEric Andersen2004-07-301-2/+8
| | | | | the 'who' and 'last' applets among other things to work as expected. -Erik
* Patch from Bastian Blank:Eric Andersen2004-06-221-1/+3
| | | | | | | | | | | 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
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-7/+7
|
* Fix/eliminate use of atolEric Andersen2004-03-061-12/+5
|
* Major coreutils update.Manuel Novoa III2003-03-191-6/+17
|
* Patch from Nick Fedchik, CONFIG_SYSLOGD should determine getty'sGlenn L McGrath2003-02-081-5/+2
| | | | behaviour.
* run telnet from inetd, present login prompt if login is configured,Glenn L McGrath2003-01-211-136/+2
| | | | patch from Bastian Blank
* last_patch61 from vodz:Eric Andersen2002-10-101-19/+5
| | | | | | | | | 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.
* last_patch60 from vodz:Eric Andersen2002-10-101-4/+13
| | | | | login and getty applets writes utmp/wtmp but init do clearing not. I think, in current time deny wtmp/utmp writes as undefault features.
* Don't #ifdef __linux__. this is linux.Aaron Lehmann2002-08-231-4/+0
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-191-7/+4
| | | | | | | | | #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.