summaryrefslogtreecommitdiffstats
path: root/libc/pwd_grp
Commit message (Collapse)AuthorAgeFilesLines
...
* Use internal versionsPeter S. Mazinger2005-12-081-0/+1
|
* Hide morePeter S. Mazinger2005-12-072-33/+101
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-062-13/+7
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-0/+3
|
* Hide mostly used functionsPeter S. Mazinger2005-12-012-21/+21
|
* 100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger2005-11-262-15/+8
|
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger2005-11-011-1/+4
|
* Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger2005-11-011-2/+0
| | | | libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-57/+8
|
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-251-0/+48
| | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
* 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-212-58/+120
|
* Remove duplicate locking defines for IMA compiling.Peter S. Mazinger2005-10-201-21/+6
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-14/+11
| | | | 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.
* include headers only if the related option is enabledPeter S. Mazinger2005-09-211-0/+3
|
* merge parallel build supportMike Frysinger2005-01-251-4/+4
|
* Cleanup some cruftEric Andersen2004-07-151-3/+0
|
* 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-272-8/+8
| | | | | | | | | | | | | | | | 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-0625-1865/+1194
|
* Implement getgrent_r. Rework getpwent and getgrent a bit furtherEric Andersen2003-11-022-24/+38
|
* Fix things (properly) to open /etc/passd and /etc/group ifEric Andersen2003-11-014-24/+36
| | | | | | | they have not yet been opened. My last try was completely and embarrasingly broken. -Erik
* Fix Erik's typo.Manuel Novoa III2003-10-311-1/+1
|
* getpwent(), getpwent_r(), and getgrent(), getgrent_r() would allEric Andersen2003-10-313-1/+8
| | | | | | fail if you had not previously called setpwent() or setgrent() respectively. Oops. My bad. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | 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).
* Implement putgrent to make Peter S. Mazing happyEric Andersen2003-10-182-1/+57
|
* Implement getgrgid_r and getgrnam_r. Rework group handling code to be fullyEric Andersen2003-10-1025-671/+738
| | | | reentrant, since there was still a shared static value. indent stuff,
* Small fix for when threading (I think) was disabled.Manuel Novoa III2003-09-061-1/+1
|
* ret could have been used uninitialized in one caseEric Andersen2003-06-272-2/+2
|
* Yet more cleanup for the reentrant pwd/grp functions so theyEric Andersen2003-06-279-20/+55
| | | | should now actually be doing the right thing
* Fixup errno handlingEric Andersen2003-06-2713-55/+93
| | | | -Erik
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | 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
* Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>Eric Andersen2002-09-161-1/+1
|
* Fix some locking problems noted by Manuel. __getgrent() was alwaysEric Andersen2002-09-106-21/+32
| | | | | called under lock, but the callers did not share the same locks... -Erik
* As noted by Bill Huang <billhuang@redsonic.com>, the gid and uidEric Andersen2002-09-101-1/+2
| | | | | were reversed in putpwent(). Oops. -Erik
* Yet more rework to make __getgrent and the functions that use itEric Andersen2002-08-187-142/+92
| | | | | reentrant... -Erik
* Fix broken locking so that at least the Python 2.2.1 grp test doesn'tManuel Novoa III2002-08-181-2/+7
| | | | | | | | 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.
* Remove recursive lock/unlock for a non-recursive mutex.Manuel Novoa III2002-08-181-3/+1
|
* Fix lockingEric Andersen2002-08-0814-177/+372
| | | | -Erik
* Add missing include fileEric Andersen2002-08-081-0/+1
|
* Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen2002-08-011-1/+1
|
* Shuffle the logic around a bitEric Andersen2002-06-172-54/+62
|
* Don't use fixed buffers if we have an mmu such that mallocEric Andersen2002-06-121-8/+15
| | | | | and realloc are cheap. -Erik
* Silence warnings, clean things up.Eric Andersen2002-06-1223-314/+285
| | | | -Erik
* Patch from Jim Treadway <jim@stardot-tech.com>:Eric Andersen2002-04-131-19/+9
| | | | | | 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 *'.