summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2005-04-29 10:11:18 +0000
committerrobert <robert@FreeBSD.org>2005-04-29 10:11:18 +0000
commita07b9094ad893a73695ba55126bfa58cfa9ac113 (patch)
tree7f43a298b6d42cf63a36eba8b8aecf7b78f97ffa /lib/libc
parent1695f347828c8049132cd222fced75b38986d241 (diff)
downloadFreeBSD-src-a07b9094ad893a73695ba55126bfa58cfa9ac113.zip
FreeBSD-src-a07b9094ad893a73695ba55126bfa58cfa9ac113.tar.gz
Add flag to choose whether to use getgrouplist(3) or getgroups(2)
to the id_print() function. Use getgrouplist(3) for the case when an user was specified, and getgroups(2) when no user was given. That reverts to the expected behaviour and makes it easy to implement an option later to force using getgrouplist(3).
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud