Merge duplicate mentions of EPERM, EACCESS, ... into one entry

(where applicable).
This commit is contained in:
hubertf 2000-06-17 19:33:34 +00:00
parent cba4080890
commit 73fc291634
11 changed files with 53 additions and 75 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chflags.2,v 1.16 2000/04/17 14:31:21 mrg Exp $
.\" $NetBSD: chflags.2,v 1.17 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@ -133,9 +133,8 @@ 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.
.It Bq Er EPERM
The effective user ID is not the super-user and one or more of the
the effective user ID is not the super-user, or
the effective user ID is not the super-user and one or more of the
super-user-only flags for the named file would be changed.
.It Bq Er EOPNOTSUPP
The named file resides on a file system that does not support file
@ -161,9 +160,8 @@ The descriptor is not valid.
refers to a socket, not to a file.
.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.
.It Bq Er EPERM
The effective user ID is not the super-user and one or more of the
the effective user ID is not the super-user, or
the effective user ID is not the super-user and one or more of the
super-user-only flags for the file would be changed.
.It Bq Er EOPNOTSUPP
The file resides on a file system that does not support file flags.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: connect.2,v 1.16 2000/05/17 10:24:13 fair Exp $
.\" $NetBSD: connect.2,v 1.17 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@ -147,9 +147,8 @@ characters.
.It Bq Er ENOENT
The named socket does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
Write access to the named socket is denied.
Search permission is denied for a component of the path prefix, or
write access to the named socket is denied.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.El

View File

