Defined in 2 files as a function:
- security/apparmor/af_inet.c, line 270 (as a function)
- security/apparmor/af_unix.c, line 255 (as a function)
Referenced in 2 files:
Smatch caller information:
security/apparmor/af_inet.c aa_inet_bind_perm() -> profile_bind_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 1 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 2 | maddr | 724883824822886400 |
| PARAM_VALUE | 2 | maddr->addrp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | maddr->addrtype | 0 |
| PARAM_VALUE | 2 | maddr->len | 4,16 |
| PARAM_VALUE | 3 | ad | 5775599115596500992 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 5775599115596500992 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 5775599115596500992 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 5775599115596500992 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 7997242579047821312 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0,1641355522271170560,4868334955520704512,8630615704476737536 |
| PARAM_VALUE | 3 | ad->mnt.data | 0 |
| PARAM_VALUE | 3 | ad->mnt.type | 0 |
| PARAM_VALUE | 3 | ad->name | 0 |
| PARAM_VALUE | 3 | ad->net.addr | 0 |
| PARAM_VALUE | 3 | ad->net.protocol | 0-u16max |
| PARAM_VALUE | 3 | ad->net.type | 0-u16max |
| PARAM_VALUE | 3 | ad->op | 6364703434042474496 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->rlim.max | 0 |
| PARAM_VALUE | 3 | ad->signal | 0 |
| PARAM_VALUE | 3 | ad->tags | 0 |
| PARAM_VALUE | 3 | ad->type | 0 |
| UNITS | 1 | sk | unit_byte |
security/apparmor/af_unix.c aa_unix_bind_perm() -> profile_bind_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | profile | 1-u64max |
| PARAM_VALUE | 1 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | sk->__sk_common.skc_family | 1 |
| PARAM_VALUE | 2 | maddr | 7395617958887911424 |
| PARAM_VALUE | 2 | maddr->class | 14 |
| PARAM_VALUE | 2 | maddr->common.apparmor_audit_data | 7395617958887911424 |
| PARAM_VALUE | 2 | maddr->common.selinux_audit_data | 7395617958887911424 |
| PARAM_VALUE | 2 | maddr->common.smack_audit_data | 7395617958887911424 |
| PARAM_VALUE | 2 | maddr->common.type | 2,7 |
| PARAM_VALUE | 2 | maddr->common.u.net | 6676370936891600896 |
| PARAM_VALUE | 2 | maddr->iface.ns | 0 |
| PARAM_VALUE | 2 | maddr->info | 0,1535077631683239936,1641355522271170560,2468596308879671296,4868334955520704512,8630615704476737536 |
| PARAM_VALUE | 2 | maddr->mnt.data | 0 |
| PARAM_VALUE | 2 | maddr->mnt.type | 0 |
| PARAM_VALUE | 2 | maddr->name | 0 |
| PARAM_VALUE | 2 | maddr->net.addrlen | 2-110 |
| PARAM_VALUE | 2 | maddr->net.protocol | 0-u16max |
| PARAM_VALUE | 2 | maddr->net.type | 0-u16max |
| PARAM_VALUE | 2 | maddr->op | 6364703434042474496 |
| PARAM_VALUE | 2 | maddr->peer | 0 |
| PARAM_VALUE | 2 | maddr->rlim.max | 0 |
| PARAM_VALUE | 2 | maddr->signal | 0 |
| PARAM_VALUE | 2 | maddr->tags | 0 |
| PARAM_VALUE | 2 | maddr->type | 0 |
| UNITS | 1 | sk | unit_byte |