summaryrefslogtreecommitdiff
path: root/libc/pwd_grp
AgeCommit message (Collapse)Author
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-03More hiding, including __mempcpyPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-26100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger
2005-11-21Remove TOPDIRPeter S. Mazinger
2005-11-01Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger
2005-11-01Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-25All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
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-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
2005-09-21include headers only if the related option is enabledPeter S. Mazinger
2005-01-25merge parallel build supportMike Frysinger
2004-07-15Cleanup some cruftEric Andersen
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
2003-11-02Implement getgrent_r. Rework getpwent and getgrent a bit furtherEric Andersen
2003-11-01Fix things (properly) to open /etc/passd and /etc/group ifEric Andersen
they have not yet been opened. My last try was completely and embarrasingly broken. -Erik
2003-10-31Fix Erik's typo.Manuel Novoa III
2003-10-31getpwent(), getpwent_r(), and getgrent(), getgrent_r() would allEric Andersen
fail if you had not previously called setpwent() or setgrent() respectively. Oops. My bad. -Erik
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-18Implement putgrent to make Peter S. Mazing happyEric Andersen
2003-10-10Implement getgrgid_r and getgrnam_r. Rework group handling code to be fullyEric Andersen
reentrant, since there was still a shared static value. indent stuff,
2003-09-06Small fix for when threading (I think) was disabled.Manuel Novoa III
2003-06-27ret could have been used uninitialized in one caseEric Andersen
2003-06-27Yet more cleanup for the reentrant pwd/grp functions so theyEric Andersen
should now actually be doing the right thing
2003-06-27Fixup errno handlingEric Andersen
-Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-09-16Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>Eric Andersen
2002-09-10Fix some locking problems noted by Manuel. __getgrent() was alwaysEric Andersen
called under lock, but the callers did not share the same locks... -Erik
2002-09-10As noted by Bill Huang <billhuang@redsonic.com>, the gid and uidEric Andersen
were reversed in putpwent(). Oops. -Erik
2002-08-18Yet more rework to make __getgrent and the functions that use itEric Andersen
reentrant... -Erik
2002-08-18Fix broken locking so that at least the Python 2.2.1 grp test doesn'tManuel Novoa III
lock up. This really needs to be looked at, as I don't think this needs to be reentrant. In any case, several routines call the __getgrent internal routine and it uses static vars for data. If this stuff is really supposed to be threadsafe, then __getgrent probably needs fixing.
2002-08-18Remove recursive lock/unlock for a non-recursive mutex.Manuel Novoa III
2002-08-08Fix lockingEric Andersen
-Erik
2002-08-08Add missing include fileEric Andersen
2002-08-01Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen
2002-06-17Shuffle the logic around a bitEric Andersen
2002-06-12Don't use fixed buffers if we have an mmu such that mallocEric Andersen
and realloc are cheap. -Erik
2002-06-12Silence warnings, clean things up.Eric Andersen
-Erik
2002-04-13Patch from Jim Treadway <jim@stardot-tech.com>:Eric Andersen
The internal __getgrent function doesn't allocate enough memory to hold the trailing NULL pointer in the gr_mem member of the returned 'struct group *'.