summaryrefslogtreecommitdiff
path: root/libc/pwd_grp
AgeCommit message (Collapse)Author
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 *'.
2002-04-03Adjust beinningEric Andersen
2002-01-17* Added /etc/shadow support (Config selectable)David McCullough
* Moved some file paths from code into <paths.h>
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-08Reworked the password stuff to be reentrant. Group stuff isEric Andersen
still needing to be reworked. -Erik
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2000-12-23Move stuff out if pwd_gep that doesn't belong there (getpass, utmp stuff)Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-20Strip all object files of all non global symbols and .note andEric Andersen
.comment, saving a lot of space in the resultant binaries... -Erik
2000-10-12Makefile updateEric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-07Formatting updateEric Andersen
2000-10-07Dependancy fixup, and remove some obcolete files.Eric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-10-04More sanity yet.Eric Andersen
2000-10-04Makefile sanity fix.Eric Andersen
-Erik
2000-07-06Lots and lots of cleanups.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-05-14Some makefile updates to make it behave a bit better/consistently.Erik Andersen
-Erik
2000-05-14Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>Erik Andersen
to allow uC-libc to compile under x86. -Erik
2000-05-14Initial revisionErik Andersen