Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-15 | deluser: add optional support for removing users from groups | Denis Vlasenko | |
(by Tito <farmatito@tiscali.it>) | |||
2007-04-12 | login: fixing my brainfart: xspawn(t_argv) <- was using argv! | Denis Vlasenko | |
2007-04-12 | login: 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-04-05 | - clean up addgroup, fix adding users to existing groups and make it ↵ | Bernhard Reutner-Fischer | |
optional (Tito) | |||
2007-03-26 | Attempt 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-25 | add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy | Denis Vlasenko | |
2007-03-24 | login: nuke nonblock() - we have it in libbb; -400 bytes bss. | Denis Vlasenko | |
2007-03-24 | adduser: don't bomb out if shadow password file doesn't exist | Denis Vlasenko | |
(from Tito <farmatito@tiscali.it>) | |||
2007-03-13 | Do not fail password check if shadow password does not exist - | Denis Vlasenko | |
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 | |||
2007-03-07 | clean up accumulated whitespace damage | Denis Vlasenko | |
2007-02-06 | EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu> | Denis Vlasenko | |
2007-02-03 | suppress warnings about easch <applet>_main() having | Denis Vlasenko | |
no preceding prototype | |||
2007-01-29 | preparatory patch for -Wwrite-strings #3 | Denis Vlasenko | |
2007-01-27 | use bb_sanitize_stdio() where appropriate | Denis Vlasenko | |
2007-01-22 | - sed -i -e "/\$Id:/d;" | Bernhard Reutner-Fischer | |
2007-01-19 | openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code | Denis Vlasenko | |
(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(); | |||
2007-01-11 | Trailing whitespace removal over entire tree | Denis Vlasenko | |
2006-12-30 | fix for uclibc-without-shadow.h compilation | Denis Vlasenko | |
2006-12-28 | fix build without shadow support | Denis Vlasenko | |
2006-12-28 | bb_xget[pw/gr]nam were horribly misnamed - fixed. | Denis Vlasenko | |
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 | |||
2006-12-26 | adduser: trivial code movement | Denis Vlasenko | |
2006-12-26 | style fixes | Denis Vlasenko | |
last xcalloc replaced by xzalloc | |||
2006-12-23 | su: fix typo: "argv -= optind" should be += | Denis Vlasenko | |
2006-12-19 | - rename SU_SYSLOG to FEATURE_SU_SYSLOG | Bernhard Reutner-Fischer | |
2006-12-19 | passwd: add option to check passwords for weakness | Denis Vlasenko | |
2006-12-19 | su: make /etc/shells check configurable | Denis Vlasenko | |
ash: missing ';' | |||
2006-12-16 | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | Denis Vlasenko | |
2006-12-12 | passwd: fix indentation | Denis Vlasenko | |
2006-12-12 | passwd: added comment | Denis Vlasenko | |
2006-12-12 | passwd: shrink by ~10 bytes, use PRNG instead of usleep. | Denis Vlasenko | |
2006-12-01 | passwd: made smaller by ~130 bytes. size can go negative | Denis Vlasenko | |
if current trend will continue ;) | |||
2006-11-30 | passwd: micro-optimization | Denis Vlasenko | |
2006-11-30 | passwd: small size optimization. salt generation improved | Denis Vlasenko | |
(really generated different salts even if called back-to-back). | |||
2006-11-30 | passwd: rework: | Denis Vlasenko | |
* 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 | |||
2006-11-30 | - save 4 bytes | Bernhard Reutner-Fischer | |
text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o | |||
2006-11-27 | style cleanup: return(a) -> return a, part 2 | Denis Vlasenko | |
2006-11-27 | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | |
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | |||
2006-11-27 | - minor shrinkage | Bernhard Reutner-Fischer | |
text data bss dec hex filename 773 0 80 853 355 vlock.o.orig 766 0 80 846 34e vlock.o | |||
2006-11-27 | deluser: the same code, but a bit less obfuscated. | Denis Vlasenko | |
2006-11-27 | deluser: size reduction by 60 bytes. | Denis Vlasenko | |
patch from Tito <farmatito@tiscali.it> | |||
2006-11-22 | - fix typo | Bernhard Reutner-Fischer | |
2006-11-20 | login: use %s - we know that string is not too long there | Denis Vlasenko | |
ping[6]: use getopt32: smaller (-50 bytes) and handles -c6 correctly (was requiring '-c 6' with mandatory space) | |||
2006-11-18 | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | |
2006-11-07 | getty: remove ancient termio support (was using termois anyway) | Denis Vlasenko | |
2006-11-01 | mostly style fixes | Denis Vlasenko | |
2006-10-31 | login: add big fat comment about SIGINT - prevent | Denis Vlasenko | |
adding/deleting that code again and again | |||
2006-10-31 | login: re-enable Ctrl-^C before execing shell. | Denis Vlasenko | |
2006-10-26 | rename functions to more understandable names | Denis Vlasenko | |
2006-10-23 | watch: fix warning | Denis Vlasenko | |
getty: fix breakage; fix excessive stack usage | |||
2006-10-23 | getty: conditionally disable handling of all-caps terminals. | Denis Vlasenko | |