diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-04-15 11:46:06 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-04-15 11:46:06 +0000 |
commit | 85c9ba7c594c9e1658e20053dcd00403e6e314e2 (patch) | |
tree | b9cba2183a2d7100b412afdd5c1220359e582d77 /lib/libc/sys | |
parent | 66c4835634f1e74242f62bb59553d61059dc1a46 (diff) |
- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.
Diffstat (limited to 'lib/libc/sys')
34 files changed, 131 insertions, 129 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index 262e2bba6a6..0021e57673e 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.2,v 1.6 1999/10/07 22:28:04 aaron Exp $ +.\" $OpenBSD: acct.2,v 1.7 2000/04/15 11:46:02 aaron Exp $ .\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -74,20 +74,20 @@ see and .Xr acct 5 . .Pp -This call is permitted only to the super-user. +This call is permitted only to the superuser. .Sh NOTES Accounting is automatically disabled when the file system the accounting file resides on runs out of space; it is enabled when space once again becomes available. .Sh RETURN VALUES On error \-1 is returned. -The file must exist and the call may be exercised only by the super-user. +The file must exist and the call may be exercised only by the superuser. .Sh ERRORS .Fn acct will fail if one of the following is true: .Bl -tag -width Er .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er ENOTDIR A component of the path prefix is not a directory. .It Bq Er ENAMETOOLONG diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2 index 70b278a24f0..592292bc308 100644 --- a/lib/libc/sys/adjtime.2 +++ b/lib/libc/sys/adjtime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: adjtime.2,v 1.8 1999/06/29 14:09:50 aaron Exp $ +.\" $OpenBSD: adjtime.2,v 1.9 2000/04/15 11:46:02 aaron Exp $ .\" $NetBSD: adjtime.2,v 1.5 1995/10/12 15:40:44 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -82,7 +82,7 @@ and speed up the clocks of others to bring them to the average network time. .Pp The call .Fn adjtime -is restricted to the super-user. +is restricted to the superuser. .Sh RETURN VALUES A return value of 0 indicates that the call succeeded. A return value of \-1 indicates that an error occurred, and in this @@ -95,7 +95,7 @@ will fail if: .It Bq Er EFAULT Either of the arguments point outside the process's allocated address space. .It Bq Er EPERM -The process's effective user ID is not that of the super-user. +The process's effective user ID is not that of the superuser. .El .Sh SEE ALSO .Xr date 1 , diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index a4210accbfb..22d252647b2 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chflags.2,v 1.13 1999/07/31 03:55:28 deraadt Exp $ +.\" $OpenBSD: chflags.2,v 1.14 2000/04/15 11:46:02 aaron Exp $ .\" $NetBSD: chflags.2,v 1.6 1995/02/27 12:32:03 cgd Exp $ .\" .\" Copyright (c) 1989, 1993 @@ -80,13 +80,13 @@ The .Dq UF_IMMUTABLE and .Dq UF_APPEND -flags may be set or unset by either the owner of a file or the super-user. +flags may be set or unset by either the owner of a file or the superuser. .Pp The .Dq SF_IMMUTABLE and .Dq SF_APPEND -flags may only be set or unset by the super-user. +flags may only be set or unset by the superuser. They may be set at any time, but normally may only be unset when the system is in single-user mode. (See @@ -117,7 +117,7 @@ Search permission is denied for a component of the path prefix. Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The effective user ID does not match the owner of the file and -the effective user ID is not the super-user. +the effective user ID is not the superuser. .It Bq Er EOPNOTSUPP The named file resides on a file system that does not support file flags. @@ -141,12 +141,12 @@ The descriptor is not valid. .Fa fd refers to a socket, not to a file. .It Bq Er EINVAL -Only the super-user can change flags on block and character devices. +Only the superuser can change flags on block and character devices. .It Bq Er EINVAL The flags value is invalid. .It Bq Er EPERM The effective user ID does not match the owner of the file and -the effective user ID is not the super-user. +the effective user ID is not the superuser. .It Bq Er EOPNOTSUPP The named file resides on a file system that does not support file flags. diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index c9188372db0..57925f7f989 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chmod.2,v 1.8 1999/06/29 14:09:51 aaron Exp $ +.\" $OpenBSD: chmod.2,v 1.9 2000/04/15 11:46:02 aaron Exp $ .\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -68,7 +68,7 @@ the file specified by (or .Fa fd ) , or -is the super-user. +is the superuser. A mode is created from .Em or'd permission bit masks @@ -116,11 +116,11 @@ For more details of the properties of the sticky bit, see .Xr sticky 8 . .Pp Writing or changing the owner of a file -turns off the set-user-id and set-group-id bits -unless the user is the super-user. +turns off the set-user-ID and set-group-ID bits +unless the user is the superuser. This makes the system somewhat more secure -by protecting set-user-id (set-group-id) files -from remaining set-user-id (set-group-id) if they are modified, +by protecting set-user-ID (set-group-ID) files +from remaining set-user-ID (set-group-ID) if they are modified, at the expense of a degree of compatibility. .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. @@ -150,7 +150,7 @@ contains bits other than the file type and those described above. Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The effective user ID does not match the owner of the file and -the effective user ID is not the super-user. +the effective user ID is not the superuser. .It Bq Er EROFS The named file resides on a read-only file system. .It Bq Er EFAULT diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 4776492fc03..1b75cafd7a3 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chown.2,v 1.7 1999/06/29 14:09:52 aaron Exp $ +.\" $OpenBSD: chown.2,v 1.8 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -67,13 +67,13 @@ to a group of which he or she is a member, but the change .Fa owner -capability is restricted to the super-user. +capability is restricted to the superuser. .Pp .Fn chown -clears the set-user-id and set-group-id bits +clears the set-user-ID and set-group-ID bits on the file to prevent accidental or mischievous creation of -set-user-id and set-group-id programs. +set-user-ID and set-group-ID programs. .Pp .Fn lchown operates similarly to how @@ -114,7 +114,7 @@ Search permission is denied for a component of the path prefix. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM -The effective user ID is not the super-user. +The effective user ID is not the superuser. .It Bq Er EROFS The named file resides on a read-only file system. .It Bq Er EFAULT @@ -134,7 +134,7 @@ does not refer to a valid descriptor. .Fa fd refers to a socket, not a file. .It Bq Er EPERM -The effective user ID is not the super-user. +The effective user ID is not the superuser. .It Bq Er EROFS The named file resides on a read-only file system. .It Bq Er EIO diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index 7d58de52ef2..cd7b6eadbb1 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chroot.2,v 1.8 1999/06/29 14:09:52 aaron Exp $ +.\" $OpenBSD: chroot.2,v 1.9 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -70,7 +70,7 @@ process's current directory is changed to the same new root directory. This prevents the current directory from being further up the directory tree than the altered root directory. .Pp -This call is restricted to the super-user. +This call is restricted to the superuser. .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. Otherwise, a value of \-1 is returned and diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 532ef11970b..b538c1e24b0 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.10 2000/04/15 02:15:24 aaron Exp $ +.\" $OpenBSD: clock_gettime.2,v 1.11 2000/04/15 11:46:03 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -80,11 +80,11 @@ struct timespec { }; .Ed .Pp -Only the super-user may set the time of day. +Only the superuser may set the time of day. If the system securelevel is greater than 1 (see .Xr init 8 ) , the time may only be advanced. -This limitation is imposed to prevent a malicious super-user +This limitation is imposed to prevent a malicious superuser from setting arbitrary time stamps on files. The system time can still be adjusted backwards using the .Xr adjtime 2 @@ -112,7 +112,7 @@ The .Fa *tp argument address referenced invalid memory. .It Bq Er EPERM -A user other than the super-user attempted to set the time. +A user other than the superuser attempted to set the time. .El .Sh SEE ALSO .Xr date 1 , diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 9be132f5517..ecd44ed8e21 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: execve.2,v 1.12 1999/07/06 18:21:03 deraadt Exp $ +.\" $OpenBSD: execve.2,v 1.13 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -185,7 +185,8 @@ where .Fa argc is the number of elements in .Fa argv -(the ``arg count'') +(the +.Dq arg count ) and .Fa argv points to the array of character pointers @@ -267,11 +268,12 @@ the system file table was found to be full. .Sh CAVEAT If a program is .Em setuid -to a non-super-user, but is executed when +to a non-superuser, but is executed when the real .Em uid -is ``root'', then the program has some of the powers -of a super-user as well. +is +.Dq root , +then the program has some of the powers of a superuser as well. .Sh SEE ALSO .Xr _exit 2 , .Xr fork 2 , diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2 index ea6e7f81e8c..f8a82f8b1cc 100644 --- a/lib/libc/sys/getlogin.2 +++ b/lib/libc/sys/getlogin.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getlogin.2,v 1.7 1999/06/29 14:09:59 aaron Exp $ +.\" $OpenBSD: getlogin.2,v 1.8 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: getlogin.2,v 1.4 1995/02/27 12:33:03 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -65,7 +65,7 @@ is used.) .Fn setlogin sets the login name of the user associated with the current session to .Fa name . -This call is restricted to the super-user, and +This call is restricted to the superuser, and is normally used only when a new session is being created on behalf of the named user (for example, at login time, or when a remote shell is invoked). @@ -101,7 +101,7 @@ Login names are limited to .Ao Pa sys/param.h Ac ) characters, currently 12. .It Bq Er EPERM -The caller tried to set the login name and was not the super-user. +The caller tried to set the login name and was not the superuser. .El .Sh SEE ALSO .Xr setsid 2 diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2 index 5a65f742761..d300f7ed3cb 100644 --- a/lib/libc/sys/getpriority.2 +++ b/lib/libc/sys/getpriority.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpriority.2,v 1.5 1999/06/29 14:10:00 aaron Exp $ +.\" $OpenBSD: getpriority.2,v 1.6 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: getpriority.2,v 1.4 1995/02/27 12:33:15 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -89,7 +89,7 @@ call returns the highest priority (lowest numerical value) enjoyed by any of the specified processes. The .Fn setpriority call sets the priorities of all of the specified processes -to the specified value. Only the super-user may lower priorities. +to the specified value. Only the superuser may lower priorities. .Sh RETURN VALUES Since .Fn getpriority @@ -132,7 +132,7 @@ will fail if: A process was located, but neither its effective nor real user ID matched the effective user ID of the caller. .It Bq Er EACCES -A non super-user attempted to lower a process priority. +A non-superuser attempted to lower a process priority. .El .Sh SEE ALSO .Xr nice 1 , diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2 index 13f40e9657b..e8f5bbdc55c 100644 --- a/lib/libc/sys/getrlimit.2 +++ b/lib/libc/sys/getrlimit.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrlimit.2,v 1.9 1999/06/29 14:10:00 aaron Exp $ +.\" $OpenBSD: getrlimit.2,v 1.10 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: getrlimit.2,v 1.8 1995/10/12 15:40:58 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -110,7 +110,7 @@ struct rlimit { }; .Ed .Pp -Only the super-user may raise the maximum limits. Other users +Only the superuser may raise the maximum limits. Other users may only alter .Fa rlim_cur within the range from 0 to @@ -175,7 +175,7 @@ is invalid. The limit specified to .Fn setrlimit would have -raised the maximum limit value, and the caller is not the super-user. +raised the maximum limit value, and the caller is not the superuser. .El .Sh SEE ALSO .Xr csh 1 , diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index 9ba18540e34..279cd8ce1a9 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gettimeofday.2,v 1.9 2000/04/15 02:15:24 aaron Exp $ +.\" $OpenBSD: gettimeofday.2,v 1.10 2000/04/15 11:46:03 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -97,11 +97,11 @@ and a flag that, if nonzero, indicates that Daylight Saving time applies locally during the appropriate part of the year. .Pp -Only the super-user may set the time of day or time zone. +Only the superuser may set the time of day or time zone. If the system securelevel is greater than 1 (see .Xr init 8 ) , the time may only be advanced. -This limitation is imposed to prevent a malicious super-user +This limitation is imposed to prevent a malicious superuser from setting arbitrary time stamps on files. The system time can still be adjusted backwards using the .Xr adjtime 2 @@ -118,7 +118,7 @@ The following error codes may be set in .It Bq Er EFAULT An argument address referenced invalid memory. .It Bq Er EPERM -A user other than the super-user attempted to set the time. +A user other than the superuser attempted to set the time. .El .Sh SEE ALSO .Xr date 1 , diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 8602a7e39c1..283a1d4faee 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.15 1999/07/04 18:59:43 aaron Exp $ +.\" $OpenBSD: intro.2,v 1.16 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -525,10 +525,10 @@ or group ID after reverting to the real ID (see .Xr setuid 2 ) . (In POSIX.1, the saved set-user-ID and saved set-group-ID are optional, and are used in setuid and setgid, but this does not work as desired -for the super-user.) +for the superuser.) .It Super-user A process is recognized as a -.Em super-user +.Em superuser process and is granted special privileges if its effective user ID is 0. .It Special Processes The processes with process IDs of 0, 1, and 2 are special. @@ -651,8 +651,8 @@ information applicable to the caller. Read, write, and execute/search permissions on a file are granted to a process if: .Pp -The process's effective user ID is that of the super-user. (Note: -even the super-user cannot execute a non-executable file.) +The process's effective user ID is that of the superuser. (Note: +even the superuser cannot execute a non-executable file.) .Pp The process's effective user ID matches the user ID of the owner of the file and the owner permissions allow the access. diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 314fa12096d..6fd0065f654 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kill.2,v 1.11 1999/06/29 14:10:04 aaron Exp $ +.\" $OpenBSD: kill.2,v 1.12 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -67,7 +67,7 @@ by .Fa pid , the real or effective user ID of the receiving process must match that of the sending process or the user must have appropriate privileges -(such as given by a set-user-ID program or the user is the super-user). +(such as given by a set-user-ID program or the user is the superuser). A single exception is the signal .Dv SIGCONT , which may always be sent @@ -85,7 +85,7 @@ process has permission; this is a variant of .Xr killpg 3 . .It \&If Fa pid No \&is -1 : -If the user has super-user privileges, +If the user has superuser privileges, the signal is sent to all processes excluding system processes and the process sending the signal. If the user is not the super user, the signal is sent to all processes @@ -134,7 +134,7 @@ No process can be found corresponding to that specified by 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 +The sending process is not the superuser and its effective 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. diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 1b6be37cd7b..7a14ba4bd9b 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.7 1999/06/29 14:10:04 aaron Exp $ +.\" $OpenBSD: ktrace.2,v 1.8 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -52,7 +52,7 @@ The .Fn ktrace function enables or disables tracing of one or more processes. Users may only trace their own processes. -Only the super-user can trace setuid or setgid programs. +Only the superuser can trace setuid or setgid programs. .Pp .Fa tracefile gives the pathname of the file to be used for tracing. diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index 23eefdccccf..a809afc7fbd 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: link.2,v 1.11 1999/07/04 18:59:43 aaron Exp $ +.\" $OpenBSD: link.2,v 1.12 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -127,7 +127,7 @@ does exist. The file named by .Fa name1 is a directory and the effective -user ID is not super-user, +user ID is not superuser, or the file system containing the file does not permit the use of .Fn link on a directory. diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2 index c8119f5b895..57bec168377 100644 --- a/lib/libc/sys/mknod.2 +++ b/lib/libc/sys/mknod.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mknod.2,v 1.7 1999/06/29 14:10:07 aaron Exp $ +.\" $OpenBSD: mknod.2,v 1.8 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -68,7 +68,7 @@ does not indicate a block special or character special device, is ignored. .Pp .Fn mknod -requires super-user privileges. +requires superuser privileges. .Sh RETURN VALUES Upon successful completion a value of 0 is returned. Otherwise, a value of \-1 is returned and @@ -93,7 +93,7 @@ Search permission is denied for a component of the path prefix. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM -The process's effective user ID is not super-user. +The process's effective user ID is not superuser. .It Bq Er EIO An I/O error occurred while making the directory entry or allocating the inode. .It Bq Er ENOSPC diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 252f0e5eb94..8bd86c5817f 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.2,v 1.17 1999/09/25 21:28:04 pjanzen Exp $ +.\" $OpenBSD: mount.2,v 1.18 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 @@ -81,7 +81,7 @@ suppress default semantics which affect filesystem access. .Bl -tag -width MNT_SYNCHRONOUS .It Dv MNT_RDONLY The filesystem should be treated as read-only: -even the super-user may not write to it. +even the superuser may not write to it. .It Dv MNT_NOATIME Do not update the access time on files in the filesystem unless the modification or status change times are also being updated. @@ -198,7 +198,7 @@ is set to indicate the error. will fail when one of the following occurs: .Bl -tag -width [ENAMETOOLONG] .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er ENAMETOOLONG A component of a pathname exceeded .Dv {NAME_MAX} @@ -302,7 +302,7 @@ points outside the process's allocated address space. may fail with one of the following errors: .Bl -tag -width [ENAMETOOLONG] .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er ENOTDIR A component of the path is not a directory. .It Bq Er EINVAL diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index dfacd93a7f8..5342bce468c 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.9 1999/06/29 14:10:08 aaron Exp $ +.\" $OpenBSD: msgctl.2,v 1.10 2000/04/15 11:46:03 aaron Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -116,7 +116,7 @@ fields in the structure associated with 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 +This operation can only be executed by the superuser, or a process that has an effective user ID equal to either .Va msg_perm.cuid or @@ -124,7 +124,7 @@ or in the data structure associated with the message queue. The value of .Va msg_qbytes -can only be increased by the super-user. Values for +can only be increased by the superuser. Values for .Va msg_qbytes that exceed the system limit .Pf ( Dv MSGMNB @@ -135,7 +135,7 @@ are silently truncated to that limit. .It Dv IPC_RMID Remove the message queue specified by .Fa msqid -and destroy the data associated with it. Only the super-user or a process +and destroy the data associated with it. Only the superuser or a process with an effective UID equal to the .Va msg_perm.cuid or @@ -176,7 +176,7 @@ is equal to .Dv IPC_SET or .Dv IPC_RMID -and the caller is not the super-user, nor does +and the caller is not the superuser, nor does the effective UID match either the .Va msg_perm.uid or @@ -187,7 +187,7 @@ An attempt is made to increase the value of .Va msg_qbytes through .Dv IPC_SET -but the caller is not the super-user. +but the caller is not the superuser. .It Bq Er EACCES The command is .Dv IPC_STAT diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index 9354634bfc7..5f6eae1d82e 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nfssvc.2,v 1.11 2000/01/22 12:05:49 aaron Exp $ +.\" $OpenBSD: nfssvc.2,v 1.12 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: nfssvc.2,v 1.6 1995/02/27 12:35:08 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -231,7 +231,7 @@ This special error value is really used for authentication support, particularly Kerberos, as explained above. .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .El .Sh SEE ALSO .Xr mount_nfs 8 , diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index 836eccb4622..e9c57363116 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: quotactl.2,v 1.6 1999/07/05 06:08:05 aaron Exp $ +.\" $OpenBSD: quotactl.2,v 1.7 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: quotactl.2,v 1.8 1995/02/27 12:35:43 cgd Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -92,7 +92,7 @@ program. The .Fa id argument is unused. -Only the super-user may turn quotas on. +Only the superuser may turn quotas on. .It Dv Q_QUOTAOFF Disable disk quotas for the filesystem specified by .Fa path . @@ -102,7 +102,7 @@ The and .Fa id arguments are unused. -Only the super-user may turn quotas off. +Only the superuser may turn quotas off. .It Dv Q_GETQUOTA Get disk quota limits and current usage for the user or group (as determined by the command type) with identifier @@ -122,7 +122,7 @@ structure. The usage fields of .Li struct dqblk structure are ignored. -This call is restricted to the super-user. +This call is restricted to the superuser. .It Dv Q_SETUSE Set disk usage limits for the user or group (as determined by the command type) with identifier @@ -132,7 +132,7 @@ is a pointer to a .Li struct dqblk structure. Only the usage fields are used. -This call is restricted to the super-user. +This call is restricted to the superuser. .It Dv Q_SYNC Update the on-disk copy of quota usages. The command type specifies which type of quotas are to be updated. @@ -197,7 +197,7 @@ of the kernel. .Fa path points outside the process's allocated address space. .It Bq Er EPERM -The call was privileged and the caller was not the super-user. +The call was privileged and the caller was not the superuser. .El .Sh SEE ALSO .Xr quota 1 , diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index 74dc8924c6a..774f4da9652 100644 --- a/lib/libc/sys/reboot.2 +++ b/lib/libc/sys/reboot.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: reboot.2,v 1.6 1999/07/06 08:21:17 downsj Exp $ +.\" $OpenBSD: reboot.2,v 1.7 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: reboot.2,v 1.5 1995/02/27 12:36:02 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -48,7 +48,7 @@ .Sh DESCRIPTION .Fn reboot reboots the system. -Only the super-user may reboot a machine on demand. +Only the superuser may reboot a machine on demand. However, a reboot is invoked automatically in the event of unrecoverable system failures. .Pp @@ -144,7 +144,7 @@ variable .Sh ERRORS .Bl -tag -width Er .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .El .Sh SEE ALSO .Xr kadb 4 , diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index c5da566a05b..7fa582ddb2b 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semctl.2,v 1.10 1999/06/29 14:10:17 aaron Exp $ +.\" $OpenBSD: semctl.2,v 1.11 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -146,7 +146,7 @@ fields in the structure associated with the semaphore. 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 +This operation can only be executed by the superuser, or a process that has an effective user ID equal to either .Va sem_perm.cuid or @@ -156,7 +156,7 @@ in the data structure associated with the message queue. Remove the semaphores associated with .Fa semid from the system and destroy the data structures associated with it. Only the -super-user or a process with an effective UID equal to the +superuser or a process with an effective UID equal to the .Va sem_perm.cuid or .Va sem_perm.uid @@ -204,7 +204,7 @@ is equal to .Dv IPC_SET or .Dv IPC_RMID -and the caller is not the super-user, nor does +and the caller is not the superuser, nor does the effective UID match either the .Va sem_perm.uid or diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2 index 0ca2f089d87..89e9f5e412f 100644 --- a/lib/libc/sys/setgroups.2 +++ b/lib/libc/sys/setgroups.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setgroups.2,v 1.6 1999/06/29 14:10:18 aaron Exp $ +.\" $OpenBSD: setgroups.2,v 1.7 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: setgroups.2,v 1.7 1995/02/27 12:36:49 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993, 1994 @@ -56,7 +56,7 @@ indicates the number of entries in the array and must be no more than .Dv {NGROUPS_MAX} . .Pp -Only the super-user may set new groups. +Only the superuser may set new groups. .Sh RETURN VALUES A 0 value is returned on success, \-1 on error, with an error code stored in @@ -72,7 +72,7 @@ The value of is greater than .Dv {NGROUPS_MAX} . .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er EFAULT The address specified for .Fa gidset diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index cca08b54f88..3408259db30 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setpgid.2,v 1.7 1999/06/29 14:10:19 aaron Exp $ +.\" $OpenBSD: setpgid.2,v 1.8 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: setpgid.2,v 1.8 1995/02/27 12:36:55 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -57,8 +57,8 @@ If .Ar pid is zero, then the call applies to the current process. .Pp -If the invoker is not the super-user, then the affected process -must have the same effective user-id as the invoker or be a descendant +If the invoker is not the superuser, then the affected process +must have the same effective user ID as the invoker or be a descendant of the invoking process. .Sh RETURN VALUES .Fn setpgid diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index 02498ebf7a9..e99cac41bd9 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmctl.2,v 1.10 1999/06/29 14:10:20 aaron Exp $ +.\" $OpenBSD: shmctl.2,v 1.11 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -115,7 +115,7 @@ fields in the structure associated with 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 +This operation can only be executed by the superuser, or a process that has an effective user ID equal to either .Va shm_perm.cuid or @@ -125,7 +125,7 @@ in the data structure associated with the shared memory segment. .It Dv IPC_RMID Remove the shared memory segment specified by .Fa shmid -and destroy the data associated with it. Only the super-user or a process +and destroy the data associated with it. Only the superuser or a process with an effective UID equal to the .Va shm_perm.cuid or @@ -163,7 +163,7 @@ is equal to .Dv IPC_SET or .Dv IPC_RMID -and the caller is not the super-user, nor does +and the caller is not the superuser, nor does the effective UID match either the .Va shm_perm.uid or @@ -174,7 +174,7 @@ An attempt is made to increase the value of .Va shm_qbytes through .Dv IPC_SET -but the caller is not the super-user. +but the caller is not the superuser. .It Bq Er EACCES The command is .Dv IPC_STAT diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index c849948e835..b771ac9a6fa 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socket.2,v 1.15 2000/04/12 21:48:02 aaron Exp $ +.\" $OpenBSD: socket.2,v 1.16 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -103,7 +103,7 @@ only for sockets provide access to internal network protocols and interfaces. The types .Dv SOCK_RAW , -which is available only to the super-user, and +which is available only to the superuser, and .Dv SOCK_RDM , which is planned, but not yet implemented, are not described here. diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 2643b3a700f..63e0177af78 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stat.2,v 1.11 1999/12/04 22:16:39 aaron Exp $ +.\" $OpenBSD: stat.2,v 1.12 2000/04/15 11:46:04 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -100,8 +100,8 @@ struct stat { ino_t st_ino; /* inode's number */ mode_t st_mode; /* inode protection mode */ nlink_t st_nlink; /* number or hard links to the file */ - uid_t st_uid; /* user-id of owner */ - gid_t st_gid; /* group-id of owner */ + uid_t st_uid; /* user ID of owner */ + gid_t st_gid; /* group ID of owner */ dev_t st_rdev; /* device type, for special file inode */ struct timespec st_atimespec; /* time of last access */ struct timespec st_mtimespec; /* time of last data modification */ @@ -247,7 +247,7 @@ An I/O error occurred while reading from or writing to the file system. .Sh CAVEATS The file generation number, .Fa st_gen , -is only available to the super-user. +is only available to the superuser. .Pp The fields in the stat structure currently marked .Fa st_spare1 , diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2 index da598256174..ccb94d8af50 100644 --- a/lib/libc/sys/swapctl.2 +++ b/lib/libc/sys/swapctl.2 @@ -177,7 +177,7 @@ Search permission is denied for a component of the path prefix. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er EBUSY The device specified by .Fa arg diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index 218570bcf84..decae6e2bcb 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: swapon.2,v 1.7 1999/06/29 14:10:25 aaron Exp $ +.\" $OpenBSD: swapon.2,v 1.8 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: swapon.2,v 1.7 1995/02/27 12:38:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -78,7 +78,7 @@ Search permission is denied for a component of the path prefix. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM -The caller is not the super-user. +The caller is not the superuser. .It Bq Er ENOTBLK .Fa special is not a block device. diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index 5cee80f4347..5c7128553d0 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: truncate.2,v 1.6 1999/06/29 14:10:27 aaron Exp $ +.\" $OpenBSD: truncate.2,v 1.7 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: truncate.2,v 1.7 1995/02/27 12:39:00 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -99,7 +99,7 @@ An I/O error occurred updating the inode. points outside the process's allocated address space. .It Bq Er EPERM The effective user ID does not match the owner of the file and -the effective user ID is not the super-user. +the effective user ID is not the superuser. .El .Pp .Fn ftruncate diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index c3089723f19..c175da13cf9 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unlink.2,v 1.8 1999/06/29 14:10:28 aaron Exp $ +.\" $OpenBSD: unlink.2,v 1.9 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: unlink.2,v 1.7 1995/02/27 12:39:13 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -88,7 +88,7 @@ to be removed. Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The named file is a directory and the effective user ID -of the process is not the super-user, or the file system +of the process is not the superuser, or the file system containing the file does not permit the use of .Fn unlink on a directory. diff --git a/lib/libc/sys/utimes.2 b/lib/libc/sys/utimes.2 index 16c426e7076..19f1ca9f045 100644 --- a/lib/libc/sys/utimes.2 +++ b/lib/libc/sys/utimes.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utimes.2,v 1.6 1999/06/29 14:10:28 aaron Exp $ +.\" $OpenBSD: utimes.2,v 1.7 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: utimes.2,v 1.9 1996/04/23 10:34:16 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -60,7 +60,7 @@ is .Dv NULL , the access and modification times are set to the current time. The caller must be the owner of the file, have permission to -write the file, or be the super-user. +write the file, or be the superuser. .Pp If .Fa times @@ -68,7 +68,7 @@ is non-null, it is assumed to point to an array of two timeval structures. The access time is set to the value of the first element, and the modification time is set to the value of the second element. -The caller must be the owner of the file or be the super-user. +The caller must be the owner of the file or be the superuser. .Pp In either case, the inode-change-time of the file is set to the current time. @@ -88,7 +88,7 @@ or the argument is .Dv NULL and the effective user ID of the process does not -match the owner of the file, and is not the super-user, and write +match the owner of the file, and is not the superuser, and write access is denied. .It Bq Er EFAULT .Pa File @@ -115,7 +115,7 @@ The argument is not .Dv NULL and the calling process's effective user ID -does not match the owner of the file and is not the super-user. +does not match the owner of the file and is not the superuser. .It Bq Er EROFS The file system containing the file is mounted read-only. .El @@ -131,7 +131,7 @@ The argument is .Dv NULL and the effective user ID of the process does not -match the owner of the file, and is not the super-user, and write +match the owner of the file, and is not the superuser, and write access is denied. .It Bq Er EFAULT .Fa times @@ -144,7 +144,7 @@ The argument is not .Dv NULL and the calling process's effective user ID -does not match the owner of the file and is not the super-user. +does not match the owner of the file and is not the superuser. .It Bq Er EROFS The file system containing the file is mounted read-only. .El diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index c016f72b654..5503da85413 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.18 2000/04/12 21:48:02 aaron Exp $ +.\" $OpenBSD: write.2,v 1.19 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -92,7 +92,7 @@ starts at a position given by the pointer associated with .Fa d (see -.Xr lseek 2 . ) +.Xr lseek 2 ) . Upon return from .Fn write , the pointer is incremented by the number of bytes which were written. @@ -101,20 +101,20 @@ Objects that are not capable of seeking always write from the current position. The value of the pointer associated with such an object is undefined. .Pp -If the real user is not the super-user, then +If the real user is not the superuser, then .Fn write -clears the set-user-id bit on a file. +clears the set-user-ID bit on a file. This prevents penetration of system security by a user who .Dq captures -a writable set-user-id file -owned by the super-user. +a writable set-user-ID file +owned by the superuser. .Pp If .Fn write succeeds it will update the st_ctime and st_mtime fields of the file's meta-data (see -.Xr stat 2 . ) +.Xr stat 2 ) . .Pp When using non-blocking I/O on objects such as sockets that are subject to flow control, |