Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   lukem
Date:           Thu Jan  6 15:10:45 UTC 2005

Modified Files:
        src/distrib/utils/libhack: getgrent.c
        src/include: unistd.h
        src/lib/libc/gen: Makefile.inc getgrouplist.c
        src/lib/libc/include: namespace.h
Added Files:
        src/lib/libc/gen: getgroupmembership.c

Log Message:
Implement getgroupmembership(3).  This is similar to getgrouplist(3), except
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).

Proposed on tech-userlevel on December 1, 2004.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/distrib/utils/libhack/getgrent.c
cvs rdiff -r1.99 -r1.100 src/include/unistd.h
cvs rdiff -r1.138 -r1.139 src/lib/libc/gen/Makefile.inc
cvs rdiff -r1.20 -r1.21 src/lib/libc/gen/getgrouplist.c
cvs rdiff -r0 -r1.1 src/lib/libc/gen/getgroupmembership.c
cvs rdiff -r1.96 -r1.97 src/lib/libc/include/namespace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index