diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-30 20:18:42 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-10-30 20:18:42 +0000 |
commit | e991164f11b4e39e5915fe5fb83b9c8529b344d4 (patch) | |
tree | 76d327abb3f4d9e02935d5030288894bc9b74099 /lib/libc | |
parent | 860588f909a82995f45a0e6a39fb31e55410af58 (diff) |
o .Xr setres[ug]id
o Update HISTORY section
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/compat-43/setregid.3 | 19 | ||||
-rw-r--r-- | lib/libc/compat-43/setreuid.3 | 11 | ||||
-rw-r--r-- | lib/libc/compat-43/setruid.3 | 16 |
3 files changed, 35 insertions, 11 deletions
diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3 index 4a3ab592e52..f4f7e472970 100644 --- a/lib/libc/compat-43/setregid.3 +++ b/lib/libc/compat-43/setregid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setregid.3,v 1.8 2000/04/18 02:31:32 aaron Exp $ +.\" $OpenBSD: setregid.3,v 1.9 2002/10/30 20:18:41 millert Exp $ .\" .Dd March 10, 1991 .Dt SETREGID 3 @@ -83,11 +83,22 @@ was specified. .Xr getgid 2 , .Xr setegid 2 , .Xr setgid 2 , +.Xr setresgid 2 , .Xr setuid 2 +.Sh STANDARDS +The +.Fn setregid +function is not a part of the +.St -p1003.1 +specification and should not be used where portability is desired. .Sh HISTORY The .Fn setregid -function call appeared in -.Bx 4.2 -and was dropped in +function call first appeared in +.Bx 4.2 . +A semantically different version appeared in .Bx 4.4 . +The current version, with the old semantics restored, is implemented via the +.Xr setresgid 2 +function which first appeared in +.Ox 3.3 . diff --git a/lib/libc/compat-43/setreuid.3 b/lib/libc/compat-43/setreuid.3 index 2c031b31d74..5ac64445fc2 100644 --- a/lib/libc/compat-43/setreuid.3 +++ b/lib/libc/compat-43/setreuid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setreuid.3,v 1.8 2000/04/18 02:31:32 aaron Exp $ +.\" $OpenBSD: setreuid.3,v 1.9 2002/10/30 20:18:41 millert Exp $ .\" .Dd March 10, 1991 .Dt SETREUID 3 @@ -81,11 +81,16 @@ was specified. .Sh SEE ALSO .Xr getuid 2 , .Xr seteuid 2 , +.Xr setresuid 2 , .Xr setuid 2 .Sh HISTORY The .Fn setreuid function call appeared in -.Bx 4.2 -and was dropped in +.Bx 4.2 . +A semantically different version appeared in .Bx 4.4 . +The current version, with the old semantics restored, is implemented via the +.Xr setresuid 2 +function which first appeared in +.Ox 3.3 . diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3 index a2bd1913f4d..58e883f2086 100644 --- a/lib/libc/compat-43/setruid.3 +++ b/lib/libc/compat-43/setruid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setruid.3,v 1.5 1999/05/25 13:06:44 aaron Exp $ +.\" $OpenBSD: setruid.3,v 1.6 2002/10/30 20:18:41 millert Exp $ .\" .Dd April 19, 1991 .Dt SETRUID 3 @@ -64,13 +64,21 @@ these functions return \-1. .Xr setegid 2 , .Xr seteuid 2 , .Xr setgid 2 , +.Xr setresgid 2 , +.Xr setresuid 2 , .Xr setuid 2 .Sh HISTORY The .Fn setruid and .Fn setrgid -syscalls appeared in -.Bx 4.2 -and were dropped in +functions appeared in +.Bx 4.2 . +Semantically different versions appeared in .Bx 4.4 . +The current versions, with the old semantics restored, are implemented via the +.Xr setresgid 2 +and +.Xr setresuid 2 +functions, which first appeared in +.Ox 3.3 . |