X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=fs%2Fnamespace.c;h=2fd0c8bcb8c147f28d83ddd883402e8a40a3b7cd;hb=ccfacf2b2ee49962452b8d7bd104047d681f0555;hp=2adfe7b166a3e214a13ff0417ad341bc25832619;hpb=6a965666b7e7475c2f8c8e724703db58b8a8a445;p=linux.git diff --git a/fs/namespace.c b/fs/namespace.c index 2adfe7b166a3..2fd0c8bcb8c1 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2356,7 +2356,7 @@ static struct file *open_detached_copy(struct path *path, bool recursive) return file; } -SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags) +SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags) { struct file *file; struct path path; @@ -3514,8 +3514,8 @@ SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, * Note the flags value is a combination of MOVE_MOUNT_* flags. */ SYSCALL_DEFINE5(move_mount, - int, from_dfd, const char *, from_pathname, - int, to_dfd, const char *, to_pathname, + int, from_dfd, const char __user *, from_pathname, + int, to_dfd, const char __user *, to_pathname, unsigned int, flags) { struct path from_path, to_path;