summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/setreuid.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/setreuid.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-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/setreuid.2')
-rw-r--r--lib/libc/sys/setreuid.29
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2
index fd5d636..cd8b718 100644
--- a/lib/libc/sys/setreuid.2
+++ b/lib/libc/sys/setreuid.2
@@ -63,17 +63,16 @@ the real user ID, then the saved user ID will be set to the effective user ID.
.Pp
The
.Fn setreuid
-function has been used to swap the real and effective user IDs
+system call has been used to swap the real and effective user IDs
in set-user-ID programs to temporarily relinquish the set-user-ID value.
This purpose is now better served by the use of the
-.Fn seteuid
-function (see
-.Xr setuid 2 ) .
+.Xr seteuid 2
+system call.
.Pp
When setting the real and effective user IDs to the same value,
the standard
.Fn setuid
-function is preferred.
+system call is preferred.
.Sh RETURN VALUES
.Rv -std setreuid
.Sh ERRORS
OpenPOWER on IntegriCloud