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
|
.I fd_out
|
||||||
is not a regular file.
|
is not a regular file.
|
||||||
.TP
|
.TP
|
||||||
|
.B EIO
|
||||||
|
A low-level I/O error occurred while copying.
|
||||||
|
.TP
|
||||||
.B EISDIR
|
.B EISDIR
|
||||||
Either
|
Either
|
||||||
.I fd_in
|
.I fd_in
|
||||||
|
@ -160,23 +163,19 @@ or
|
||||||
.I fd_out
|
.I fd_out
|
||||||
refers to a directory.
|
refers to a directory.
|
||||||
.TP
|
.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
|
.B ENOMEM
|
||||||
Out of memory.
|
Out of memory.
|
||||||
.TP
|
.TP
|
||||||
.B ENOSPC
|
.B ENOSPC
|
||||||
There is not enough space on the target filesystem to complete the copy.
|
There is not enough space on the target filesystem to complete the copy.
|
||||||
.TP
|
.TP
|
||||||
.B EXDEV
|
.B EOVERFLOW
|
||||||
The files referred to by
|
The requested source or destination range is too large to represent in the
|
||||||
.IR file_in " and " file_out
|
specified data types.
|
||||||
are not on the same mounted filesystem (pre Linux 5.3).
|
.TP
|
||||||
|
.B EPERM
|
||||||
|
.I fd_out
|
||||||
|
refers to an immutable file.
|
||||||
.TP
|
.TP
|
||||||
.B TXTBSY
|
.B TXTBSY
|
||||||
Either
|
Either
|
||||||
|
@ -185,10 +184,10 @@ or
|
||||||
.I fd_out
|
.I fd_out
|
||||||
refers to an active swap file.
|
refers to an active swap file.
|
||||||
.TP
|
.TP
|
||||||
.B EPERM
|
.B EXDEV
|
||||||
.I fd_out
|
The files referred to by
|
||||||
refers to an immutable file.
|
.IR file_in " and " file_out
|
||||||
.TP
|
are not on the same mounted filesystem (pre Linux 5.3).
|
||||||
.SH VERSIONS
|
.SH VERSIONS
|
||||||
The
|
The
|
||||||
.BR copy_file_range ()
|
.BR copy_file_range ()
|
||||||
|
|
|
@ -373,6 +373,19 @@ and mask contains a flag for permission events
|
||||||
or
|
or
|
||||||
.BR FAN_ACCESS_PERM ).
|
.BR FAN_ACCESS_PERM ).
|
||||||
.TP
|
.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
|
.B ENOENT
|
||||||
The filesystem object indicated by
|
The filesystem object indicated by
|
||||||
.IR dirfd
|
.IR dirfd
|
||||||
|
@ -407,6 +420,17 @@ and
|
||||||
.I pathname
|
.I pathname
|
||||||
do not specify a directory.
|
do not specify a directory.
|
||||||
.TP
|
.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
|
.B EXDEV
|
||||||
The filesystem object indicated by
|
The filesystem object indicated by
|
||||||
.I pathname
|
.I pathname
|
||||||
|
@ -420,30 +444,6 @@ by
|
||||||
.BR fanotify_init (2)
|
.BR fanotify_init (2)
|
||||||
has been created with
|
has been created with
|
||||||
.BR FAN_REPORT_FID .
|
.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
|
.SH VERSIONS
|
||||||
.BR fanotify_mark ()
|
.BR fanotify_mark ()
|
||||||
was introduced in version 2.6.36 of the Linux kernel and enabled in version
|
was introduced in version 2.6.36 of the Linux kernel and enabled in version
|
||||||
|
|
|
@ -119,6 +119,10 @@ The
|
||||||
.BR get_robust_list ()
|
.BR get_robust_list ()
|
||||||
system call can fail with the following errors:
|
system call can fail with the following errors:
|
||||||
.TP
|
.TP
|
||||||
|
.B EFAULT
|
||||||
|
The head of the robust futex list can't be stored at the location
|
||||||
|
.IR head .
|
||||||
|
.TP
|
||||||
.B EPERM
|
.B EPERM
|
||||||
The calling process does not have permission to see the robust futex list of
|
The calling process does not have permission to see the robust futex list of
|
||||||
the thread with the thread ID
|
the thread with the thread ID
|
||||||
|
@ -131,10 +135,6 @@ capability.
|
||||||
No thread with the thread ID
|
No thread with the thread ID
|
||||||
.I pid
|
.I pid
|
||||||
could be found.
|
could be found.
|
||||||
.TP
|
|
||||||
.B EFAULT
|
|
||||||
The head of the robust futex list can't be stored at the location
|
|
||||||
.IR head .
|
|
||||||
.SH VERSIONS
|
.SH VERSIONS
|
||||||
These system calls were added in Linux 2.6.17.
|
These system calls were added in Linux 2.6.17.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -89,6 +89,15 @@ Read access to the given file is not permitted.
|
||||||
.B EBADF
|
.B EBADF
|
||||||
The given file descriptor is not valid.
|
The given file descriptor is not valid.
|
||||||
.TP
|
.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
|
.B EFAULT
|
||||||
.I pathname
|
.I pathname
|
||||||
points outside of the process's accessible address space.
|
points outside of the process's accessible address space.
|
||||||
|
@ -127,15 +136,6 @@ contains
|
||||||
and
|
and
|
||||||
.I pathname
|
.I pathname
|
||||||
is not a directory.
|
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
|
.SH VERSIONS
|
||||||
Inotify was merged into the 2.6.13 Linux kernel.
|
Inotify was merged into the 2.6.13 Linux kernel.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
|
|
|
@ -151,13 +151,6 @@ is set to indicate the error.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
Error codes can be one of, but are not limited to, the following:
|
Error codes can be one of, but are not limited to, the following:
|
||||||
.TP
|
.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
|
.B EBADF
|
||||||
.IR src_fd
|
.IR src_fd
|
||||||
is not open for reading;
|
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
|
One of the files is a directory and the filesystem does not support shared
|
||||||
regions in directories.
|
regions in directories.
|
||||||
.TP
|
.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
|
.B EOPNOTSUPP
|
||||||
This can appear if the filesystem does not support deduplicating either file
|
This can appear if the filesystem does not support deduplicating either file
|
||||||
descriptor, or if either file descriptor refers to special inodes.
|
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
|
.I fd2
|
||||||
is not an open file descriptor.
|
is not an open file descriptor.
|
||||||
.TP
|
.TP
|
||||||
|
.B EFAULT
|
||||||
|
The epoll slot addressed by
|
||||||
|
.I idx2
|
||||||
|
is outside of the user's address space.
|
||||||
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
.I type
|
.I type
|
||||||
is invalid.
|
is invalid.
|
||||||
.TP
|
.TP
|
||||||
|
.B ENOENT
|
||||||
|
The target file is not present in
|
||||||
|
.BR epoll (7)
|
||||||
|
instance.
|
||||||
|
.TP
|
||||||
.B EPERM
|
.B EPERM
|
||||||
Insufficient permission to inspect process resources.
|
Insufficient permission to inspect process resources.
|
||||||
The
|
The
|
||||||
|
@ -285,16 +295,6 @@ Process
|
||||||
or
|
or
|
||||||
.I pid2
|
.I pid2
|
||||||
does not exist.
|
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
|
.SH VERSIONS
|
||||||
The
|
The
|
||||||
.BR kcmp ()
|
.BR kcmp ()
|
||||||
|
|
20
man2/prctl.2
20
man2/prctl.2
|
@ -1659,6 +1659,16 @@ and
|
||||||
.IR arg3
|
.IR arg3
|
||||||
does not specify a valid capability.
|
does not specify a valid capability.
|
||||||
.TP
|
.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
|
.B ENODEV
|
||||||
.I option
|
.I option
|
||||||
was
|
was
|
||||||
|
@ -1763,16 +1773,6 @@ is neither
|
||||||
.BR PR_SPEC_DISABLE ,
|
.BR PR_SPEC_DISABLE ,
|
||||||
nor
|
nor
|
||||||
.BR PR_SPEC_FORCE_DISABLE .
|
.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
|
.SH VERSIONS
|
||||||
The
|
The
|
||||||
.BR prctl ()
|
.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.
|
is set appropriately.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.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
|
.B EAGAIN
|
||||||
The
|
The
|
||||||
.B RLIMIT_SIGPENDING
|
.B RLIMIT_SIGPENDING
|
||||||
|
@ -117,6 +106,17 @@ is a real-time signal.
|
||||||
Insufficient kernel memory was available and
|
Insufficient kernel memory was available and
|
||||||
.I sig
|
.I sig
|
||||||
is a real-time signal.
|
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
|
.SH VERSIONS
|
||||||
.BR tkill ()
|
.BR tkill ()
|
||||||
is supported since Linux 2.4.19 / 2.5.4.
|
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
|
.B EBADF
|
||||||
Bad file descriptor.
|
Bad file descriptor.
|
||||||
.TP
|
.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
|
.B ENOTTY
|
||||||
File descriptor does not refer to a terminal device.
|
File descriptor does not refer to a terminal device.
|
||||||
.TP
|
.TP
|
||||||
|
@ -71,11 +76,6 @@ File descriptor does not refer to a terminal device.
|
||||||
.RB ( ttyname_r ())
|
.RB ( ttyname_r ())
|
||||||
.I buflen
|
.I buflen
|
||||||
was too small to allow storing the pathname.
|
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
|
.SH ATTRIBUTES
|
||||||
For an explanation of the terms used in this section, see
|
For an explanation of the terms used in this section, see
|
||||||
.BR attributes (7).
|
.BR attributes (7).
|
||||||
|
|
Loading…
Reference in New Issue