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() 1692 return avc_has_perm(sid, isec->sid, isec->sclass, perms, adp); in inode_has_perm() 1784 rc = avc_has_perm(ssid, tsid_fd, SECCLASS_FD, FD__USE, &ad); in __file_has_perm() 1865 rc = avc_has_perm(sid, dsec->sid, SECCLASS_DIR, in may_create() 1876 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad); in may_create() 1880 return avc_has_perm(newsid, sbsec->sid, in may_create() 1909 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 | 162 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_enforce() 345 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_open_policy() 393 ret = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_read_policy() 556 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_load() 608 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_context() 673 rc = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_validatetrans() 799 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_access() 850 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_create() 949 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_relabel() 1016 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, in sel_write_member() [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,
|