mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
open: make non-POSIX errno value more apparent
In the errno list, add an explicit note and reference to the note in the STANDARDS section. When O_NOFOLLOW is specified and the target is a symbolic link FreeBSD sets errno to a value different than that specified by POSIX. Commit295159dfa3added a note to this effect, but I missed it when reading through the list of errno values. PR: 214633 Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43618 (cherry picked from commitea6a6b63e1)
This commit is contained in:
parent
0416bffd51
commit
c3c75c142c
1 changed files with 5 additions and 0 deletions
|
|
@ -487,6 +487,10 @@ The system file table is full.
|
|||
.It Bq Er EMLINK
|
||||
.Dv O_NOFOLLOW
|
||||
was specified and the target is a symbolic link.
|
||||
.Tn POSIX
|
||||
specifies a different error for this case; see the note in
|
||||
.Sx STANDARDS
|
||||
below.
|
||||
.It Bq Er ENXIO
|
||||
The named file is a character special or block
|
||||
special file, and the device associated with this special file
|
||||
|
|
@ -649,6 +653,7 @@ is set, and the process is in capability mode.
|
|||
.Sh STANDARDS
|
||||
These functions are specified by
|
||||
.St -p1003.1-2008 .
|
||||
.Pp
|
||||
.Fx
|
||||
sets
|
||||
.Va errno
|
||||
|
|
|
|||
Loading…
Reference in a new issue