aboutsummaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-22/+28
| | | | (really generated different salts even if called back-to-back).
* passwd: rework:Denis Vlasenko2006-11-301-283/+249
| | | | | | | | | * do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
* - save 4 bytesBernhard Reutner-Fischer2006-11-301-1/+1
| | | | | | text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-3/+3
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-271-2/+2
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* - minor shrinkageBernhard Reutner-Fischer2006-11-271-8/+6
| | | | | | text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o
* deluser: the same code, but a bit less obfuscated.Denis Vlasenko2006-11-271-15/+16
|
* deluser: size reduction by 60 bytes.Denis Vlasenko2006-11-271-62/+48
| | | | patch from Tito <farmatito@tiscali.it>
* - fix typoBernhard Reutner-Fischer2006-11-221-1/+1
|
* 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
|
* getty: remove ancient termio support (was using termois anyway)Denis Vlasenko2006-11-071-101/+65
|
* mostly style fixesDenis Vlasenko2006-11-011-1/+1
|
* 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
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-2/+2
|
* 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
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-202-2/+2
|
* sulogin: add support for $SUSHELL & $sushellDenis Vlasenko2006-10-142-9/+19
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-084-16/+14
|
* build system overhaulDenis Vlasenko2006-10-054-109/+51
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-035-5/+5
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-038-12/+12
| | | | | | | | 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.
* several fixes from openWRT projectDenis Vlasenko2006-09-261-1/+1
|
* login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)Denis Vlasenko2006-09-261-3/+3
|
* vlock: make message shorterDenis Vlasenko2006-09-241-1/+1
|
* correct_password: undo whitespace damage.Denis Vlasenko2006-09-232-5/+4
| | | | vlock + correct_password: fix incorrect line breaks in messages.
* passwd: getopt_ulflags'isationDenis Vlasenko2006-09-231-61/+52
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-6/+1
| | | | Erik or I are primary copyright holders on.
* 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-174-9/+9
|
* login: apply fixes + getopt_ulflag'ification by BernhardDenis Vlasenko2006-09-171-44/+29
|
* login: eliminate forward decls and #ifdefsDenis Vlasenko2006-09-141-191/+166
|
* - fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer2006-09-131-1/+1
| | | | | | boilerplate. No object code changes.
* - 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).
* Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley2006-09-121-1/+2
|
* Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley2006-09-111-1/+1
| | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
* sulogin: minor cleanup.Denis Vlasenko2006-09-091-17/+15
|
* 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-082-0/+30
|
* Shrinkage/cleanup from Tito.Rob Landley2006-09-081-87/+45
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-074-108/+76
|