diff options
author | robert <robert@FreeBSD.org> | 2005-04-29 10:11:18 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2005-04-29 10:11:18 +0000 |
commit | a07b9094ad893a73695ba55126bfa58cfa9ac113 (patch) | |
tree | 7f43a298b6d42cf63a36eba8b8aecf7b78f97ffa /lib/libc/net/gethostbydns.c | |
parent | 1695f347828c8049132cd222fced75b38986d241 (diff) | |
download | FreeBSD-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/net/gethostbydns.c')
0 files changed, 0 insertions, 0 deletions