Searched refs:path_permission (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/ |
D | init.c | 52 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chdir() 67 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chroot() 121 error = path_permission(&path, MAY_ACCESS); in init_eaccess()
|
D | open.c | 518 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 566 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
|
/linux-6.1.9/kernel/bpf/ |
D | inode.c | 511 ret = path_permission(&path, ACC_MODE(flags)); in bpf_obj_do_get()
|
/linux-6.1.9/fs/notify/inotify/ |
D | inotify_user.c | 382 error = path_permission(path, MAY_READ); in inotify_find_inode()
|
/linux-6.1.9/fs/notify/fanotify/ |
D | fanotify_user.c | 988 ret = path_permission(path, MAY_READ); in fanotify_find_path()
|
/linux-6.1.9/include/linux/ |
D | fs.h | 2928 static inline int path_permission(const struct path *path, int mask) in path_permission() function
|
/linux-6.1.9/net/unix/ |
D | af_unix.c | 1060 err = path_permission(&path, MAY_WRITE); in unix_find_bsd()
|