Page MenuHomeFreeBSD

D30487.id90204.diff
No OneTemporary

D30487.id90204.diff

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

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)

Event Timeline