fs/coredump: prevent fsuid=0 dumps into user-controlled directories
[firefly-linux-kernel-4.4.55.git] / include / linux / fs.h
index 3aa51425416148f5bec14b6faf4e6f4e81370a22..22c5a0cf16e3bd804919f093740d8af312f4ac6a 100644 (file)
@@ -2217,7 +2217,7 @@ extern long do_sys_open(int dfd, const char __user *filename, int flags,
 extern struct file *file_open_name(struct filename *, int, umode_t);
 extern struct file *filp_open(const char *, int, umode_t);
 extern struct file *file_open_root(struct dentry *, struct vfsmount *,
-                                  const char *, int);
+                                  const char *, int, umode_t);
 extern struct file * dentry_open(const struct path *, int, const struct cred *);
 extern int filp_close(struct file *, fl_owner_t id);