From fca321513e83a008b2de1e81db69ad41981f511b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 6 Dec 1996 22:53:52 +0000 Subject: [PATCH] Turn POSIX_SAVED_IDS off --- lib/libc/sys/setuid.2 | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2 index 959e37ee0f7..1eb25c50919 100644 --- a/lib/libc/sys/setuid.2 +++ b/lib/libc/sys/setuid.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)setuid.2 8.1 (Berkeley) 6/4/93 -.\" $Id: setuid.2,v 1.4 1996/09/03 11:32:01 ache Exp $ +.\" $Id: setuid.2,v 1.5 1996/12/02 20:03:49 wosch Exp $ .\" .Dd June 4, 1993 .Dt SETUID 2 @@ -60,19 +60,19 @@ sets the real and effective user IDs and the saved set-user-ID of the current process to the specified value. .\" Comment out next block for !_POSIX_SAVED_IDS -The real user ID and the saved set-user-ID are changed only if the -effective user ID is that of the super user. -I.e. -.Fn setuid -function is equal to -.Fn seteuid -function if the effective user ID is not that of the super user. +.\" The real user ID and the saved set-user-ID are changed only if the +.\" effective user ID is that of the super user. +.\" I.e. +.\" .Fn setuid +.\" function is equal to +.\" .Fn seteuid +.\" function if the effective user ID is not that of the super user. .\" End of block The .Fn setuid function is permitted if the specified ID is equal to the real user ID .\" Comment out next line for !_POSIX_SAVED_IDS -or the saved set-user-ID +.\" or the saved set-user-ID of the process, or if the effective user ID is that of the super user. .Pp The @@ -82,19 +82,19 @@ sets the real and effective group IDs and the saved set-group-ID of the current process to the specified value. .\" Comment out next block for !_POSIX_SAVED_IDS -The real group ID and the saved set-group-ID are changed only if the -effective user ID is that of the super user. -I.e. -.Fn setgid -function is equal to -.Fn setegid -function if the effective user ID is not that of the super user. +.\" The real group ID and the saved set-group-ID are changed only if the +.\" effective user ID is that of the super user. +.\" I.e. +.\" .Fn setgid +.\" function is equal to +.\" .Fn setegid +.\" function if the effective user ID is not that of the super user. .\" End of block The .Fn setgid function is permitted if the specified ID is equal to the real group ID .\" Comment out next line for !_POSIX_SAVED_IDS -or the saved set-groupd-ID +.\" or the saved set-groupd-ID of the process, or if the effective user ID is that of the super user. .Pp The @@ -134,7 +134,7 @@ functions are compliant with the specification with .Li _POSIX_SAVED_IDS .\" Uncomment next line for !_POSIX_SAVED_IDS -.\" not +not defined. The .Fn seteuid @@ -149,6 +149,6 @@ and have been proposed for a future revision of the standard. A .Fn setuid and a -setgid -function call appeared in +.Fn setgid +function calls appeared in .At v7 .