aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
Commit message (Collapse)AuthorAgeFilesLines
* inetd: use change_identity().Gravatar Denis Vlasenko2008-03-201-18/+9
| | | | | | | | | | | | | libbb: shrink our internal initgroups(). httpd: remove stray 'else' and 'index_page = "index.html"' function old new delta httpd_main 750 743 -7 inetd_main 2033 2011 -22 bb_internal_initgroups 251 228 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-52) Total: -52 bytes
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-121-31/+33
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* style fix (stray space before ';')Gravatar Denis Vlasenko2007-07-211-2/+2
|
* libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bssGravatar Denis Vlasenko2007-06-181-27/+96
| | | | | | | | | | | | | | function old new delta get_S - 31 +31 bb_internal_getpwnam 38 44 +6 bb_internal_getgrnam 38 44 +6 bb_internal_getgrgid 38 44 +6 ptr_to_statics - 4 +4 static.resultbuf 88 - -88 static.buffer 1024 - -1024 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 3/0 up/down: 53/-1112) Total: -1059 bytes
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* we were basically ignoring CONFIG_USE_BB_PWD_GRP (assuming =y),Gravatar Denis Vlasenko2007-05-181-1/+3
| | | | fix this
* style fixesGravatar Denis Vlasenko2007-04-131-2/+2
|
* Do not fail password check if shadow password does not exist -Gravatar Denis Vlasenko2007-03-131-4/+16
| | | | | | | | | | | | | | | | | | | | | | 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
* start_stop_daemon: add -chuid supportGravatar Denis Vlasenko2007-02-261-0/+36
|
* fixdep.c: avoit doing memcmp in most casesGravatar Denis Vlasenko2006-12-303-48/+74
| | | | | uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names
* fix build without shadow supportGravatar Denis Vlasenko2006-12-281-75/+92
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Gravatar Denis Vlasenko2006-12-281-17/+38
| | | | | | | 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
* httpd: add -u user[:grp] supportGravatar Denis Vlasenko2006-10-052-1/+50
|
* build system overhaulGravatar Denis Vlasenko2006-10-055-268/+31
|
* Standardize on the vi editing directives being on the first line.Gravatar "Robert P. J. Day"2006-07-022-0/+2
|
* More removal of "#if 0" content.Gravatar "Robert P. J. Day"2006-07-011-13/+0
|
* I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.Gravatar Rob Landley2006-06-201-3/+1
| | | | | Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c but now is not the time...)
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowGravatar Rob Landley2006-06-181-4/+4
| | | | that and callers wind up typecasting it back.
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Gravatar Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* - include proper headers.Gravatar Bernhard Reutner-Fischer2006-04-052-2/+4
|
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-26/+28
|
* - backout using features which are not available with the previous stableGravatar Bernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Typo fixes brought to you by the letters a, l, and Robert P. Day.Gravatar Rob Landley2006-03-032-5/+5
|
* - use absolute path for top_builddir and top_srcdir.Gravatar Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-31/+23
| | | | - use less resources for the buildsystem itself
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-021-5/+3
|
* just whitespaceGravatar Tim Riker2006-01-251-24/+24
|
* - shared libbusybox.Gravatar Bernhard Reutner-Fischer2006-01-151-6/+21
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* - move GETXXKEY_R_FUNC into an internal helper file to allow for compilingGravatar Bernhard Reutner-Fischer2005-10-282-46/+154
| | | | with IMA.
* Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensionsGravatar Rob Landley2005-10-081-17/+5
| | | | | not in newlib, and also that all the _unlocked variants are kind of pointless in this context.
* use the shorter license headerGravatar Mike Frysinger2005-09-241-15/+2
|
* use brief license lineGravatar Mike Frysinger2005-09-241-15/+2
|
* use toplevel ARFLAGS and update default ARFLAGS to be quietGravatar Mike Frysinger2005-07-271-1/+1
|
* egor duda writes:Gravatar Eric Andersen2004-10-082-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Replace the old and somewhat buggy pwd_grp stuff with the shinyGravatar Eric Andersen2004-07-1517-1237/+1140
| | | | new stuff mjn3 wrote for uClibc
* Larry Doolittle writes:Gravatar Eric Andersen2004-04-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-1517-31/+31
|
* rename __getgrent so that it doesn't conflict with some libc'sGravatar Russ Dill2003-12-186-7/+7
|
* Patch from Nick Fedchik to fixup paths in busybox/libpwdgrpGravatar Eric Andersen2003-07-267-7/+7
| | | | which were not properly using the bb_path_*_file strings.
* Remove remaining libc5 support codeGravatar Eric Andersen2003-07-221-6/+5
|
* Update a bunch of docs. Run a script to update my email addr.Gravatar Eric Andersen2003-07-143-4/+3
|
* oops. make this actually work as intended....Gravatar Eric Andersen2003-06-261-1/+1
|
* Oops.Gravatar Eric Andersen2003-06-261-1/+1
|
* Per patch from Nick Fedchik, use SHADOW_FILE, not "/etc/shadow".Gravatar Eric Andersen2003-06-261-2/+1
| | | | Change fopen to bb_xfopen
* Major coreutils update.Gravatar Manuel Novoa III2003-03-191-1/+1
|
* Fixup header file orderingGravatar Eric Andersen2002-12-111-1/+1
|
* Change #include order to fix warningGravatar Glenn L McGrath2002-12-081-1/+2
|
* include "busybox" after the libc includes tofix compile errorsGravatar Glenn L McGrath2002-12-075-10/+9
|
* Change if(x)free(x); to free(x);Gravatar Aaron Lehmann2002-11-281-2/+1
|
* Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>Gravatar Eric Andersen2002-09-161-1/+1
|