diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | a4b155d7a2170a500eb79b46959eef4018441062 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/setregid.2 | |
parent | e7e659d1cc574138f455ed70d58a07294211ff5a (diff) | |
download | FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz |
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Diffstat (limited to 'lib/libc/sys/setregid.2')
-rw-r--r-- | lib/libc/sys/setregid.2 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2 index d23e48a..0ea6acf 100644 --- a/lib/libc/sys/setregid.2 +++ b/lib/libc/sys/setregid.2 @@ -60,19 +60,18 @@ ID in place of the -1 parameter. .Pp The .Fn setregid -function was intended to allow swapping +system call was intended to allow swapping the real and effective group IDs in set-group-ID programs to temporarily relinquish the set-group-ID value. -This function did not work correctly, +This system call did not work correctly, and its purpose is now better served by the use of the -.Fn setegid -function (see -.Xr setuid 2 ) . +.Xr setegid 2 +system call. .Pp When setting the real and effective group IDs to the same value, the standard .Fn setgid -function is preferred. +system call is preferred. .Sh RETURN VALUES .Rv -std setregid .Sh ERRORS |