summaryrefslogtreecommitdiffstats
path: root/libc/pwd_grp/pwd_grp.c
Commit message (Collapse)AuthorAgeFilesLines
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-5/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-37/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-29/+27
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-2/+2
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-4/+4
|
* implement getgrouplist()Denis Vlasenko2008-09-271-42/+87
|
* Revert revision 19344 plus the libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-121-93/+39
|
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-4/+4
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* add hidden_proto's for __uc_mallocDenis Vlasenko2008-02-121-0/+1
| | | | | (patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
* sgetspent: add missing free/__uc_malloc callsDenis Vlasenko2007-08-011-0/+2
| | | | | (spotted by Peter S. Mazinger <ps.m@gmx.net>)
* make pwd_grp.c use __uc_mallocDenis Vlasenko2007-07-301-39/+90
|
* Patch by Ricard Wanderlof <ricardw at axis dot com>:Peter Kjellerstedt2007-04-131-26/+18
| | | | | | * Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-52/+45
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* fix from psm: add UCLIBC_ prefix to HAS_SHADOW optionMike Frysinger2006-08-231-1/+1
|
* s/staticly/statically/, thx Bernhard FischerPeter S. Mazinger2006-03-241-3/+3
|
* Mark some functions as BSD onlyPeter S. Mazinger2006-03-231-1/+5
|
* Mark SVID functionsPeter S. Mazinger2006-03-221-0/+10
|
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+1
|
* Update some copyrightsPeter S. Mazinger2006-02-131-2/+3
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+5
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-7/+8
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-96/+83
| | | | missing headers, other jump relocs removed
* Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add ↵Peter S. Mazinger2005-12-161-2/+5
| | | | it back
* fix some warningsMike Frysinger2005-12-101-2/+2
|
* Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger2005-12-091-1/+1
|
* mmap/mremap/socket/rewind gonePeter S. Mazinger2005-12-081-0/+1
|
* Use internal versionsPeter S. Mazinger2005-12-081-0/+1
|
* Hide morePeter S. Mazinger2005-12-071-32/+98
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-6/+3
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-10/+10
|
* 100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger2005-11-261-8/+8
|
* Workaround to allow this directory to IMA compile. Someone w/ better ↵Peter S. Mazinger2005-10-211-3/+3
| | | | understanding, please try to rework this by using only one copy of sp_off
* Move GETXXKEY_R_FUNC into a separate file to allow IMA compilingPeter S. Mazinger2005-10-211-58/+13
|
* Remove duplicate locking defines for IMA compiling.Peter S. Mazinger2005-10-201-21/+6
|
* include headers only if the related option is enabledPeter S. Mazinger2005-09-211-0/+3
|
* Cleanup a few of the more egregiously broken sysconf values toEric Andersen2004-07-151-0/+2
| | | | | | | | actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-6/+9
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-6/+6
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Fix infinite loop in putgrent (forgotten increment).Manuel Novoa III2003-12-041-0/+1
|
* Sigh... I wasn't checking if the gid field in a group line actuallyManuel Novoa III2003-11-061-3/+5
| | | | contained a digit. Also adjust a comment.
* Oops... don't need recursive mutexes.Manuel Novoa III2003-11-061-3/+3
|
* Rewrite the pwd.h, grp.h, and shadow.h functions (except lckpwdf/ulckpwdf).Manuel Novoa III2003-11-061-0/+1172