@ -1,4 +1,4 @@
.\" $NetBSD: execve.2,v 1.17 2000/05/08 10:15:17 soda Exp $
.\" $NetBSD: execve.2,v 1.18 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -217,13 +217,10 @@ The new process file does not exist.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
The new process file is not an ordinary file.
.It Bq Er EACCES
The new process file mode denies execute permission.
.It Bq Er EACCES
The new process file is on a filesystem mounted with execution
Search permission is denied for a component of the path prefix,
the new process file is not an ordinary file,
it's file mode denies execute permission, or
it is on a filesystem mounted with execution
disabled
.Pf ( Dv MNT_NOEXEC
in

View File

@ -1,4 +1,4 @@
.\" $NetBSD: link.2,v 1.13 1999/12/02 21:42:37 kleink Exp $
.\" $NetBSD: link.2,v 1.14 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -101,9 +101,8 @@ characters.
.It Bq Er ENOENT
A component of either path prefix does not exist.
.It Bq Er EACCES
A component of either path prefix denies search permission.
.It Bq Er EACCES
The requested link requires writing in a directory with a mode
A component of either path prefix denies search permission, or
the requested link requires writing in a directory with a mode
that denies write permission.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating one of the pathnames.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: open.2,v 1.18 1999/12/02 21:42:38 kleink Exp $
.\" $NetBSD: open.2,v 1.19 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -205,15 +205,12 @@ characters, or an entire path name exceeded
characters.
.It Bq Er ENOENT
.Dv O_CREAT
is not set and the named file does not exist.
.It Bq Er ENOENT
A component of the path name that must exist does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
The required permissions (for reading and/or writing)
are denied for the given flags.
is not set and the named file does not exist, or
a component of the path name that must exist does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix,
the required permissions (for reading and/or writing)
are denied for the given flags, or
.Dv O_CREAT
is specified,
the file does not exist,
@ -234,9 +231,8 @@ The system file table is full.
.It Bq Er ENXIO
The named file is a character special or block
special file, and the device associated with this special file
does not exist.
.It Bq Er ENXIO
The named file is a
does not exist, or
the named file is a
.Tn FIFO,
.Dv O_NONBLOCK
and

View File

@ -1,4 +1,4 @@
.\" $NetBSD: quotactl.2,v 1.14 2000/05/29 21:57:05 jdolecek Exp $
.\" $NetBSD: quotactl.2,v 1.15 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -164,9 +164,8 @@ or the command type is invalid.
.It Bq Er EACCES
In
.Dv Q_QUOTAON ,
the quota file is not a plain file.
.It Bq Er EACCES
Search permission is denied for a component of a path prefix.
the quota file is not a plain file, or
search permission is denied for a component of a path prefix.
.It Bq Er ENOTDIR
A component of a path prefix was not a directory.
.It Bq Er ENAMETOOLONG
@ -189,13 +188,12 @@ An
error occurred while reading from or writing
to a file containing quotas.
.It Bq Er EFAULT
An invalid
.Fa path
points outside the process's allocated address space, or
an invalid
.Fa addr
was supplied; the associated structure could not be copied in or out
of the kernel.
.It Bq Er EFAULT
.Fa path
points outside the process's allocated address space.
of the kernel.
.It Bq Er EPERM
The call was privileged and the caller was not the super-user.
.El

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rename.2,v 1.11 1999/12/02 21:42:39 kleink Exp $
.\" $NetBSD: rename.2,v 1.12 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -131,9 +131,8 @@ or a path prefix of
.Fa to
does not exist.
.It Bq Er EACCES
A component of either path prefix denies search permission.
.It Bq Er EACCES
The requested link requires writing in a directory with a mode
A component of either path prefix denies search permission, or
the requested link requires writing in a directory with a mode
that denies write permission.
.It Bq Er EPERM
The directory containing
@ -142,8 +141,7 @@ is marked sticky,
and neither the containing directory nor
.Fa from
are owned by the effective user ID.
.It Bq Er EPERM
The
Or the
.Fa to
file exists,
the directory containing
@ -155,8 +153,7 @@ are owned by the effective user ID.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating either pathname.
.It Bq Er ENOTDIR
A component of either path prefix is not a directory.
.It Bq Er ENOTDIR
A component of either path prefix is not a directory, or
.Fa from
is a directory, but
.Fa to

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rmdir.2,v 1.12 1999/12/02 21:42:39 kleink Exp $
.\" $NetBSD: rmdir.2,v 1.13 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -81,9 +81,8 @@ and
.Ql \&..
in it.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
Write permission is denied on the directory containing the link
Search permission is denied for a component of the path prefix, or
write permission is denied on the directory containing the link
to be removed.
.It Bq Er EPERM
The directory containing the directory to be removed is marked sticky,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: truncate.2,v 1.11 2000/05/28 09:41:52 jdolecek Exp $
.\" $NetBSD: truncate.2,v 1.12 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -88,9 +88,8 @@ characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
The named file is not writable by the user.
Search permission is denied for a component of the path prefix, or
the named file is not writable by the user.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EISDIR
@ -116,9 +115,8 @@ is not a valid descriptor.
.It Bq Er EINVAL
The
.Fa fd
references a socket, not a file.
.It Bq Er EINVAL
The
references a socket, not a file, or
the
.Fa fd
is not open for writing.
.El

View File

@ -1,4 +1,4 @@
.\" $NetBSD: undelete.2,v 1.6 1999/12/02 21:42:40 kleink Exp $
.\" $NetBSD: undelete.2,v 1.7 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1994
.\" Jan-Simon Pendry
@ -83,9 +83,8 @@ The path does not reference a whiteout.
.It Bq Er ENOENT
The named whiteout does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
Write permission is denied on the directory containing the name
Search permission is denied for a component of the path prefix, or
write permission is denied on the directory containing the name
to be undeleted.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: unlink.2,v 1.13 1999/12/02 21:42:40 kleink Exp $
.\" $NetBSD: unlink.2,v 1.14 2000/06/17 19:33:34 hubertf Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -81,20 +81,18 @@ characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er EACCES
Search permission is denied for a component of the path prefix.
.It Bq Er EACCES
Write permission is denied on the directory containing the link
Search permission is denied for a component of the path prefix, or
write permission is denied on the directory containing the link
to be removed.
.It Bq Er ELOOP
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 super-user, the file system
containing the file does not permit the use of
.Fn unlink
on a directory.
.It Bq Er EPERM
The directory containing the file is marked sticky,
on a directory,
or the directory containing the file is marked sticky,
and neither the containing directory nor the file to be removed
are owned by the effective user ID.
.It Bq Er EBUSY