summaryrefslogtreecommitdiffstats
path: root/libc/pwd_grp
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-5/+3
| | | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* 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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-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: Austin Foxley <austinf@cetoncorp.com>
* lckpwdf: remove a wrong comment and one write-only variableDenys Vlasenko2009-09-181-5/+1
| | | | | | | no code changes (verified with objdump) Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failureDenys Vlasenko2009-09-181-22/+12
| | | | | | | | | | | | | text data bss dec hex filename - 370 0 0 370 172 libc/misc/dirent/opendir.o + 366 0 0 366 16e libc/misc/dirent/opendir.o - 375 4 0 379 17b libc/pwd_grp/lckpwdf.o + 356 4 0 360 168 libc/pwd_grp/lckpwdf.o - 248 0 0 248 f8 librt/shm.o + 209 0 0 209 d1 librt/shm.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-191-0/+2
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24242Carmelo Amoroso2008-12-031-45/+18
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-272-39/+37
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24087Carmelo Amoroso2008-11-182-5/+5
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-173-42/+103
| | | | Step 9: libc/stdio - libc/inet - libc/pwd_grp
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-171-4/+4
| | | | | Step 5 Various Makefile.in
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-092-107/+84
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-202-3/+2
| | | | <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-213-3/+3
|
* Merge from trunk."Steven J. Hill"2006-08-224-144/+171
|
* Merge from trunk."Steven J. Hill"2006-02-2537-157/+418
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-072-5/+8
|
* Finish merge from trunk, again, no really."Steven J. Hill"2005-12-101-1/+3
|
* Merge from trunk."Steven J. Hill"2005-12-101-3/+5
|
* Fix 'sigaction' for NPTL and other thread models."Steven J. Hill"2005-12-081-1/+0
|
* Merge from trunk."Steven J. Hill"2005-12-082-33/+101
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-062-13/+10
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-024-98/+37
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-3/+4
|
* Merge from trunk."Steven J. Hill"2005-10-301-82/+22
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+48
|
* Add from trunk."Steven J. Hill"2005-10-291-0/+107
|
* Big sync with trunk."Steven J. Hill"2005-09-241-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
|