openat2.2: Place ERRORS in alphabetical order

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-30 10:17:22 +02:00
parent 0105739e8b
commit 03625dc12d
1 changed files with 26 additions and 26 deletions

View File

@ -291,22 +291,6 @@ includes all of the errors returned by
.BR openat (2),
as well as the following additional errors:
.TP
.B EINVAL
An unknown flag or invalid value was specified in
.IR how .
.TP
.B EINVAL
.I mode
is non-zero, but
.I flags
does not contain
.BR O_CREAT " or " O_TMPFILE .
.TP
.B EINVAL
.I size
was smaller than any known version of
.IR "struct open_how" .
.TP
.B E2BIG
An extension was specified in
.IR how ,
@ -325,17 +309,21 @@ Callers may choose to retry the
.BR openat2 ()
call.
.TP
.B EXDEV
.I resolve
contains either
.BR RESOLVE_IN_ROOT " or " RESOLVE_BENEATH ,
and an escape from the root during path resolution was detected.
.B EINVAL
An unknown flag or invalid value was specified in
.IR how .
.TP
.B EXDEV
.I resolve
contains
.BR RESOLVE_NO_XDEV ,
and a path component attempted to cross a mount point.
.B EINVAL
.I mode
is non-zero, but
.I flags
does not contain
.BR O_CREAT " or " O_TMPFILE .
.TP
.B EINVAL
.I size
was smaller than any known version of
.IR "struct open_how" .
.TP
.B ELOOP
.I resolve
@ -348,6 +336,18 @@ and one of the path components was a symbolic link (or magic link).
contains
.BR RESOLVE_NO_MAGICLINKS ,
and one of the path components was a magic link.
.TP
.B EXDEV
.I resolve
contains either
.BR RESOLVE_IN_ROOT " or " RESOLVE_BENEATH ,
and an escape from the root during path resolution was detected.
.TP
.B EXDEV
.I resolve
contains
.BR RESOLVE_NO_XDEV ,
and a path component attempted to cross a mount point.
.SH VERSIONS
.BR openat2 ()
first appeared in Linux 5.6.