summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getgroups.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-2/+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: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-2/+2
| | | | | Appears to build fine (several .configs tried)
* - trim superfluous ';'. No objcode changesBernhard Reutner-Fischer2008-10-281-1/+1
|
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-221-2/+2
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-1/+1
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-2/+1
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-1/+1
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* add support for newer [sg]etgroups function and make the function a simple ↵Mike Frysinger2006-02-101-1/+12
| | | | passthrough on 64bit arches (should fix the getgroup crashes in ltp)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-3/+4
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-4/+5
| | | | missing headers, other jump relocs removed
* make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger2005-12-281-2/+4
| | | | e-mail list
* include grp.h just for funMike Frysinger2005-12-281-0/+1
|
* tweak prototypes to match the exported versionsMike Frysinger2005-12-271-6/+6
|
* Aubrey writes:Mike Frysinger2005-12-271-1/+9
| | | | | | | | | | | | | | When I mounted nfs on my target, the kernel crashed. And I found it was caused by stack overflow. When I digged into it. And I found not only "setgroups.c" but "getgroups.c" have the matrix (__kernel_gid_t kernel_groups[n]) on the stack which can be very large because "n" can be assigned to NGROUPS_MAX. And, NGROUPS_MAX is defined in the file "./linux-2.6.x/include/linux/limits.h" #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ I also changed it to do malloc.
* Hide morePeter S. Mazinger2005-12-071-1/+2
|
* Hiding againPeter S. Mazinger2005-11-291-0/+2
|
* fix eriks e-mail addressMike Frysinger2005-01-051-1/+1
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-211-0/+36
-Erik