summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-06-05 04:16:04 +0000
committeraaron <aaron@openbsd.org>1999-06-05 04:16:04 +0000
commit096e5ce23abf51069f651fc8a2bde4480f99dcf3 (patch)
treeac253e6be4fdc981991f5f31d790591d0ff84cb4 /lib/libc/sys
parentchange some .Em/.Va to .Li, looks nicer (diff)
downloadwireguard-openbsd-096e5ce23abf51069f651fc8a2bde4480f99dcf3.tar.xz
wireguard-openbsd-096e5ce23abf51069f651fc8a2bde4480f99dcf3.zip
capitalize the acronym ID
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/chown.28
-rw-r--r--lib/libc/sys/fork.24
-rw-r--r--lib/libc/sys/kill.29
-rw-r--r--lib/libc/sys/msgctl.24
-rw-r--r--lib/libc/sys/semctl.24
-rw-r--r--lib/libc/sys/shmctl.24
6 files changed, 17 insertions, 16 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index 0f20c7d6225..95a4234f39e 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chown.2,v 1.5 1999/05/16 19:55:20 alex Exp $
+.\" $OpenBSD: chown.2,v 1.6 1999/06/05 04:16:07 aaron Exp $
.\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -86,11 +86,11 @@ is particularly useful when used in conjunction
with the file locking primitives (see
.Xr flock 2 ) .
.Pp
-One of the owner or group id's
-may be left unchanged by specifying it as -1.
+One of the owner or group IDs
+may be left unchanged by specifying it as \-1.
.Sh RETURN VALUES
Zero is returned if the operation was successful;
--1 is returned if an error occurs, with a more specific
+\-1 is returned if an error occurs, with a more specific
error code being placed in the global variable
.Va errno .
.Sh ERRORS
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index 29b790d13d2..e8c51ed267e 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fork.2,v 1.6 1999/05/23 14:10:51 aaron Exp $
+.\" $OpenBSD: fork.2,v 1.7 1999/06/05 04:16:08 aaron Exp $
.\" $NetBSD: fork.2,v 1.6 1995/02/27 12:32:36 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -97,7 +97,7 @@ This limit is configuration-dependent.
The limit
.Dv RLIMIT_NPROC
on the total number of
-processes under execution by a this user id would be exceeded.
+processes under execution by a this user ID would be exceeded.
.It Bq Er ENOMEM
There is insufficient swap space for the new process.
.El
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 04c51723f8a..0f1d1e3e8aa 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.8 1999/05/25 13:06:46 aaron Exp $
+.\" $OpenBSD: kill.2,v 1.9 1999/06/05 04:16:08 aaron Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -93,7 +93,8 @@ No error is returned if any process could be signaled.
.Pp
Setuid and setgid processes are dealt with slightly differently. For
the non-root user, to prevent attacks against such processes, some signal
-deliveries are not permitted and return the error EPERM.
+deliveries are not permitted and return the error
+.Er EPERM .
The following signals are allowed through to this class of processes:
.Em SIGKILL ,
.Em SIGINT ,
@@ -128,11 +129,11 @@ is not a valid signal number.
No process can be found corresponding to that specified by
.Fa pid .
.It Bq Er ESRCH
-The process id was given as 0
+The process ID was given as 0
but the sending process does not have a process group.
.It Bq Er EPERM
The sending process is not the super-user and its effective
-user id does not match the effective user-id of the receiving process.
+user ID does not match the effective user ID of the receiving process.
When signaling a process group, this error is returned if any members
of the group could not be signaled.
.El
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2
index 562116fc5c1..e6d8be987d4 100644
--- a/lib/libc/sys/msgctl.2
+++ b/lib/libc/sys/msgctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgctl.2,v 1.7 1999/05/27 14:05:09 aaron Exp $
+.\" $OpenBSD: msgctl.2,v 1.8 1999/06/05 04:16:08 aaron Exp $
.\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -117,7 +117,7 @@ The values are taken from the corresponding fields in the structure
pointed to by
.Fa buf .
This operation can only be executed by the super-user, or a process that
-has an effective user id equal to either
+has an effective user ID equal to either
.Va msg_perm.cuid
or
.Va msg_perm.uid
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index 6332d596611..1b4b8c1c702 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semctl.2,v 1.8 1999/05/27 14:05:10 aaron Exp $
+.\" $OpenBSD: semctl.2,v 1.9 1999/06/05 04:16:08 aaron Exp $
.\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -147,7 +147,7 @@ The values are taken from the corresponding fields in the structure
pointed to by
.Fa arg.buf .
This operation can only be executed by the super-user, or a process that
-has an effective user id equal to either
+has an effective user ID equal to either
.Va sem_perm.cuid
or
.Va sem_perm.uid
diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2
index df75ce5008c..4e1bf42ca80 100644
--- a/lib/libc/sys/shmctl.2
+++ b/lib/libc/sys/shmctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shmctl.2,v 1.8 1999/05/27 14:05:10 aaron Exp $
+.\" $OpenBSD: shmctl.2,v 1.9 1999/06/05 04:16:08 aaron Exp $
.\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -116,7 +116,7 @@ The values are taken from the corresponding fields in the structure
pointed to by
.Fa buf .
This operation can only be executed by the super-user, or a process that
-has an effective user id equal to either
+has an effective user ID equal to either
.Va shm_perm.cuid
or
.Va shm_perm.uid