Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115579075
D48332.id148806.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
359 B
Referenced Files
None
Subscribers
None
D48332.id148806.diff
View Options
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1185,7 +1185,7 @@
* except O_EXEC is ignored.
*/
if ((flags & O_PATH) != 0) {
- flags &= ~(O_CREAT | O_ACCMODE);
+ flags &= ~O_ACCMODE;
} else if ((flags & O_EXEC) != 0) {
if (flags & O_ACCMODE)
return (EINVAL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 2:30 PM (1 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17805618
Default Alt Text
D48332.id148806.diff (359 B)
Attached To
Mode
D48332: open(2): allow O_PATH | O_CREAT
Attached
Detach File
Event Timeline
Log In to Comment