Searched refs:tcon (Results 1 – 1 of 1) sorted by relevance
/security/selinux/ |
D | selinuxfs.c | 708 char *scon = NULL, *tcon = NULL; in sel_write_access() local 724 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access() 725 if (!tcon) in sel_write_access() 729 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access() 736 length = security_context_to_sid(tcon, strlen(tcon) + 1, &tsid); in sel_write_access() 748 kfree(tcon); in sel_write_access() 755 char *scon = NULL, *tcon = NULL; in sel_write_create() local 774 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 775 if (!tcon) in sel_write_create() 784 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() [all …]
|