Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/selinux/hooks.c flush_unauthorized_files() -> file_path_has_perm()

Type Parameter Key Value
PARAM_VALUE 0 cred 4096-ptr_max
PARAM_VALUE 2 av 6
DATA_SOURCE 0 cred $0
PREEMPT_ADD <- disables preempt
LOCK2 &tty->files_lock
TYPE_LOCK (struct tty_struct)->files_lock

security/selinux/hooks.c selinux_file_open() -> file_path_has_perm()

Type Parameter Key Value
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 av 1-2,4,6,512,514,262145-262146,262148,262150,262656,262658
DATA_SOURCE 1 file $0