Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/mount.c aa_bind_mount() -> match_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devpath | 3684457401865936896 |
| PARAM_VALUE | 4 | devbuffer | 1-u64max |
| PARAM_VALUE | 5 | type | 0 |
| PARAM_VALUE | 6 | flags | 4096-20480 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | binary | 0 |
| PARAM_VALUE | 9 | ad | 7856035615027286016 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->error | (-13),(-2),0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.flags | 4096-20480 |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0 |
| PARAM_VALUE | 9 | ad->name | 0 |
| PARAM_VALUE | 9 | ad->net.addr | 0 |
| PARAM_VALUE | 9 | ad->net.type | 0 |
| PARAM_VALUE | 9 | ad->op | 5915720910712598528 |
| PARAM_VALUE | 9 | ad->peer | 0 |
| PARAM_VALUE | 9 | ad->rlim.max | 0 |
| PARAM_VALUE | 9 | ad->signal | 0 |
| PARAM_VALUE | 9 | ad->tags | 0 |
| PARAM_VALUE | 9 | ad->type | 0 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 4 | devbuffer | r aa_get_buffer |
| DATA_SOURCE | 6 | flags | $4 [m] |
| BIT_INFO | 6 | flags | 0x1000,0x5000 |
| BIT_INFO | 6 | flags | 0x1000,0x5000 |
security/apparmor/mount.c aa_mount_change_type() -> match_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devpath | 0 |
| PARAM_VALUE | 4 | devbuffer | 0 |
| PARAM_VALUE | 5 | type | 0 |
| PARAM_VALUE | 6 | flags | 0,131072-2015232 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | binary | 0 |
| PARAM_VALUE | 9 | ad | 3653992199726731264 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 3653992199726731264 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 3653992199726731264 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 3653992199726731264 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->error | (-13),(-2),0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.flags | 0,131072-2015232 |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0 |
| PARAM_VALUE | 9 | ad->name | 0 |
| PARAM_VALUE | 9 | ad->net.addr | 0 |
| PARAM_VALUE | 9 | ad->net.type | 0 |
| PARAM_VALUE | 9 | ad->op | 5915720910712598528 |
| PARAM_VALUE | 9 | ad->peer | 0 |
| PARAM_VALUE | 9 | ad->rlim.max | 0 |
| PARAM_VALUE | 9 | ad->signal | 0 |
| PARAM_VALUE | 9 | ad->tags | 0 |
| PARAM_VALUE | 9 | ad->type | 0 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 6 | flags | $3 [m] |
| BIT_INFO | 6 | flags | 0x0,0x1ec000 |
| BIT_INFO | 6 | flags | 0x0,0x1ec000 |
security/apparmor/mount.c aa_move_mount() -> match_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devpath | 0,4096-ptr_max |
| PARAM_VALUE | 4 | devbuffer | 1-u64max |
| PARAM_VALUE | 5 | type | 0 |
| PARAM_VALUE | 6 | flags | 8192 |
| PARAM_VALUE | 7 | data | 0 |
| PARAM_VALUE | 8 | binary | 0 |
| PARAM_VALUE | 9 | ad | 4682767133795856384 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 4682767133795856384 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 4682767133795856384 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 4682767133795856384 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->error | (-13),(-2),0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.flags | 8192 |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0 |
| PARAM_VALUE | 9 | ad->name | 0 |
| PARAM_VALUE | 9 | ad->net.addr | 0 |
| PARAM_VALUE | 9 | ad->net.type | 0 |
| PARAM_VALUE | 9 | ad->op | 5915720910712598528 |
| PARAM_VALUE | 9 | ad->peer | 0 |
| PARAM_VALUE | 9 | ad->rlim.max | 0 |
| PARAM_VALUE | 9 | ad->signal | 0 |
| PARAM_VALUE | 9 | ad->tags | 0 |
| PARAM_VALUE | 9 | ad->type | 0 |
| DATA_SOURCE | 1 | path | $3 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 3 | devpath | $2 [m] |
| DATA_SOURCE | 4 | devbuffer | r aa_get_buffer |
security/apparmor/mount.c aa_new_mount() -> match_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devpath | 1632332908550426624 |
| PARAM_VALUE | 4 | devbuffer | 1-u64max |
| PARAM_VALUE | 5 | type | 1-u64max |
| PARAM_VALUE | 5 | *type | 0 |
| PARAM_VALUE | 9 | ad | 701974921058553856 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 701974921058553856 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 701974921058553856 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 701974921058553856 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->error | (-13),(-2),0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0 |
| PARAM_VALUE | 9 | ad->name | 0 |
| PARAM_VALUE | 9 | ad->net.addr | 0 |
| PARAM_VALUE | 9 | ad->net.type | 0 |
| PARAM_VALUE | 9 | ad->op | 5915720910712598528 |
| PARAM_VALUE | 9 | ad->peer | 0 |
| PARAM_VALUE | 9 | ad->rlim.max | 0 |
| PARAM_VALUE | 9 | ad->signal | 0 |
| PARAM_VALUE | 9 | ad->tags | 0 |
| PARAM_VALUE | 9 | ad->type | 0 |
| BUF_SIZE | 3 | devpath | 16 |
| DATA_SOURCE | 1 | path | $3 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 4 | devbuffer | r aa_get_buffer |
| DATA_SOURCE | 5 | type | $4 |
| DATA_SOURCE | 6 | flags | $5 |
| DATA_SOURCE | 7 | data | $6 |
| BIT_INFO | 6 | flags | 0x0,0xffffffff8fa1cfdf |
| BIT_INFO | 6 | flags | 0x0,0xffffffff8fa1cfdf |
| BIT_INFO | 8 | binary | 0x0,0x0 |
security/apparmor/mount.c aa_remount() -> match_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | path->dentry->d_sb->s_type | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devpath | 0 |
| PARAM_VALUE | 4 | devbuffer | 0 |
| PARAM_VALUE | 5 | type | 0 |
| PARAM_VALUE | 6 | flags | 32-u64max |
| PARAM_VALUE | 9 | ad | 7679699351578632192 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 7679699351578632192 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 7679699351578632192 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 7679699351578632192 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->error | (-13),(-2),0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.flags | 32-u64max |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0 |
| PARAM_VALUE | 9 | ad->name | 0 |
| PARAM_VALUE | 9 | ad->net.addr | 0 |
| PARAM_VALUE | 9 | ad->net.type | 0 |
| PARAM_VALUE | 9 | ad->op | 5915720910712598528 |
| PARAM_VALUE | 9 | ad->peer | 0 |
| PARAM_VALUE | 9 | ad->rlim.max | 0 |
| PARAM_VALUE | 9 | ad->signal | 0 |
| PARAM_VALUE | 9 | ad->tags | 0 |
| PARAM_VALUE | 9 | ad->type | 0 |
| DATA_SOURCE | 1 | path | $2 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 6 | flags | $3 |
| DATA_SOURCE | 7 | data | $4 |
| BIT_INFO | 6 | flags | 0x20,0xffffffff8fbfffff |
| BIT_INFO | 6 | flags | 0x20,0xffffffff8fbfffff |
| BIT_INFO | 8 | binary | 0x0,0x0 |