summaryrefslogtreecommitdiff
path: root/loginutils/login.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* login: use %s - we know that string is not too long thereDenis Vlasenko2006-11-201-3/+3
| | | | | ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space)
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-5/+5
|
* login: add big fat comment about SIGINT - preventDenis Vlasenko2006-10-311-1/+8
| | | | adding/deleting that code again and again
* login: re-enable Ctrl-^C before execing shell.Denis Vlasenko2006-10-311-2/+12
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-2/+2
| | | | | | | | 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.
* login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)Denis Vlasenko2006-09-261-3/+3
|
* login: apply fixes + getopt_ulflag'ification by BernhardDenis Vlasenko2006-09-171-44/+29
|
* login: eliminate forward decls and #ifdefsDenis Vlasenko2006-09-141-191/+166
|
* - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵Bernhard Reutner-Fischer2006-09-131-28/+11
| | | | more cleanup (see FIXME in the patch).
* login: use some ideas from util-linux's login.Denis Vlasenko2006-09-081-25/+15
| | | | | | | | 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...).
* login: make it saner and smaller by ~0.5k.Denis Vlasenko2006-09-081-185/+131
|
* login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko2006-09-081-19/+17
|
* login: previous commit comment was wrong :)Denis Vlasenko2006-09-081-131/+133
| | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry....
* login: style fixesDenis Vlasenko2006-09-081-0/+22
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-071-1/+1
|
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-0/+4
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer2006-05-261-4/+4
| | | | - fix last.c to also look at the double-underscore UT_ defines.
* - use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer2006-05-261-1/+1
|
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-1/+1
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* From Jan Kiszka: This patch fixes the security labelling of the login terminalRob Landley2006-03-271-13/+9
| | | | | | 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.
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* more destroy potential overflow for x86_64."Vladimir N. Oleynik"2006-01-311-1/+3
|
* destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"2006-01-311-3/+6
|
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-2/+2
|
* just whitespaceTim Riker2006-01-251-1/+1
|
* patch from tito: consolidate delay functions as bb_do_delay()Rob Landley2006-01-061-11/+1
|
* Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger2005-07-011-7/+9
| | | | WTMP options
* A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley2005-05-031-25/+27
|
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-1/+1
| | | | which were otherwise cluttering the global namespace.
* In Bug 208, bernhardf writes:Mike Frysinger2005-04-161-1/+1
| | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
* Save a line or twoEric Andersen2004-08-261-2/+1
|
* Patch from Manousaridis Angelos to cleanup stale file descriptors, it was ↵Glenn L McGrath2004-08-251-1/+2
| | | | preventing unmounting an initial filesystem.
* Umm. Not guilty by reason of insanity.Eric Andersen2004-07-301-1/+1
| | | | -Erik
* Fixup getty, login, etc so the utmp and wtmp are updated, allowingEric Andersen2004-07-301-3/+4
| | | | | the 'who' and 'last' applets among other things to work as expected. -Erik
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Sigh. The patch from David Anders (prpplague) broke standardEric Andersen2004-04-121-1/+3
| | | | securetty files since the /dev was not stripped.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-24/+24
|
* David Anders (prpplague) submitted this patch to allow login to workEric Andersen2004-03-091-2/+2
| | | | when the device nodes are symlinks on a read only file system.
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-021-4/+6
| | | | | constant. Vodz last_patch_107
* Ronny L Nilsson writes:Eric Andersen2003-07-301-5/+2
| | | | | | | | The login process should always timeout if user don't login sucessfully within reasonable time. Otherwise we're sensetive to a DOS attack by simply doing a bunch of simultaneous telnet connections (deploys all availible TTY's). This patch make login.c terminate the connection after "TIMEOUT" seconds.
* Patch from Russell Coker:Eric Andersen2003-07-031-2/+45
| | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
* Major coreutils update.Manuel Novoa III2003-03-191-8/+8
|
* run telnet from inetd, present login prompt if login is configured,Glenn L McGrath2003-01-211-11/+9
| | | | patch from Bastian Blank
* A missing /etc/securetty is not an error when checking the tty name - theRobert Griebl2002-12-031-1/+1
| | | | comment is right, but the code was wrong ..
* A missing securetty file is not an error.Eric Andersen2002-11-141-4/+2
| | | | -Erik
* Remove gratuitous and unnecessary "BusyBox" refernece in login promptEric Andersen2002-11-071-1/+1
| | | | -Erik