Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153896955
D33050.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
656 B
Referenced Files
None
Subscribers
None
D33050.diff
View Options
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -282,9 +282,6 @@
if (args->flags & ~valid_flags)
return (EINVAL);
- if (args->flags & LINUX_AT_EMPTY_PATH)
- /* XXX: not supported yet */
- return (EOPNOTSUPP);
fd = args->dirfd;
if (fd == LINUX_AT_FDCWD)
@@ -293,6 +290,8 @@
bsd_flags = 0;
if (!(args->flags & LINUX_AT_SYMLINK_FOLLOW))
bsd_flags |= AT_SYMLINK_NOFOLLOW;
+ if ((args->flags & LINUX_AT_EMPTY_PATH) != 0)
+ bsd_flags |= AT_EMPTY_PATH;
if (!LUSECONVPATH(td)) {
error = kern_getfhat(td, bsd_flags, fd, args->name,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 3:03 PM (3 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32130997
Default Alt Text
D33050.diff (656 B)
Attached To
Mode
D33050: linux_name_to_handle_at: Support AT_EMPTY_PATH.
Attached
Detach File
Event Timeline
Log In to Comment