Lines Matching refs:scon

912 	char *scon = NULL, *tcon = NULL;  in sel_write_access()  local
925 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access()
926 if (!scon) in sel_write_access()
935 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access()
938 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_access()
955 kfree(scon); in sel_write_access()
963 char *scon = NULL, *tcon = NULL; in sel_write_create() local
980 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
981 if (!scon) in sel_write_create()
995 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
1029 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_create()
1059 kfree(scon); in sel_write_create()
1067 char *scon = NULL, *tcon = NULL; in sel_write_relabel() local
1082 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_relabel()
1083 if (!scon) in sel_write_relabel()
1092 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_relabel()
1095 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_relabel()
1120 kfree(scon); in sel_write_relabel()
1193 char *scon = NULL, *tcon = NULL; in sel_write_member() local
1208 scon = kzalloc(size + 1, GFP_KERNEL); in sel_write_member()
1209 if (!scon) in sel_write_member()
1218 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_member()
1221 length = security_context_str_to_sid(state, scon, &ssid, GFP_KERNEL); in sel_write_member()
1249 kfree(scon); in sel_write_member()