Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- security/apparmor/domain.c
- security/apparmor/file.c, line 169
- security/apparmor/mount.c
- security/apparmor/task.c, line 343
Smatch caller information:
security/apparmor/file.c path_name() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 7604050943012937728,8352754620624068608,8872550199085510656 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 2917313255294349312 |
| PARAM_VALUE | 4 | *info | 0 |
| PARAM_VALUE | 4 | *(*info) | 0 |
| DATA_SOURCE | 0 | path | $3 |
| DATA_SOURCE | 1 | flags | $4 |
| DATA_SOURCE | 2 | buffer | $5 |
| DATA_SOURCE | 3 | name | $6 |
security/apparmor/task.c get_current_exe_path() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 2989835958158786560 |
| PARAM_VALUE | 0 | path->dentry | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2 |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 4541023753320755200 |
| PARAM_VALUE | 4 | info | 0 |
| PARAM_VALUE | 5 | disconnected | 0 |
| DATA_SOURCE | 2 | buffer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/apparmor/mount.c build_pivotroot() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 1372833673653506048 |
| PARAM_VALUE | 4 | info | 8490790253190295600 |
| DATA_SOURCE | 0 | path | $3 |
| DATA_SOURCE | 2 | buffer | $4 |
security/apparmor/mount.c build_pivotroot() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 3715921033252093952 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 8490790253190295600 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
security/apparmor/mount.c match_mnt() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 7896985738532192256 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 8037483951710490624 |
| PARAM_VALUE | 4 | *info | 0 |
| PARAM_VALUE | 4 | *(*info) | 0 |
| BUF_SIZE | 0 | path | (-1),16 |
| BUF_SIZE | 0 | path | (-1),16 |
| DATA_SOURCE | 0 | path | $3 |
| DATA_SOURCE | 2 | buffer | $4 |
security/apparmor/mount.c match_mnt_path_str() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 3099509064564899840 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 701974921058553904,3653992199726731312,4682767133795856432,7679699351578632240,7856035615027286064 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
security/apparmor/mount.c profile_umount() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 8935542277810339840 |
| PARAM_VALUE | 0 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | path->dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 7580179529705930752 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 2229218381676511280 |
| PARAM_VALUE | 4 | *info | 0,3554323739962322944,4694447503368695808,6168487426619887616,8913683159705989120 |
| PARAM_VALUE | 4 | *(*info) | 0 |
| DATA_SOURCE | 0 | path | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
security/apparmor/domain.c profile_onexec() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 7556169164465565696 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 8088802324220874752 |
| PARAM_VALUE | 4 | *info | 2538013120097259520 |
| PARAM_VALUE | 4 | *(*info) | 0 |
| DATA_SOURCE | 2 | buffer | $5 |
| TERMINATED | 4 | *info | 1 |
| TERMINATED | 4 | *(*info) | 1 |
security/apparmor/domain.c profile_transition() -> aa_path_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path | 4096-ptr_max |
| PARAM_VALUE | 0 | path->mnt | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | name | 734658424635547648 |
| PARAM_VALUE | 3 | *name | 0 |
| PARAM_VALUE | 3 | *(*name) | 0 |
| PARAM_VALUE | 4 | info | 995747886704857088 |
| PARAM_VALUE | 4 | *info | 0 |
| PARAM_VALUE | 4 | *(*info) | 0 |
| DATA_SOURCE | 2 | buffer | $3 |