Searched refs:tcon (Results 1 – 1 of 1) sorted by relevance
/security/selinux/ |
D | selinuxfs.c | 816 char *scon = NULL, *tcon = NULL; in sel_write_access() local 834 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access() 835 if (!tcon) in sel_write_access() 839 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access() 846 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL); in sel_write_access() 858 kfree(tcon); in sel_write_access() 867 char *scon = NULL, *tcon = NULL; in sel_write_create() local 889 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 890 if (!tcon) in sel_write_create() 899 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() [all …]
|