Home
last modified time | relevance | path

Searched refs:nlmsg_type (Results 1 – 3 of 3) sorted by relevance

/security/selinux/
Dnlmsgtab.c27 u16 nlmsg_type; member
141 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, const struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm() argument
146 if (nlmsg_type == tab[i].nlmsg_type) { in nlmsg_perm()
155 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument
163 err = nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms, in selinux_nlmsg_lookup()
168 err = nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms, in selinux_nlmsg_lookup()
174 err = nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms, in selinux_nlmsg_lookup()
179 if ((nlmsg_type >= AUDIT_FIRST_USER_MSG && in selinux_nlmsg_lookup()
180 nlmsg_type <= AUDIT_LAST_USER_MSG) || in selinux_nlmsg_lookup()
181 (nlmsg_type >= AUDIT_FIRST_USER_MSG2 && in selinux_nlmsg_lookup()
[all …]
Dhooks.c5152 err = selinux_nlmsg_lookup(sksec->sclass, nlh->nlmsg_type, &perm); in selinux_nlmsg_perm()
5158 sk->sk_protocol, nlh->nlmsg_type, in selinux_nlmsg_perm()
/security/selinux/include/
Dsecurity.h279 extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);