Searched refs:avc_has_perm (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/security/selinux/ |
D | xfrm.c | 99 rc = avc_has_perm(fl_secid, sel_sid, SECCLASS_ASSOCIATION, in selinux_xfrm_policy_lookup() 141 rc = avc_has_perm(fl->flowi_secid, state_sid, SECCLASS_ASSOCIATION, in selinux_xfrm_state_pol_flow_match() 243 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_sec_ctx_alloc() 341 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_policy_delete() 387 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_state_delete() 432 rc = avc_has_perm(isec_sid, sel_sid, SECCLASS_ASSOCIATION, in selinux_xfrm_sock_rcv_skb() 486 rc = avc_has_perm(isec_sid, SECINITSID_UNLABELED, SECCLASS_ASSOCIATION, in selinux_xfrm_postroute_last()
|
D | hooks.c | 331 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 336 rc = avc_has_perm(tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 347 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 352 rc = avc_has_perm(sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 1376 return avc_has_perm(asid, tsid, SECCLASS_PROCESS, perms, NULL); in cred_has_perm() 1396 return avc_has_perm(sid1, sid2, SECCLASS_PROCESS, perms, NULL); in task_has_perm() 1412 return avc_has_perm(sid, tsid, SECCLASS_PROCESS, perms, NULL); in current_has_perm() 1463 return avc_has_perm(sid, SECINITSID_KERNEL, in task_has_system() 1536 rc = avc_has_perm(sid, fsec->sid, in file_has_perm() 1574 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, in may_create() [all …]
|
D | netlabel.c | 377 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
|
D | selinuxfs.c | 93 return avc_has_perm(sid, SECINITSID_SECURITY, in task_has_security()
|
/linux-2.6.39/security/selinux/include/ |
D | avc.h | 74 static inline int avc_has_perm(u32 ssid, u32 tsid, in avc_has_perm() function
|