summary refs log tree commit diff
path: root/grp/compat-initgroups.c
Commit message (Collapse)AuthorAgeFilesLines
* grp: Rewrite to use struct scratch_buffer instead of extend_allocaFlorian Weimer2015-04-081-18/+8
| | | | | grp/compat-initgroups.c is included from nscd/initgrcache.c, which is why the #include directive has to be added there as well.
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-101-1/+1
|
* Remove __libc_alloca_cutoff workaroundAndreas Schwab2011-05-191-6/+0
|
* * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.Ulrich Drepper2009-02-071-0/+7
|
* [BZ #9781]Ulrich Drepper2009-02-071-5/+21
| | | | | * grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
* Update.Ulrich Drepper2004-10-051-25/+36
| | | | | | | | 2004-10-05 Ulrich Drepper <drepper@redhat.com> * grp/initgroups.c: Remove duplicate group IDs. * grp/compat-initgroups.c: Likewise. * nscd/initgrcache.c: Likewise.
* Update.Ulrich Drepper2004-09-301-0/+98
* grp/initgroups.c: Move compat_call implementation... * grp/compat-initgroups.c: ...to here. New file. * grp/Makefile (distribute): Add compat-initgroups.c. (CFLAGS-initgroups.c): Add -DUSE_NSCD=1. * mscd/initgrcache.c: New file. * nscd/nscd_initgroups.c: New file. * nscd/Makefile (routines): Add nscd_initgroups. (nscd-modules): Add initgrcache. * nscd/cache.c (prune_cache): Add support for INITGROUPS entries. * nscd/connections.c: Handle INITGROUPS requests. * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header. Add initgrdata element to struct datahead. Fix typo in comment. * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter type in __nscd_getgrgrid_r. * nscd/selinux.c (perms): Add INITGROUPS entry. * nscd/nscd_getai.c: No need to include <sys/mman.h>. * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without assigned addresses. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. * sunrpc/clnt_udp.c (is_network_up): Likewise.