Home
last modified time | relevance | path

Searched refs:avc_has_perm (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/security/selinux/
H A Dhooks.c1742 rc = avc_has_perm(sid, fsec->sid, in file_has_perm()
2039 return avc_has_perm(fromsid, tosid, in selinux_binder_transaction()
2066 rc = avc_has_perm(sid, fsec->sid, in selinux_binder_transfer_file()
2994 return avc_has_perm(tsec->sid, in selinux_inode_init_security_anon()
3254 return avc_has_perm(newsid, in selinux_inode_setxattr()
4032 ret = avc_has_perm(sid, secid, in selinux_kernel_act_as()
4056 ret = avc_has_perm(sid, isec->sid, in selinux_kernel_create_files_as()
6122 rc = avc_has_perm(sid, isec->sid, in selinux_msg_queue_msgrcv()
6125 rc = avc_has_perm(sid, msec->sid, in selinux_msg_queue_msgrcv()
6459 error = avc_has_perm(mysid, sid, in selinux_setprocattr()
[all …]
H A Dxfrm.c106 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 Dselinuxfs.c163 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 Dnetlabel.c467 rc = avc_has_perm(sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
H A Davc.c1190 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, in avc_has_perm() function
/openbmc/linux/security/selinux/include/
H A Davc.h144 int avc_has_perm(u32 ssid, u32 tsid,