Searched refs:oldcon (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/security/selinux/ |
D | selinuxfs.c | 687 char *oldcon = NULL, *newcon = NULL, *taskcon = NULL; in sel_write_validatetrans() local 716 oldcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans() 717 if (!oldcon) in sel_write_validatetrans() 729 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) in sel_write_validatetrans() 732 rc = security_context_str_to_sid(state, oldcon, &osid, GFP_KERNEL); in sel_write_validatetrans() 749 kfree(oldcon); in sel_write_validatetrans()
|