]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't include group-member.h.
authorJim Meyering <jim@meyering.net>
Mon, 10 Feb 2003 09:01:48 +0000 (09:01 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 10 Feb 2003 09:01:48 +0000 (09:01 +0000)
commitc2597b6041c599109563a8d733a1aeb04f98746b
treea7eee82e0befc4824d92406edbd423d7d8f5798b
parentbf95c4519c82c78a58033e36e06072298908ef0c
Don't include group-member.h.
Include euidaccess.h.
(eaccess): Rewrite function to set the real uid and gid temporarily
to the effective uid and gid, then invoke 'access', and then set the
real uid and gid back.  On systems that lack setreuid or setregid,
fall back on the kludges in euidaccess.  Before, it would not work
for e.g., files with ACLs, files that were marked immutable,
or on file systems mounted read-only.
src/test.c