Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108068613
D30487.id90204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
623 B
Referenced Files
None
Subscribers
None
D30487.id90204.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
@@ -861,6 +861,9 @@
return (0);
}
+ if (args->flags & LINUX_AT_SYMLINK_NOFOLLOW)
+ flags |= AT_SYMLINK_NOFOLLOW;
+
if (!LUSECONVPATH(td)) {
if (args->pathname != NULL) {
return (kern_utimensat(td, dfd, args->pathname,
@@ -873,9 +876,6 @@
else if (args->flags != 0)
return (EINVAL);
- if (args->flags & LINUX_AT_SYMLINK_NOFOLLOW)
- flags |= AT_SYMLINK_NOFOLLOW;
-
if (path == NULL)
error = kern_futimens(td, dfd, timesp, UIO_SYSSPACE);
else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 3:03 AM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16024109
Default Alt Text
D30487.id90204.diff (623 B)
Attached To
Mode
D30487: linux: convert flags before use.
Attached
Detach File
Event Timeline
Log In to Comment