Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/
H A Dselinuxfs.c743 char *oldcon = NULL, *newcon = NULL, *taskcon = NULL; in sel_write_validatetrans() local
779 taskcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
780 if (!taskcon) in sel_write_validatetrans()
784 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) in sel_write_validatetrans()
795 rc = security_context_str_to_sid(taskcon, &tsid, GFP_KERNEL); in sel_write_validatetrans()
806 kfree(taskcon); in sel_write_validatetrans()