Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/unix/af_unix.c unix_find_bsd() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 4333318779322040320
PARAM_VALUE 1 mask 2
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/inode.c bpf_obj_do_get() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 4648091648042139648
PARAM_VALUE 0 path->dentry 4096-ptr_max
PARAM_VALUE 1 mask 0-255

fs/notify/inotify/inotify_user.c inotify_find_inode() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 253687808884531200
PARAM_VALUE 1 mask 4
DATA_SOURCE 0 path $1

fs/init.c init_chdir() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 2014272273513111552
PARAM_VALUE 1 mask 65

fs/init.c init_chroot() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 4773885408162816000
PARAM_VALUE 1 mask 65

fs/init.c init_eaccess() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 5376471992324677632
PARAM_VALUE 1 mask 16

fs/notify/fanotify/fanotify_user.c do_fanotify_mark() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 8404068417170477056
PARAM_VALUE 1 mask 4

fs/open.c __do_sys_chdir() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 4805910973723955200
PARAM_VALUE 1 mask 65

fs/open.c __do_sys_chdir() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 4805910973723955200
PARAM_VALUE 1 mask 65

fs/open.c __do_sys_chroot() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 2484115035296759808
PARAM_VALUE 1 mask 65

fs/open.c __do_sys_chroot() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 2484115035296759808
PARAM_VALUE 1 mask 65

kernel/bpf/token.c bpf_token_create() -> path_permission()

Type Parameter Key Value
PARAM_VALUE 0 path 7155480821158219776
PARAM_VALUE 0 path->dentry 4096-ptr_max
PARAM_VALUE 1 mask 16