summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/pwd_grp.c
AgeCommit message (Collapse)Author
2015-12-22libc/pwd_grp: Create template for non-reentrant functionsWaldemar Brodkorb
Avoid a lot of copy'n'paste code, no functionality change Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
2013-01-16getpwnam: hide relocationBernhard Reutner-Fischer
The non-reentrant version of getpwnam is used in the RPC code (for !HAS_REENTRANT_RPC) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-18convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
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>
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-11-18libc_hidden_proto removal, a few more functionsDenis Vlasenko
2008-09-27implement getgrouplist()Denis Vlasenko
2008-06-12Revert revision 19344 plus the libc_hidden_proto for __uc_malloc.Bernd Schmidt
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
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.
2008-02-12add hidden_proto's for __uc_mallocDenis Vlasenko
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
2007-08-01sgetspent: add missing free/__uc_malloc callsDenis Vlasenko
(spotted by Peter S. Mazinger <ps.m@gmx.net>)
2007-07-30make pwd_grp.c use __uc_mallocDenis Vlasenko
2007-04-13Patch by Ricard Wanderlof <ricardw at axis dot com>:Peter Kjellerstedt
* Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-08-23fix from psm: add UCLIBC_ prefix to HAS_SHADOW optionMike Frysinger
2006-03-24s/staticly/statically/, thx Bernhard FischerPeter S. Mazinger
2006-03-23Mark some functions as BSD onlyPeter S. Mazinger
2006-03-22Mark SVID functionsPeter S. Mazinger
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-02-13Update some copyrightsPeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-16Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add ↵Peter S. Mazinger
it back
2005-12-10fix some warningsMike Frysinger
2005-12-09Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger
2005-12-08mmap/mremap/socket/rewind gonePeter S. Mazinger
2005-12-08Use internal versionsPeter S. Mazinger
2005-12-07Hide morePeter S. Mazinger
2005-12-06macro out the thread funcs in libc if threading is disabledMike Frysinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-26100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger
2005-10-21Workaround to allow this directory to IMA compile. Someone w/ better ↵Peter S. Mazinger
understanding, please try to rework this by using only one copy of sp_off
2005-10-21Move GETXXKEY_R_FUNC into a separate file to allow IMA compilingPeter S. Mazinger
2005-10-20Remove duplicate locking defines for IMA compiling.Peter S. Mazinger
2005-09-21include headers only if the related option is enabledPeter S. Mazinger
2004-07-15Cleanup a few of the more egregiously broken sysconf values toEric Andersen
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
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
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.
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
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.
2003-12-04Fix infinite loop in putgrent (forgotten increment).Manuel Novoa III
2003-11-06Sigh... I wasn't checking if the gid field in a group line actuallyManuel Novoa III
contained a digit. Also adjust a comment.
2003-11-06Oops... don't need recursive mutexes.Manuel Novoa III
2003-11-06Rewrite the pwd.h, grp.h, and shadow.h functions (except lckpwdf/ulckpwdf).Manuel Novoa III