Searched refs:nlmsg_type (Results 1 – 4 of 4) sorted by relevance
| /security/selinux/ |
| A D | nlmsgtab.c | 24 u16 nlmsg_type; member 159 if (nlmsg_type == tab[i].nlmsg_type) { in nlmsg_perm() 168 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument 190 return nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms, in selinux_nlmsg_lookup() 198 return nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms, in selinux_nlmsg_lookup() 212 return nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms, in selinux_nlmsg_lookup() 219 } else if ((nlmsg_type >= AUDIT_FIRST_USER_MSG && in selinux_nlmsg_lookup() 220 nlmsg_type <= AUDIT_LAST_USER_MSG) || in selinux_nlmsg_lookup() 221 (nlmsg_type >= AUDIT_FIRST_USER_MSG2 && in selinux_nlmsg_lookup() 222 nlmsg_type <= AUDIT_LAST_USER_MSG2)) { in selinux_nlmsg_lookup() [all …]
|
| A D | hooks.c | 6085 static int nlmsg_sock_has_extended_perms(struct sock *sk, u32 perms, u16 nlmsg_type) in nlmsg_sock_has_extended_perms() argument 6096 ad.u.nlmsg_type = nlmsg_type; in nlmsg_sock_has_extended_perms() 6098 driver = nlmsg_type >> 8; in nlmsg_sock_has_extended_perms() 6099 xperm = nlmsg_type & 0xff; in nlmsg_sock_has_extended_perms() 6128 rc = selinux_nlmsg_lookup(sclass, nlh->nlmsg_type, &perm); in selinux_netlink_send() 6132 sk, perm, nlh->nlmsg_type); in selinux_netlink_send() 6143 sk->sk_protocol, nlh->nlmsg_type, in selinux_netlink_send()
|
| /security/selinux/include/ |
| A D | security.h | 397 extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
|
| /security/ |
| A D | lsm_audit.c | 404 audit_log_format(ab, " nl-msgtype=%hu", a->u.nlmsg_type); in audit_log_lsm_data()
|
Completed in 28 milliseconds