Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not fail password check if shadow password does not exist - | Denis Vlasenko | 2007-03-13 | 4 | -55/+66 |
| | | | | | | | | | | | | | | | | | | | | | | fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes | ||||
* | clean up accumulated whitespace damage | Denis Vlasenko | 2007-03-07 | 1 | -1/+1 |
| | |||||
* | EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu> | Denis Vlasenko | 2007-02-06 | 2 | -2/+2 |
| | |||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 9 | -0/+9 |
| | | | | no preceding prototype | ||||
* | preparatory patch for -Wwrite-strings #3 | Denis Vlasenko | 2007-01-29 | 4 | -15/+15 |
| | |||||
* | use bb_sanitize_stdio() where appropriate | Denis Vlasenko | 2007-01-27 | 1 | -3/+4 |
| | |||||
* | - sed -i -e "/\$Id:/d;" | Bernhard Reutner-Fischer | 2007-01-22 | 1 | -1/+0 |
| | |||||
* | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | 2007-01-19 | 1 | -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(); | ||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 2 | -2/+2 |
| | |||||
* | fix for uclibc-without-shadow.h compilation | Denis Vlasenko | 2006-12-30 | 2 | -2/+6 |
| | |||||
* | fix build without shadow support | Denis Vlasenko | 2006-12-28 | 1 | -2/+1 |
| | |||||
* | bb_xget[pw/gr]nam were horribly misnamed - fixed. | Denis Vlasenko | 2006-12-28 | 1 | -2/+2 |
| | | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam | ||||
* | adduser: trivial code movement | Denis Vlasenko | 2006-12-26 | 1 | -6/+6 |
| | |||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 1 | -1/+1 |
| | | | | last xcalloc replaced by xzalloc | ||||
* | su: fix typo: "argv -= optind" should be += | Denis Vlasenko | 2006-12-23 | 1 | -1/+1 |
| | |||||
* | - rename SU_SYSLOG to FEATURE_SU_SYSLOG | Bernhard Reutner-Fischer | 2006-12-19 | 2 | -8/+9 |
| | |||||
* | passwd: add option to check passwords for weakness | Denis Vlasenko | 2006-12-19 | 2 | -1/+9 |
| | |||||
* | su: make /etc/shells check configurable | Denis Vlasenko | 2006-12-19 | 2 | -11/+21 |
| | | | | ash: missing ';' | ||||
* | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | Denis Vlasenko | 2006-12-16 | 2 | -8/+12 |
| | |||||
* | passwd: fix indentation | Denis Vlasenko | 2006-12-12 | 1 | -3/+2 |
| | |||||
* | passwd: added comment | Denis Vlasenko | 2006-12-12 | 1 | -1/+6 |
| | |||||
* | passwd: shrink by ~10 bytes, use PRNG instead of usleep. | Denis Vlasenko | 2006-12-12 | 1 | -17/+10 |
| | |||||
* | passwd: made smaller by ~130 bytes. size can go negative | Denis Vlasenko | 2006-12-01 | 1 | -56/+50 |
| | | | | if current trend will continue ;) | ||||
* | passwd: micro-optimization | Denis Vlasenko | 2006-11-30 | 1 | -4/+4 |
| | |||||
* | passwd: small size optimization. salt generation improved | Denis Vlasenko | 2006-11-30 | 1 | -22/+28 |
| | | | | (really generated different salts even if called back-to-back). | ||||
* | passwd: rework: | Denis Vlasenko | 2006-11-30 | 1 | -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 bytes | Bernhard Reutner-Fischer | 2006-11-30 | 1 | -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 2 | Denis Vlasenko | 2006-11-27 | 1 | -3/+3 |
| | |||||
* | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | 2006-11-27 | 1 | -2/+2 |
| | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | ||||
* | - minor shrinkage | Bernhard Reutner-Fischer | 2006-11-27 | 1 | -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 Vlasenko | 2006-11-27 | 1 | -15/+16 |
| | |||||
* | deluser: size reduction by 60 bytes. | Denis Vlasenko | 2006-11-27 | 1 | -62/+48 |
| | | | | patch from Tito <farmatito@tiscali.it> | ||||
* | - fix typo | Bernhard Reutner-Fischer | 2006-11-22 | 1 | -1/+1 |
| | |||||
* | login: use %s - we know that string is not too long there | Denis Vlasenko | 2006-11-20 | 1 | -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 bytes | Denis Vlasenko | 2006-11-18 | 1 | -5/+5 |
| | |||||
* | getty: remove ancient termio support (was using termois anyway) | Denis Vlasenko | 2006-11-07 | 1 | -101/+65 |
| | |||||
* | mostly style fixes | Denis Vlasenko | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | login: add big fat comment about SIGINT - prevent | Denis Vlasenko | 2006-10-31 | 1 | -1/+8 |
| | | | | adding/deleting that code again and again | ||||
* | login: re-enable Ctrl-^C before execing shell. | Denis Vlasenko | 2006-10-31 | 1 | -2/+12 |
| | |||||
* | rename functions to more understandable names | Denis Vlasenko | 2006-10-26 | 1 | -2/+2 |
| | |||||
* | watch: fix warning | Denis Vlasenko | 2006-10-23 | 1 | -22/+22 |
| | | | | getty: fix breakage; fix excessive stack usage | ||||
* | getty: conditionally disable handling of all-caps terminals. | Denis Vlasenko | 2006-10-23 | 1 | -57/+25 |
| | |||||
* | getty: cleanup part 2 | Denis Vlasenko | 2006-10-23 | 1 | -31/+28 |
| | |||||
* | getty: cleanup part 1 | Denis Vlasenko | 2006-10-23 | 1 | -44/+47 |
| | |||||
* | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | 2006-10-20 | 2 | -2/+2 |
| | |||||
* | sulogin: add support for $SUSHELL & $sushell | Denis Vlasenko | 2006-10-14 | 2 | -9/+19 |
| | |||||
* | add open_read_close() and similar stuff | Denis Vlasenko | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 4 | -16/+14 |
| | |||||
* | build system overhaul | Denis Vlasenko | 2006-10-05 | 4 | -109/+51 |
| | |||||
* | bb_applet_name -> applet_name | Denis Vlasenko | 2006-10-03 | 5 | -5/+5 |
| |