Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Dselinuxfs.c687 char *oldcon = NULL, *newcon = NULL, *taskcon = NULL; in sel_write_validatetrans() local
724 taskcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
725 if (!taskcon) in sel_write_validatetrans()
729 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) in sel_write_validatetrans()
740 rc = security_context_str_to_sid(state, taskcon, &tsid, GFP_KERNEL); in sel_write_validatetrans()
751 kfree(taskcon); in sel_write_validatetrans()