Searched refs:oldcon (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/security/selinux/ |
D | selinuxfs.c | 732 char *oldcon = NULL, *newcon = NULL, *taskcon = NULL; in sel_write_validatetrans() local 760 oldcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans() 761 if (!oldcon) in sel_write_validatetrans() 773 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) in sel_write_validatetrans() 776 rc = security_context_str_to_sid(oldcon, &osid, GFP_KERNEL); in sel_write_validatetrans() 793 kfree(oldcon); in sel_write_validatetrans()
|