summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-10-17 09:24:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-10-17 09:24:14 +0000
commit49a76ab05c0f52769cfe831a523b3c435808fbe7 (patch)
tree8a273979b0f490f810951f1d83b30de81d4eb8b8
parentd1a4b7746fd899ff160d64dcdcf6a64331273210 (diff)
add some Xr's from POSIX specs; started by a diff from Matthew Mondor
ok deraadt@
-rw-r--r--lib/libc/sys/getgid.27
-rw-r--r--lib/libc/sys/getgroups.24
-rw-r--r--lib/libc/sys/setgroups.24
-rw-r--r--lib/libc/sys/setuid.28
4 files changed, 17 insertions, 6 deletions
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index 01507f0810d..a9f57d9aea9 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgid.2,v 1.11 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getgid.2,v 1.12 2003/10/17 09:24:13 jmc Exp $
.\" $NetBSD: getgid.2,v 1.5 1995/02/27 12:32:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -68,9 +68,12 @@ and
functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
+.Xr getegid 2 ,
.Xr getuid 2 ,
.Xr setgid 2 ,
-.Xr setregid 2
+.Xr setgroups 2 ,
+.Xr setregid 2 ,
+.Xr setreuid 2
.Sh STANDARDS
The
.Fn getgid
diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2
index 020242b7a23..7bacf467f42 100644
--- a/lib/libc/sys/getgroups.2
+++ b/lib/libc/sys/getgroups.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgroups.2,v 1.8 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getgroups.2,v 1.9 2003/10/17 09:24:13 jmc Exp $
.\" $NetBSD: getgroups.2,v 1.8 1995/02/27 12:32:57 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -84,6 +84,8 @@ The argument
specifies an invalid address.
.El
.Sh SEE ALSO
+.Xr getegid 2 ,
+.Xr setgid 2 ,
.Xr setgroups 2 ,
.Xr initgroups 3
.Sh HISTORY
diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2
index f0156d39d30..a1b2569fec8 100644
--- a/lib/libc/sys/setgroups.2
+++ b/lib/libc/sys/setgroups.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setgroups.2,v 1.8 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: setgroups.2,v 1.9 2003/10/17 09:24:13 jmc Exp $
.\" $NetBSD: setgroups.2,v 1.7 1995/02/27 12:36:49 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993, 1994
@@ -77,6 +77,8 @@ address space.
.El
.Sh SEE ALSO
.Xr getgroups 2 ,
+.Xr setgid 2 ,
+.Xr setregid 2 ,
.Xr initgroups 3
.Sh HISTORY
The
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index f9b22f07afe..17548feb99c 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setuid.2,v 1.15 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: setuid.2,v 1.16 2003/10/17 09:24:13 jmc Exp $
.\" $NetBSD: setuid.2,v 1.3 1995/02/27 12:37:06 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -100,9 +100,13 @@ specified is not the real, effective, or saved ID,
these functions return \-1.
.Sh SEE ALSO
.Xr getgid 2 ,
+.Xr getgroups 2 ,
.Xr getuid 2 ,
.Xr issetugid 2 ,
-.Xr setgroups 2
+.Xr setgid 2 ,
+.Xr setgroups 2 ,
+.Xr setregid 2 ,
+.Xr setreuid 2
.Pp
A
.Fn setuid