diff options
author | marcel <marcel@FreeBSD.org> | 1999-08-25 14:11:01 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-08-25 14:11:01 +0000 |
commit | 09bd601964391c338888981d372d427b70b89fe6 (patch) | |
tree | b97c0f43b5523c7fa263455f4007adf4e903b3a8 /bin | |
parent | d7bf63683b371cadf138c48b1485b9ea74057769 (diff) | |
download | FreeBSD-src-09bd601964391c338888981d372d427b70b89fe6.zip FreeBSD-src-09bd601964391c338888981d372d427b70b89fe6.tar.gz |
Fix {g|s}etgroups semantics. We use cr_groups[0] to hold egid. This means that
egid will be twice in the set and that setting cr_groups[0] will change egid.
This is simply solved by ignoring cr_groups[0]. That is; linux_getgroups does
not return cr_groups[0] and linux_setgroups does not touch it.
Noticed by: bde
Brought to my attention by: sheldonh
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions