Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/apparmor/file.c __file_path_perm() -> profile_path_perm()

Type Parameter Key Value
PARAM_VALUE 2 profile 1-u64max
PARAM_VALUE 3 path 4096-ptr_max
PARAM_VALUE 3 path->dentry 4096-ptr_max
PARAM_VALUE 3 path->mnt 4096-ptr_max
PARAM_VALUE 4 buffer 1-u64max
PARAM_VALUE 6 cond 9110978451386368000
PARAM_VALUE 7 flags 65536-65537
PARAM_VALUE 8 perms 5953789125568098304
BUF_SIZE 0 op (-1),10,13
BUF_SIZE 0 op (-1),10,13
DATA_SOURCE 0 op $0
DATA_SOURCE 1 subj_cred $1
DATA_SOURCE 2 profile r __aa_label_next_not_in_set
DATA_SOURCE 4 buffer r aa_get_buffer
DATA_SOURCE 5 request $5
STR_LEN 0 op (-1),9,12
STR_LEN 0 op (-1),9,12
BIT_INFO 7 flags 0x10000,0x1ffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &files->file_lock
HALF_LOCKED2 &tty->files_lock

security/apparmor/file.c __file_path_perm() -> profile_path_perm()

Type Parameter Key Value
PARAM_VALUE 2 profile 1-u64max
PARAM_VALUE 3 path 4096-ptr_max
PARAM_VALUE 3 path->dentry 4096-ptr_max
PARAM_VALUE 3 path->mnt 4096-ptr_max
PARAM_VALUE 4 buffer 1-u64max
PARAM_VALUE 6 cond 9110978451386368000
PARAM_VALUE 7 flags 65536-65537
PARAM_VALUE 8 perms 5953789125568098304
BUF_SIZE 0 op (-1),10,13
BUF_SIZE 0 op (-1),10,13
DATA_SOURCE 0 op $0
DATA_SOURCE 1 subj_cred $1
DATA_SOURCE 4 buffer r aa_get_buffer
DATA_SOURCE 5 request $5
STR_LEN 0 op (-1),9,12
STR_LEN 0 op (-1),9,12
BIT_INFO 7 flags 0x10000,0x1ffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &files->file_lock
HALF_LOCKED2 &tty->files_lock

security/apparmor/file.c __file_path_perm() -> profile_path_perm()

Type Parameter Key Value
PARAM_VALUE 2 profile 1-u64max
PARAM_VALUE 3 path 4096-ptr_max
PARAM_VALUE 3 path->dentry 4096-ptr_max
PARAM_VALUE 3 path->mnt 4096-ptr_max
PARAM_VALUE 4 buffer 1-u64max
PARAM_VALUE 6 cond 9110978451386368000
PARAM_VALUE 7 flags 65536-65537
PARAM_VALUE 8 perms 5953789125568098304
BUF_SIZE 0 op (-1),10,13
BUF_SIZE 0 op (-1),10,13
DATA_SOURCE 0 op $0
DATA_SOURCE 1 subj_cred $1
DATA_SOURCE 2 profile r __aa_label_next_not_in_set
DATA_SOURCE 4 buffer r aa_get_buffer
DATA_SOURCE 5 request $5
STR_LEN 0 op (-1),9,12
STR_LEN 0 op (-1),9,12
BIT_INFO 7 flags 0x10000,0x1ffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &files->file_lock
HALF_LOCKED2 &tty->files_lock

security/apparmor/file.c aa_path_perm() -> profile_path_perm()

Type Parameter Key Value
PARAM_VALUE 2 profile 1-u64max
PARAM_VALUE 3 path 4096-ptr_max
PARAM_VALUE 4 buffer 1-u64max
PARAM_VALUE 6 cond 255133159422676992,323956504514027520,576040295627952128,1868001062833639424,4053066457634979840,4645434260409507840,6944398326622257152
PARAM_VALUE 7 flags 65536-65539
PARAM_VALUE 8 perms 4048704588912881664
BUF_SIZE 0 op (-1),5-15
BUF_SIZE 0 op (-1),5-15
DATA_SOURCE 0 op $0
DATA_SOURCE 1 subj_cred $1
DATA_SOURCE 3 path $3
DATA_SOURCE 4 buffer r aa_get_buffer
DATA_SOURCE 5 request $5
DATA_SOURCE 6 cond $6
DATA_SOURCE 7 flags $4 [m]
STR_LEN 0 op (-1),4-8,10-11
STR_LEN 0 op (-1),4-8,10-11
BIT_INFO 7 flags 0x10000,0x1ffff