Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152642808
D30518.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
637 B
Referenced Files
None
Subscribers
None
D30518.id.diff
View Options
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -813,7 +813,7 @@
dfd = (args->dfd == LINUX_AT_FDCWD) ? AT_FDCWD : args->dfd;
- if (args->flags & ~LINUX_AT_SYMLINK_NOFOLLOW)
+ if (args->flags & ~(LINUX_AT_SYMLINK_NOFOLLOW | LINUX_AT_EMPTY_PATH))
return (EINVAL);
if (args->times != NULL) {
@@ -863,6 +863,8 @@
if (args->flags & LINUX_AT_SYMLINK_NOFOLLOW)
flags |= AT_SYMLINK_NOFOLLOW;
+ if (args->flags & LINUX_AT_EMPTY_PATH)
+ flags |= AT_EMPTY_PATH;
if (!LUSECONVPATH(td)) {
if (args->pathname != NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 17, 5:33 AM (11 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31580995
Default Alt Text
D30518.id.diff (637 B)
Attached To
Mode
D30518: linux(4): Follow Linux, add AT_EMPTY_PATH support to the utimensat syscall.
Attached
Detach File
Event Timeline
Log In to Comment