Searched refs:path_permission (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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 | 555 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1() 603 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in SYSCALL_DEFINE1()
|
/linux-6.6.21/kernel/bpf/ |
D | inode.c | 508 ret = path_permission(&path, ACC_MODE(flags)); in bpf_obj_do_get()
|
/linux-6.6.21/fs/notify/inotify/ |
D | inotify_user.c | 382 error = path_permission(path, MAY_READ); in inotify_find_inode()
|
/linux-6.6.21/fs/notify/fanotify/ |
D | fanotify_user.c | 1037 ret = path_permission(path, MAY_READ); in fanotify_find_path()
|
/linux-6.6.21/include/linux/ |
D | fs.h | 2676 static inline int path_permission(const struct path *path, int mask) in path_permission() function
|
/linux-6.6.21/net/unix/ |
D | af_unix.c | 1082 err = path_permission(&path, MAY_WRITE); in unix_find_bsd()
|