Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/af_inet.c aa_inet_accept_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 1429330999989207040 |
| PARAM_VALUE | 3 | ad | 1640763297985433600 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 1640763297985433600 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 1640763297985433600 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 1640763297985433600 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 7737913063294271488 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 751892821077909504 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 1048576 |
| 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 |
| DATA_SOURCE | 0 | sock | $0 |
security/apparmor/af_inet.c aa_inet_connect_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 3667685118311354368 |
| PARAM_VALUE | 3 | ad | 8522220306628263936 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 8522220306628263936 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 8522220306628263936 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 8522220306628263936 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 8277426382114914304 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 3903629404945924096 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 64 |
| 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 |
| DATA_SOURCE | 0 | sock | $0 |
security/apparmor/af_inet.c aa_inet_file_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 976249120417468416 |
| PARAM_VALUE | 3 | ad | 1120378918376693760 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 1120378918376693760 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 1120378918376693760 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 1120378918376693760 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 6053386646287540224 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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->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 |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sock | $4 |
security/apparmor/af_inet.c aa_inet_file_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 2 |
| PARAM_VALUE | 2 | maddr | 5764797608778117120 |
| PARAM_VALUE | 3 | ad | 0 |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sock | $4 |
security/apparmor/af_inet.c aa_inet_listen_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 7231725250024161280 |
| PARAM_VALUE | 3 | ad | 7317968997715144704 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 7317968997715144704 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 7317968997715144704 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 7317968997715144704 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 7475423656980897792 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 4769769966644432896 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 4194304 |
| 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 |
| DATA_SOURCE | 0 | sock | $0 |
security/apparmor/af_inet.c aa_inet_msg_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 8221726435819053056 |
| PARAM_VALUE | 3 | ad | 479141004406341632 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 479141004406341632 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 479141004406341632 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 479141004406341632 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 2007267651650256896 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 3903629404945924096,5301814466429702144,7528988410598850560 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 2,4,64 |
| 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 |
| DATA_SOURCE | 0 | sock | $2 |
| TERMINATED | 3 | ad->op | 1 |
security/apparmor/af_inet.c aa_inet_opt_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 6368938073942097920 |
| PARAM_VALUE | 3 | ad | 1887905528197201920 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 1887905528197201920 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 1887905528197201920 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 1887905528197201920 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 92933206824779776 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 4197275624911224832,7512163014219960320 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 16777216,33554432 |
| 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 |
| DATA_SOURCE | 0 | sock | $2 |
| TERMINATED | 3 | ad->op | 1 |
security/apparmor/af_inet.c inet_label_sock_perm() -> map_sock_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 2,10 |
| PARAM_VALUE | 1 | addrtype | 0 |
| PARAM_VALUE | 2 | maddr | 5558246599895183360 |
| PARAM_VALUE | 3 | ad | 3873708848732499968 |
| PARAM_VALUE | 3 | ad->class | 14 |
| PARAM_VALUE | 3 | ad->common.apparmor_audit_data | 3873708848732499968 |
| PARAM_VALUE | 3 | ad->common.selinux_audit_data | 3873708848732499968 |
| PARAM_VALUE | 3 | ad->common.smack_audit_data | 3873708848732499968 |
| PARAM_VALUE | 3 | ad->common.type | 2,7 |
| PARAM_VALUE | 3 | ad->common.u.net | 1595106704143970304 |
| PARAM_VALUE | 3 | ad->denied | 0 |
| PARAM_VALUE | 3 | ad->error | 0 |
| PARAM_VALUE | 3 | ad->iface.ns | 0 |
| PARAM_VALUE | 3 | ad->info | 0 |
| 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 | 641657180604760064,3274606037802131456,3774653834802958336 |
| PARAM_VALUE | 3 | ad->peer | 0 |
| PARAM_VALUE | 3 | ad->request | 32,512 |
| 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 |
| DATA_SOURCE | 0 | sock | $4 |