summaryrefslogtreecommitdiffstats
path: root/kernel/kernel/sysctl_binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kernel/sysctl_binary.c')
-rw-r--r--kernel/kernel/sysctl_binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kernel/sysctl_binary.c b/kernel/kernel/sysctl_binary.c
index 7e7746a42..10a1d7dc9 100644
--- a/kernel/kernel/sysctl_binary.c
+++ b/kernel/kernel/sysctl_binary.c
@@ -1321,7 +1321,7 @@ static ssize_t binary_sysctl(const int *name, int nlen,
}
mnt = task_active_pid_ns(current)->proc_mnt;
- file = file_open_root(mnt->mnt_root, mnt, pathname, flags);
+ file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0);
result = PTR_ERR(file);
if (IS_ERR(file))
goto out_putname;