Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Dselinuxfs.c610 length = security_sid_to_context(state, sid, &canon, &len); in sel_write_context()
946 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_create()
1011 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_relabel()
1071 rc = security_sid_to_context(state, sids[i], &newcon, &len); in sel_write_user()
1137 length = security_sid_to_context(state, newsid, &newcon, &len); in sel_write_member()
1615 ret = security_sid_to_context(fsi->state, sid, &con, &len); in sel_read_initcon()
Dxfrm.c357 rc = security_sid_to_context(&selinux_state, secid, &ctx_str, in selinux_xfrm_state_alloc_acquire()
Davc.c712 rc = security_sid_to_context(sad->state, sad->ssid, &scontext, in avc_audit_post_callback()
721 rc = security_sid_to_context(sad->state, sad->tsid, &scontext, in avc_audit_post_callback()
Dhooks.c1082 rc = security_sid_to_context(&selinux_state, sid, in show_sid()
2873 return security_sid_to_context(&selinux_state, newsid, (char **)ctx, in selinux_dentry_init_security()
3354 error = security_sid_to_context(&selinux_state, isec->sid, in selinux_inode_getsecurity()
5067 err = security_sid_to_context(&selinux_state, peer_sid, &scontext, in selinux_socket_getpeersec_stream()
6302 error = security_sid_to_context(&selinux_state, sid, value, &len); in selinux_getprocattr()
6462 return security_sid_to_context(&selinux_state, secid, in selinux_secid_to_secctx()
6575 rc = security_sid_to_context(&selinux_state, ksec->sid, in selinux_key_getsecurity()
/Linux-v5.4/security/selinux/include/
Dsecurity.h253 int security_sid_to_context(struct selinux_state *state, u32 sid,
/Linux-v5.4/security/selinux/ss/
Dservices.c1337 int security_sid_to_context(struct selinux_state *state, in security_sid_to_context() function