Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/hooks.c match_file() -> file_to_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 1-u64max |
| DATA_SOURCE | 0 | file | $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/selinux/hooks.c open_file_to_av() -> file_to_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
security/selinux/hooks.c selinux_binder_transfer_file() -> file_to_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $2 |
security/selinux/hooks.c selinux_file_receive() -> file_to_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | file | $0 |