Searched refs:nlbl_sid (Results 1 - 4 of 4) sorted by relevance
/security/selinux/ |
H A D | netlabel.c | 375 u32 nlbl_sid; local 385 rc = selinux_netlbl_sidlookup_cached(skb, &secattr, &nlbl_sid); 387 nlbl_sid = SECINITSID_UNLABELED; 403 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad); 407 if (nlbl_sid != SECINITSID_UNLABELED)
|
H A D | hooks.c | 3995 u32 nlbl_sid; local 4001 err = selinux_netlbl_skbuff_getsid(skb, family, &nlbl_type, &nlbl_sid); 4005 err = security_net_peersid_resolve(nlbl_sid, nlbl_type, xfrm_sid, sid);
|
/security/selinux/include/ |
H A D | security.h | 194 int security_net_peersid_resolve(u32 nlbl_sid, u32 nlbl_type,
|
/security/selinux/ss/ |
H A D | services.c | 2792 * @nlbl_sid: NetLabel SID 2797 * Compare the @nlbl_sid and @xfrm_sid values and if the two SIDs can be 2810 int security_net_peersid_resolve(u32 nlbl_sid, u32 nlbl_type, argument 2824 *peer_sid = nlbl_sid; 2828 * and is treated as if nlbl_sid == SECSID_NULL when a XFRM SID/label 2830 if (nlbl_sid == SECSID_NULL || nlbl_type == NETLBL_NLTYPE_UNLABELED) { 2836 * nlbl_sid and xfrm_sid are not equal to SECSID_NULL would be if the 2844 nlbl_ctx = sidtab_search(&sidtab, nlbl_sid); 2847 __func__, nlbl_sid);
|
Completed in 84 milliseconds