diff options
author | Olivier Certner <olce.freebsd@certner.fr> | 2023-08-17 23:54:46 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2023-09-28 15:05:46 +0000 |
commit | 5d9f38405a10fdcd9fc108c940dcf2642e9f1833 (patch) | |
tree | 21a4b75e877fc0840c02a725bb9c0615d3984237 /share/man/man9/groupmember.9 | |
parent | 91658080f1a598ddda03943a783c9a941199f7d2 (diff) | |
download | src-5d9f38405a10fdcd9fc108c940dcf2642e9f1833.tar.gz src-5d9f38405a10fdcd9fc108c940dcf2642e9f1833.zip |
realgroupmember(9): Link to groupmember(9), document the function
Reviewed by: bcr (older version), mhorne
MFC after: 2 weeks
Sponsored by: Kumacom SAS
Differential Revision: https://reviews.freebsd.org/D40643
Diffstat (limited to 'share/man/man9/groupmember.9')
-rw-r--r-- | share/man/man9/groupmember.9 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/man/man9/groupmember.9 b/share/man/man9/groupmember.9 index 3a516622efce..ae7ccd477955 100644 --- a/share/man/man9/groupmember.9 +++ b/share/man/man9/groupmember.9 @@ -36,6 +36,8 @@ .In sys/ucred.h .Ft int .Fn groupmember "gid_t gid" "struct ucred *cred" +.Ft int +.Fn realgroupmember "gid_t gid" "struct ucred *cred" .Sh DESCRIPTION The .Fn groupmember @@ -49,6 +51,11 @@ Considered groups in .Fa cred are the effective and supplementary groups. The real group is not taken into account. +.Pp +Function +.Fn realgroupmember +works the same except that it considers instead the real and supplementary +groups, and not the effective one. .Sh RETURN VALUES If the .Fa gid |