Home
last modified time | relevance | path

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

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