Lines Matching refs:scon

916 	char *scon = NULL, *tcon = NULL;  in sel_write_access()  local
929 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
930 if (!scon) in sel_write_access()
939 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access()
942 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_access()
959 kfree(scon); in sel_write_access()
967 char *scon = NULL, *tcon = NULL; in sel_write_create() local
984 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
985 if (!scon) in sel_write_create()
999 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
1033 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_create()
1063 kfree(scon); in sel_write_create()
1071 char *scon = NULL, *tcon = NULL; in sel_write_relabel() local
1086 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_relabel()
1087 if (!scon) in sel_write_relabel()
1096 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_relabel()
1099 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_relabel()
1124 kfree(scon); in sel_write_relabel()
1197 char *scon = NULL, *tcon = NULL; in sel_write_member() local
1212 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_member()
1213 if (!scon) in sel_write_member()
1222 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_member()
1225 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_member()
1253 kfree(scon); in sel_write_member()