aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/setreuid.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/setreuid.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
Notes
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 fd5d636c6eed..cd8b7187a58e 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