Home
last modified time | relevance | path

Searched refs:oldcon (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
771 oldcon = kzalloc(count + 1, GFP_KERNEL); in sel_write_validatetrans()
772 if (!oldcon) in sel_write_validatetrans()
784 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4) in sel_write_validatetrans()
787 rc = security_context_str_to_sid(oldcon, &osid, GFP_KERNEL); in sel_write_validatetrans()
804 kfree(oldcon); in sel_write_validatetrans()