aboutsummaryrefslogtreecommitdiff
path: root/loginutils/login.c
AgeCommit message (Collapse)Author
2007-05-31use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-12login: fixing my brainfart: xspawn(t_argv) <- was using argv!Denis Vlasenko
2007-04-12login: remove setpgrp call (makes it work from shell prompt again).Denis Vlasenko
login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes.
2007-03-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
2007-03-25add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko
2007-03-24login: nuke nonblock() - we have it in libbb; -400 bytes bss.Denis Vlasenko
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-11-20login: use %s - we know that string is not too long thereDenis Vlasenko
ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space)
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-10-31login: add big fat comment about SIGINT - preventDenis Vlasenko
adding/deleting that code again and again
2006-10-31login: re-enable Ctrl-^C before execing shell.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-26login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)Denis Vlasenko
2006-09-17login: apply fixes + getopt_ulflag'ification by BernhardDenis Vlasenko
2006-09-14login: eliminate forward decls and #ifdefsDenis Vlasenko
2006-09-13- r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵Bernhard Reutner-Fischer
more cleanup (see FIXME in the patch).
2006-09-08login: use some ideas from util-linux's login.Denis Vlasenko
O_NONBLOCKing output on login timeout. fchmod instead of chmod (latter is racy). is_my_tty() is not needed anymore after race is fixed (is_my_tty() was racy too anyway...).
2006-09-08login: make it saner and smaller by ~0.5k.Denis Vlasenko
2006-09-08login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko
2006-09-08login: previous commit comment was wrong :)Denis Vlasenko
That commit added login script support. Now _this commit_ is a style fix. Sorry....
2006-09-08login: style fixesDenis Vlasenko
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
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-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-03-27From Jan Kiszka: This patch fixes the security labelling of the login terminalRob Landley
and process... There still remains some stuff to clean up (the whole set_current_security_context() appears unnecessary complex to me), but this is now at least working.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-31more destroy potential overflow for x86_64."Vladimir N. Oleynik"
2006-01-31destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-06patch from tito: consolidate delay functions as bb_do_delay()Rob Landley
2005-07-01Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger
WTMP options
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
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-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-12Sigh. The patch from David Anders (prpplague) broke standardEric Andersen
securetty files since the /dev was not stripped.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen