summaryrefslogtreecommitdiff
path: root/libbb/bb_pwd.c
Commit message (Collapse)AuthorAgeFilesLines
* libbb: make user/group name cache strings longer (~27 chars)Denys Vlasenko2011-03-011-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: add xgetgrnam too. ~0 code size changeDenis Vlasenko2008-12-051-5/+9
|
* libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko2008-12-031-5/+10
|
* libbb: password/group function helpers rewritten by Tito:Denis Vlasenko2008-12-021-51/+55
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta xgetpwuid - 27 +27 uid2uname_utoa - 22 +22 gid2group_utoa - 22 +22 uid2uname - 18 +18 gid2group - 18 +18 buffer_fill_and_print 179 196 +17 print_user 12 24 +12 print_group 12 24 +12 get_cached 89 99 +10 ... print_common 134 120 -14 vlock_main 415 396 -19 logger_main 410 387 -23 crontab_main 642 609 -33 bb_getpwuid 42 - -42 bb_getgrgid 42 - -42 bb_getug 80 - -80 ------------------------------------------------------------------------------ (add/remove: 6/3 grow/shrink: 9/11 up/down: 187/-296) Total: -109 bytes
* - first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer2008-07-211-1/+1
| | | | This needs further love, alot of love.. Tito?
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-6/+6
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one;Denis Vlasenko2007-07-271-60/+30
| | | | | comment thoroughly when they die and when they dont.
* random style fixes (extra spaces deleted)Denis Vlasenko2007-03-241-1/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-64/+63
| | | | | | | 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
* passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko2006-12-011-35/+33
| | | | if current trend will continue ;)
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-1/+1
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-2/+2
|
* build system overhaulDenis Vlasenko2006-10-051-42/+4
|
* random style fixesDenis Vlasenko2006-10-031-1/+1
|
* - 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.
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-10/+0
| | | | - use shorter boilerplate while at it
* More extern removal from Robert P. Day.Rob Landley2006-03-291-1/+1
|
* - fix order of includes.Bernhard Reutner-Fischer2006-03-181-1/+6
|
* bb_dev_null"Vladimir N. Oleynik"2005-10-121-5/+1
|
* - consolidated password helpersBernhard Reutner-Fischer2005-09-201-0/+179