mirror of https://github.com/mkerrisk/man-pages
copy_file_range.2, fanotify_mark.2, inotify_add_watch.2, ioctl_fideduperange.2, kcmp.2, prctl.2, get_robust_list.2, tkill.2, ttyname.3: ERRORS: correct alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
88e75e2c56
commit
49a2a1052b
|
@ -153,6 +153,9 @@ or
|
|||
.I fd_out
|
||||
is not a regular file.
|
||||
.TP
|
||||
.B EIO
|
||||
A low-level I/O error occurred while copying.
|
||||
.TP
|
||||
.B EISDIR
|
||||
Either
|
||||
.I fd_in
|
||||
|
@ -160,23 +163,19 @@ or
|
|||
.I fd_out
|
||||
refers to a directory.
|
||||
.TP
|
||||
.B EOVERFLOW
|
||||
The requested source or destination range is too large to represent in the
|
||||
specified data types.
|
||||
.TP
|
||||
.B EIO
|
||||
A low-level I/O error occurred while copying.
|
||||
.TP
|
||||
.B ENOMEM
|
||||
Out of memory.
|
||||
.TP
|
||||
.B ENOSPC
|
||||
There is not enough space on the target filesystem to complete the copy.
|
||||
.TP
|
||||
.B EXDEV
|
||||
The files referred to by
|
||||
.IR file_in " and " file_out
|
||||
are not on the same mounted filesystem (pre Linux 5.3).
|
||||
.B EOVERFLOW
|
||||
The requested source or destination range is too large to represent in the
|
||||
specified data types.
|
||||
.TP
|
||||
.B EPERM
|
||||
.I fd_out
|
||||
refers to an immutable file.
|
||||
.TP
|
||||
.B TXTBSY
|
||||
Either
|
||||
|
@ -185,10 +184,10 @@ or
|
|||
.I fd_out
|
||||
refers to an active swap file.
|
||||
.TP
|
||||
.B EPERM
|
||||
.I fd_out
|
||||
refers to an immutable file.
|
||||
.TP
|
||||
.B EXDEV
|
||||
The files referred to by
|
||||
.IR file_in " and " file_out
|
||||
are not on the same mounted filesystem (pre Linux 5.3).
|
||||
.SH VERSIONS
|
||||
The
|
||||
.BR copy_file_range ()
|
||||
|
|
|
@ -373,6 +373,19 @@ and mask contains a flag for permission events
|
|||
or
|
||||
.BR FAN_ACCESS_PERM ).
|
||||
.TP
|
||||
.B ENODEV
|
||||
The filesystem object indicated by
|
||||
.I pathname
|
||||
is not associated with a filesystem that supports
|
||||
.I fsid
|
||||
(e.g.,
|
||||
.BR tmpfs (5)).
|
||||
This error can be returned only when an fanotify file descriptor returned
|
||||
by
|
||||
.BR fanotify_init (2)
|
||||
has been created with
|
||||
.BR FAN_REPORT_FID .
|
||||
.TP
|
||||
.B ENOENT
|
||||
The filesystem object indicated by
|
||||
.IR dirfd
|
||||
|
@ -407,6 +420,17 @@ and
|
|||
.I pathname
|
||||
do not specify a directory.
|
||||
.TP
|
||||
.B EOPNOTSUPP
|
||||
The object indicated by
|
||||
.I pathname
|
||||
is associated with a filesystem that does not support the encoding of file
|
||||
handles.
|
||||
This error can be returned only when an fanotify file descriptor returned
|
||||
by
|
||||
.BR fanotify_init (2)
|
||||
has been created with
|
||||
.BR FAN_REPORT_FID .
|
||||
.TP
|
||||
.B EXDEV
|
||||
The filesystem object indicated by
|
||||
.I pathname
|
||||
|
@ -420,30 +444,6 @@ by
|
|||
.BR fanotify_init (2)
|
||||
has been created with
|
||||
.BR FAN_REPORT_FID .
|
||||
.TP
|
||||
.B ENODEV
|
||||
The filesystem object indicated by
|
||||
.I pathname
|
||||
is not associated with a filesystem that supports
|
||||
.I fsid
|
||||
(e.g.,
|
||||
.BR tmpfs (5)).
|
||||
This error can be returned only when an fanotify file descriptor returned
|
||||
by
|
||||
.BR fanotify_init (2)
|
||||
has been created with
|
||||
.BR FAN_REPORT_FID .
|
||||
.TP
|
||||
.B EOPNOTSUPP
|
||||
The object indicated by
|
||||
.I pathname
|
||||
is associated with a filesystem that does not support the encoding of file
|
||||
handles.
|
||||
This error can be returned only when an fanotify file descriptor returned
|
||||
by
|
||||
.BR fanotify_init (2)
|
||||
has been created with
|
||||
.BR FAN_REPORT_FID .
|
||||
.SH VERSIONS
|
||||
.BR fanotify_mark ()
|
||||
was introduced in version 2.6.36 of the Linux kernel and enabled in version
|
||||
|
|
|
@ -119,6 +119,10 @@ The
|
|||
.BR get_robust_list ()
|
||||
system call can fail with the following errors:
|
||||
.TP
|
||||
.B EFAULT
|
||||
The head of the robust futex list can't be stored at the location
|
||||
.IR head .
|
||||
.TP
|
||||
.B EPERM
|
||||
The calling process does not have permission to see the robust futex list of
|
||||
the thread with the thread ID
|
||||
|
@ -131,10 +135,6 @@ capability.
|
|||
No thread with the thread ID
|
||||
.I pid
|
||||
could be found.
|
||||
.TP
|
||||
.B EFAULT
|
||||
The head of the robust futex list can't be stored at the location
|
||||
.IR head .
|
||||
.SH VERSIONS
|
||||
These system calls were added in Linux 2.6.17.
|
||||
.SH NOTES
|
||||
|
|
|
@ -89,6 +89,15 @@ Read access to the given file is not permitted.
|
|||
.B EBADF
|
||||
The given file descriptor is not valid.
|
||||
.TP
|
||||
.B EEXIST
|
||||
.I mask
|
||||
contains
|
||||
.B IN_MASK_CREATE
|
||||
and
|
||||
.I pathname
|
||||
refers to a file already being watched by the same
|
||||
.IR fd .
|
||||
.TP
|
||||
.B EFAULT
|
||||
.I pathname
|
||||
points outside of the process's accessible address space.
|
||||
|
@ -127,15 +136,6 @@ contains
|
|||
and
|
||||
.I pathname
|
||||
is not a directory.
|
||||
.TP
|
||||
.B EEXIST
|
||||
.I mask
|
||||
contains
|
||||
.B IN_MASK_CREATE
|
||||
and
|
||||
.I pathname
|
||||
refers to a file already being watched by the same
|
||||
.IR fd .
|
||||
.SH VERSIONS
|
||||
Inotify was merged into the 2.6.13 Linux kernel.
|
||||
.SH CONFORMING TO
|
||||
|
|
|
@ -151,13 +151,6 @@ is set to indicate the error.
|
|||
.SH ERRORS
|
||||
Error codes can be one of, but are not limited to, the following:
|
||||
.TP
|
||||
.B ENOMEM
|
||||
The kernel was unable to allocate sufficient memory to perform the
|
||||
operation or
|
||||
.IR dest_count
|
||||
is so large that the input argument description spans more than a single
|
||||
page of memory.
|
||||
.TP
|
||||
.B EBADF
|
||||
.IR src_fd
|
||||
is not open for reading;
|
||||
|
@ -180,6 +173,13 @@ overlapping deduplication ranges in the same file.
|
|||
One of the files is a directory and the filesystem does not support shared
|
||||
regions in directories.
|
||||
.TP
|
||||
.B ENOMEM
|
||||
The kernel was unable to allocate sufficient memory to perform the
|
||||
operation or
|
||||
.IR dest_count
|
||||
is so large that the input argument description spans more than a single
|
||||
page of memory.
|
||||
.TP
|
||||
.B EOPNOTSUPP
|
||||
This can appear if the filesystem does not support deduplicating either file
|
||||
descriptor, or if either file descriptor refers to special inodes.
|
||||
|
|
20
man2/kcmp.2
20
man2/kcmp.2
|
@ -260,10 +260,20 @@ or
|
|||
.I fd2
|
||||
is not an open file descriptor.
|
||||
.TP
|
||||
.B EFAULT
|
||||
The epoll slot addressed by
|
||||
.I idx2
|
||||
is outside of the user's address space.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.I type
|
||||
is invalid.
|
||||
.TP
|
||||
.B ENOENT
|
||||
The target file is not present in
|
||||
.BR epoll (7)
|
||||
instance.
|
||||
.TP
|
||||
.B EPERM
|
||||
Insufficient permission to inspect process resources.
|
||||
The
|
||||
|
@ -285,16 +295,6 @@ Process
|
|||
or
|
||||
.I pid2
|
||||
does not exist.
|
||||
.TP
|
||||
.B EFAULT
|
||||
The epoll slot addressed by
|
||||
.I idx2
|
||||
is outside of the user's address space.
|
||||
.TP
|
||||
.B ENOENT
|
||||
The target file is not present in
|
||||
.BR epoll (7)
|
||||
instance.
|
||||
.SH VERSIONS
|
||||
The
|
||||
.BR kcmp ()
|
||||
|
|
20
man2/prctl.2
20
man2/prctl.2
|
@ -1659,6 +1659,16 @@ and
|
|||
.IR arg3
|
||||
does not specify a valid capability.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.I option
|
||||
was
|
||||
.BR PR_GET_SPECULATION_CTRL
|
||||
or
|
||||
.BR PR_SET_SPECULATION_CTRL
|
||||
and unused arguments to
|
||||
.BR prctl ()
|
||||
are not 0.
|
||||
.TP
|
||||
.B ENODEV
|
||||
.I option
|
||||
was
|
||||
|
@ -1763,16 +1773,6 @@ is neither
|
|||
.BR PR_SPEC_DISABLE ,
|
||||
nor
|
||||
.BR PR_SPEC_FORCE_DISABLE .
|
||||
.TP
|
||||
.B EINVAL
|
||||
.I option
|
||||
was
|
||||
.BR PR_GET_SPECULATION_CTRL
|
||||
or
|
||||
.BR PR_SET_SPECULATION_CTRL
|
||||
and unused arguments to
|
||||
.BR prctl ()
|
||||
are not 0.
|
||||
.SH VERSIONS
|
||||
The
|
||||
.BR prctl ()
|
||||
|
|
22
man2/tkill.2
22
man2/tkill.2
|
@ -95,17 +95,6 @@ On error, \-1 is returned, and \fIerrno\fP
|
|||
is set appropriately.
|
||||
.SH ERRORS
|
||||
.TP
|
||||
.B EINVAL
|
||||
An invalid thread ID, thread group ID, or signal was specified.
|
||||
.TP
|
||||
.B EPERM
|
||||
Permission denied.
|
||||
For the required permissions, see
|
||||
.BR kill (2).
|
||||
.TP
|
||||
.B ESRCH
|
||||
No process with the specified thread ID (and thread group ID) exists.
|
||||
.TP
|
||||
.B EAGAIN
|
||||
The
|
||||
.B RLIMIT_SIGPENDING
|
||||
|
@ -117,6 +106,17 @@ is a real-time signal.
|
|||
Insufficient kernel memory was available and
|
||||
.I sig
|
||||
is a real-time signal.
|
||||
.TP
|
||||
.B EINVAL
|
||||
An invalid thread ID, thread group ID, or signal was specified.
|
||||
.TP
|
||||
.B EPERM
|
||||
Permission denied.
|
||||
For the required permissions, see
|
||||
.BR kill (2).
|
||||
.TP
|
||||
.B ESRCH
|
||||
No process with the specified thread ID (and thread group ID) exists.
|
||||
.SH VERSIONS
|
||||
.BR tkill ()
|
||||
is supported since Linux 2.4.19 / 2.5.4.
|
||||
|
|
|
@ -64,6 +64,11 @@ returns 0 on success, and an error number upon error.
|
|||
.B EBADF
|
||||
Bad file descriptor.
|
||||
.TP
|
||||
.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
|
||||
.B ENODEV
|
||||
File descriptor refers to a slave pseudoterminal device
|
||||
but the corresponding pathname could not be found (see NOTES).
|
||||
.TP
|
||||
.B ENOTTY
|
||||
File descriptor does not refer to a terminal device.
|
||||
.TP
|
||||
|
@ -71,11 +76,6 @@ File descriptor does not refer to a terminal device.
|
|||
.RB ( ttyname_r ())
|
||||
.I buflen
|
||||
was too small to allow storing the pathname.
|
||||
.TP
|
||||
.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
|
||||
.B ENODEV
|
||||
File descriptor refers to a slave pseudoterminal device
|
||||
but the corresponding pathname could not be found (see NOTES).
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
.BR attributes (7).
|
||||
|
|
Loading…
Reference in New Issue