Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/mount.c aa_new_mount() -> match_mnt_path_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 4 | *type | 0 |
| PARAM_VALUE | 8 | devinfo | 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->common.u.anonclass | 0 |
| PARAM_VALUE | 9 | ad->common.u.cap | 0 |
| PARAM_VALUE | 9 | ad->common.u.dentry | 0 |
| PARAM_VALUE | 9 | ad->common.u.file | 0 |
| PARAM_VALUE | 9 | ad->common.u.ibendport | 0 |
| PARAM_VALUE | 9 | ad->common.u.ibpkey | 0 |
| PARAM_VALUE | 9 | ad->common.u.inode | 0 |
| PARAM_VALUE | 9 | ad->common.u.ipc_id | 0 |
| PARAM_VALUE | 9 | ad->common.u.key_struct.key | 0 |
| PARAM_VALUE | 9 | ad->common.u.key_struct.key_desc | 0 |
| PARAM_VALUE | 9 | ad->common.u.kmod_name | 0 |
| PARAM_VALUE | 9 | ad->common.u.net | 0 |
| PARAM_VALUE | 9 | ad->common.u.nlmsg_type | 0 |
| PARAM_VALUE | 9 | ad->common.u.op | 0 |
| PARAM_VALUE | 9 | ad->common.u.path.dentry | 0 |
| PARAM_VALUE | 9 | ad->common.u.path.mnt | 0 |
| PARAM_VALUE | 9 | ad->common.u.reason | 0 |
| PARAM_VALUE | 9 | ad->common.u.tsk | 0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->mnt.src_name | 0-ptr_max |
| 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 |
| DATA_SOURCE | 1 | mntpath | $3 |
| DATA_SOURCE | 2 | buffer | r aa_get_buffer |
| DATA_SOURCE | 3 | devname | $2 |
| DATA_SOURCE | 4 | type | $4 |
| DATA_SOURCE | 5 | flags | $5 |
| DATA_SOURCE | 6 | data | $6 |
| BIT_INFO | 5 | flags | 0x0,0xffffffff8fa1cfdf |
| BIT_INFO | 5 | flags | 0x0,0xffffffff8fa1cfdf |
security/apparmor/mount.c match_mnt() -> match_mnt_path_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 4096-ptr_max |
| PARAM_VALUE | 0 | profile->label.rules | 4096-ptr_max |
| PARAM_VALUE | 2 | buffer | 1-u64max |
| PARAM_VALUE | 3 | devname | 0,(-4095)-(-1) |
| PARAM_VALUE | 3 | *devname | 0-255 |
| PARAM_VALUE | 4 | *type | 0 |
| PARAM_VALUE | 8 | devinfo | 0,3554323739962322944,4694447503368695808,6168487426619887616,8913683159705989120 |
| PARAM_VALUE | 8 | *devinfo | 0-255 |
| PARAM_VALUE | 9 | ad | 701974921058553856,3653992199726731264,4682767133795856384,7679699351578632192,7856035615027286016 |
| PARAM_VALUE | 9 | ad->class | 7 |
| PARAM_VALUE | 9 | ad->common.apparmor_audit_data | 701974921058553856,3653992199726731264,4682767133795856384,7679699351578632192,7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.selinux_audit_data | 701974921058553856,3653992199726731264,4682767133795856384,7679699351578632192,7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.smack_audit_data | 701974921058553856,3653992199726731264,4682767133795856384,7679699351578632192,7856035615027286016 |
| PARAM_VALUE | 9 | ad->common.type | 7 |
| PARAM_VALUE | 9 | ad->denied | 0 |
| PARAM_VALUE | 9 | ad->error | 0 |
| PARAM_VALUE | 9 | ad->iface.ns | 0 |
| PARAM_VALUE | 9 | ad->info | 0 |
| PARAM_VALUE | 9 | ad->mnt.data | 0 |
| PARAM_VALUE | 9 | ad->mnt.type | 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->request | 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 | 0 | profile | $0 |
| DATA_SOURCE | 1 | mntpath | $1 |
| DATA_SOURCE | 2 | buffer | $2 |
| DATA_SOURCE | 4 | type | $5 |
| DATA_SOURCE | 5 | flags | $6 |
| DATA_SOURCE | 6 | data | $7 |
| DATA_SOURCE | 7 | binary | $8 |
| DATA_SOURCE | 9 | ad | $9 |
| BIT_INFO | 5 | flags | 0x0,0xffffffff8fbfffff |
| BIT_INFO | 5 | flags | 0x0,0xffffffff8fbfffff |
| BIT_INFO | 7 | binary | 0x0,0x0 |