Searched refs:avc_has_perm (Results 1 – 6 of 6) sorted by relevance
| /linux/security/selinux/ |
| H A D | hooks.c | 445 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 450 rc = avc_has_perm(crsec->sid, sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel() 461 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 466 rc = avc_has_perm(sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_inode_relabel() 1691 return avc_has_perm(sid, isec->sid, isec->sclass, perms, adp); in inode_has_perm() 1770 rc = avc_has_perm(sid, fsec->sid, in file_has_perm() 1841 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, in may_create() 1852 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create() 1856 return avc_has_perm(newsid, sbsec->sid, in may_create() 1885 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, av, &ad); in may_link() [all …]
|
| H A D | xfrm.c | 105 rc = avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_alloc_user() 139 return avc_has_perm(current_sid(), ctx->ctx_sid, in selinux_xfrm_delete() 161 rc = avc_has_perm(fl_secid, ctx->ctx_sid, in selinux_xfrm_policy_lookup() 202 return (avc_has_perm(flic_sid, state_sid, in selinux_xfrm_state_pol_flow_match() 421 return avc_has_perm(sk_sid, peer_sid, in selinux_xfrm_sock_rcv_skb() 464 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() 373 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy() 434 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 | 472 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
|
| H A D | avc.c | 1189 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, in avc_has_perm() function
|
| /linux/security/selinux/include/ |
| H A D | avc.h | 140 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, u32 requested,
|