diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-06-05 04:35:42 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-06-05 04:35:42 +0000 |
| commit | 485839b9ee854decc216d1f32c5614ae303ae6cb (patch) | |
| tree | a79baa8710d33ab35e0b1ac1ff70bfc34f7c3b80 /lib | |
| parent | 5d9d8ee4b2ee5dfcd80595f3bbc2d46937b1dec2 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/sys/setregid.2 | 3 | ||||
| -rw-r--r-- | lib/libc/sys/setreuid.2 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2 index 9fcb1d1a23369..f796856c6d3eb 100644 --- a/lib/libc/sys/setregid.2 +++ b/lib/libc/sys/setregid.2 @@ -47,6 +47,9 @@ .Sh DESCRIPTION The real and effective group ID's of the current process are set to the arguments. +If the real group ID is changed, the saved group ID is changed to the +new value of the effective group ID. +.Pp Unprivileged users may change the real group ID to the effective group ID and vice-versa; only the super-user may make other changes. diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2 index af8965fe17bbc..b1e9c352f67bd 100644 --- a/lib/libc/sys/setreuid.2 +++ b/lib/libc/sys/setreuid.2 @@ -47,6 +47,9 @@ .Sh DESCRIPTION The real and effective user IDs of the current process are set according to the arguments. +If the real user ID is changed, the saved user ID is changed to the +new value of the effective user ID. +.Pp If .Fa ruid or |
