Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/file.c match_file() -> aa_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 8920125931309772800 |
| PARAM_VALUE | 3 | file | 4096-ptr_max |
| PARAM_VALUE | 4 | request | 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 |
| PARAM_VALUE | 5 | in_atomic | 1 |
| BUF_SIZE | 0 | op | 13 |
| DATA_SOURCE | 3 | file | $1 |
| STR_LEN | 0 | op | 12 |
| TERMINATED | 0 | op | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &files->file_lock | ||
| HALF_LOCKED2 | &_T->lock->alloc_lock | ||
| HALF_LOCKED2 | &p->alloc_lock | ||
| HALF_LOCKED2 | global &tasklist_lock | ||
| TYPE_LOCK | (struct files_struct)->file_lock |
security/apparmor/file.c revalidate_tty() -> aa_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 8920125931309772800 |
| PARAM_VALUE | 1 | subj_cred | 4096-ptr_max |
| PARAM_VALUE | 4 | request | 6 |
| PARAM_VALUE | 5 | in_atomic | 1 |
| BUF_SIZE | 0 | op | 13 |
| DATA_SOURCE | 1 | subj_cred | $0 |
| DATA_SOURCE | 2 | label | $1 |
| STR_LEN | 0 | op | 12 |
| TERMINATED | 0 | op | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &tty->files_lock | ||
| TYPE_LOCK | (struct tty_struct)->files_lock |
security/apparmor/lsm.c common_file_perm() -> aa_file_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | op | 777774716091924480,5272176369423908864,7146136070081822720,7714807792304844800,7963021027472015360 |
| PARAM_VALUE | 5 | in_atomic | 0 |
| BUF_SIZE | 0 | op | 10,13-14 |
| BUF_SIZE | 0 | op | 10,13-14 |
| DATA_SOURCE | 0 | op | $0 |
| DATA_SOURCE | 2 | label | r begin_current_label_crit_section |
| DATA_SOURCE | 3 | file | $1 |
| DATA_SOURCE | 4 | request | $2 |
| STR_LEN | 0 | op | 9,12-13 |
| STR_LEN | 0 | op | 9,12-13 |
| TERMINATED | 0 | op | 1 |