Searched refs:avc_has_perm (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 429 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 434 rc = avc_has_perm(tsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 445 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 450 rc = avc_has_perm(sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 1669 return avc_has_perm(sid, isec->sid, isec->sclass, perms, adp); in inode_has_perm() 1742 rc = avc_has_perm(sid, fsec->sid, in file_has_perm() 1813 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, in may_create() 1824 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create() 1828 return avc_has_perm(newsid, sbsec->sid, in may_create() 1857 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, av, &ad); in may_link() [all …]
|
H A D | xfrm.c | 106 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user() 142 return avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete() 164 rc = avc_has_perm(fl_secid, ctx->ctx_sid, in selinux_xfrm_policy_lookup() 205 return (avc_has_perm(flic_sid, state_sid, in selinux_xfrm_state_pol_flow_match() 424 return avc_has_perm(sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb() 467 return avc_has_perm(sk_sid, SECINITSID_UNLABELED, in selinux_xfrm_postroute_last()
|
H A D | selinuxfs.c | 163 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 376 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy() 437 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy() 599 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load() 651 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context() 696 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_checkreqprot() 749 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans() 875 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access() 926 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create() 1025 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel() [all …]
|
H A D | netlabel.c | 467 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
|
H A D | avc.c | 1190 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, in avc_has_perm() function
|
/openbmc/linux/security/selinux/include/ |
H A D | avc.h | 144 int avc_has_perm(u32 ssid, u32 tsid,
|