Lines Matching refs:perm
25 u32 perm; member
152 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, const struct nlmsg_perm *tab, in nlmsg_perm() argument
160 *perm = tab[i].perm; in nlmsg_perm()
168 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup() argument
187 *perm = NETLINK_ROUTE_SOCKET__NLMSG; in selinux_nlmsg_lookup()
190 return nlmsg_perm(nlmsg_type, perm, nlmsg_route_perms, in selinux_nlmsg_lookup()
195 *perm = NETLINK_TCPDIAG_SOCKET__NLMSG; in selinux_nlmsg_lookup()
198 return nlmsg_perm(nlmsg_type, perm, nlmsg_tcpdiag_perms, in selinux_nlmsg_lookup()
209 *perm = NETLINK_XFRM_SOCKET__NLMSG; in selinux_nlmsg_lookup()
212 return nlmsg_perm(nlmsg_type, perm, nlmsg_xfrm_perms, in selinux_nlmsg_lookup()
217 *perm = NETLINK_AUDIT_SOCKET__NLMSG; in selinux_nlmsg_lookup()
223 *perm = NETLINK_AUDIT_SOCKET__NLMSG_RELAY; in selinux_nlmsg_lookup()
226 return nlmsg_perm(nlmsg_type, perm, nlmsg_audit_perms, in selinux_nlmsg_lookup()