Defined in 2 files as a function:
- security/apparmor/af_inet.c, line 293 (as a function)
- security/apparmor/af_unix.c, line 322 (as a function)
Referenced in 2 files:
Smatch caller information:
security/apparmor/af_inet.c aa_inet_accept_perm() -> profile_accept_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 | 1429330999989207072 |
| PARAM_VALUE | 2 | maddr->addrtype | 0 |
| PARAM_VALUE | 2 | maddr->len | 0,4,16 |
| PARAM_VALUE | 4 | ad | 1640763297985433600 |
| PARAM_VALUE | 4 | ad->class | 14 |
| PARAM_VALUE | 4 | ad->common.apparmor_audit_data | 1640763297985433600 |
| PARAM_VALUE | 4 | ad->common.selinux_audit_data | 1640763297985433600 |
| PARAM_VALUE | 4 | ad->common.smack_audit_data | 1640763297985433600 |
| PARAM_VALUE | 4 | ad->common.type | 2,7 |
| PARAM_VALUE | 4 | ad->common.u.net | 7737913063294271488 |
| PARAM_VALUE | 4 | ad->iface.ns | 0 |
| PARAM_VALUE | 4 | ad->info | 0,1641355522271170560,4868334955520704512,8630615704476737536 |
| PARAM_VALUE | 4 | ad->mnt.data | 0 |
| PARAM_VALUE | 4 | ad->mnt.type | 0 |
| PARAM_VALUE | 4 | ad->name | 0 |
| PARAM_VALUE | 4 | ad->net.addr | 0 |
| PARAM_VALUE | 4 | ad->net.protocol | 0-u16max |
| PARAM_VALUE | 4 | ad->net.type | 0-u16max |
| PARAM_VALUE | 4 | ad->op | 751892821077909504 |
| PARAM_VALUE | 4 | ad->peer | 0 |
| PARAM_VALUE | 4 | ad->rlim.max | 0 |
| PARAM_VALUE | 4 | ad->signal | 0 |
| PARAM_VALUE | 4 | ad->tags | 0 |
| PARAM_VALUE | 4 | ad->type | 0 |
| UNITS | 1 | sk | unit_byte |
| UNITS | 3 | newsk | unit_byte |
security/apparmor/af_unix.c aa_unix_accept_perm() -> profile_accept_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 | 5934715703172878336 |
| PARAM_VALUE | 2 | maddr->class | 14 |
| PARAM_VALUE | 2 | maddr->common.apparmor_audit_data | 5934715703172878336 |
| PARAM_VALUE | 2 | maddr->common.selinux_audit_data | 5934715703172878336 |
| PARAM_VALUE | 2 | maddr->common.smack_audit_data | 5934715703172878336 |
| PARAM_VALUE | 2 | maddr->common.type | 2,7 |
| PARAM_VALUE | 2 | maddr->common.u.net | 6418292786806345728 |
| 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.addr | 0 |
| PARAM_VALUE | 2 | maddr->net.protocol | 0-u16max |
| PARAM_VALUE | 2 | maddr->net.type | 0-u16max |
| PARAM_VALUE | 2 | maddr->op | 751892821077909504 |
| 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 |