Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169694188
D8586.id22362.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
752 B
Referenced Files
None
Subscribers
None
D8586.id22362.diff
View Options
Index: lib/libc/sys/open.2
===================================================================
--- lib/libc/sys/open.2
+++ lib/libc/sys/open.2
@@ -503,6 +503,21 @@
.Fn openat
function was introduced in
.Fx 8.0 .
+.Sh STANDARDS
+These functions are specified by
+.St -p1003.1-2008 .
+This implementation fails with
+.Bq Er EMLINK
+if
+.Dv O_NOFOLLOW
+is specified and the target is a symbolic link
+instead of the
+.Bq Er ELOOP
+specified by
+.Tn POSIX ,
+so that the case of too many symbolic links while translating the non-final
+components of the pathname can be distinguished from the case of a symbolic
+link in the final component of the pathname.
.Sh BUGS
The Open Group Extended API Set 2 specification requires that the test
for whether
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 3, 7:42 AM (8 m, 57 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38081518
Default Alt Text
D8586.id22362.diff (752 B)
Attached To
Mode
D8586: open(2): Clarify non-POSIX error when opening a symlink with O_NOFOLLOW.
Attached
Detach File
Event Timeline
Log In to Comment