Lines Matching refs:s
273 int s[CEXPR_MAXDEPTH]; in constraint_expr_eval() local
280 s[sp] = !s[sp]; in constraint_expr_eval()
285 s[sp] &= s[sp + 1]; in constraint_expr_eval()
290 s[sp] |= s[sp + 1]; in constraint_expr_eval()
311 s[++sp] = ebitmap_get_bit(&r1->dominates, in constraint_expr_eval()
315 s[++sp] = ebitmap_get_bit(&r2->dominates, in constraint_expr_eval()
319 s[++sp] = (!ebitmap_get_bit(&r1->dominates, in constraint_expr_eval()
355 s[++sp] = mls_level_eq(l1, l2); in constraint_expr_eval()
358 s[++sp] = !mls_level_eq(l1, l2); in constraint_expr_eval()
361 s[++sp] = mls_level_dom(l1, l2); in constraint_expr_eval()
364 s[++sp] = mls_level_dom(l2, l1); in constraint_expr_eval()
367 s[++sp] = mls_level_incomp(l2, l1); in constraint_expr_eval()
381 s[++sp] = (val1 == val2); in constraint_expr_eval()
384 s[++sp] = (val1 != val2); in constraint_expr_eval()
417 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval()
420 s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval()
434 return s[0]; in constraint_expr_eval()
1630 char *s = NULL, *t = NULL, *n = NULL; in compute_sid_handle_invalid_context() local
1634 if (context_struct_to_string(policydb, scontext, &s, &slen)) in compute_sid_handle_invalid_context()
1646 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context()
1649 kfree(s); in compute_sid_handle_invalid_context()
1947 char *s; in convert_context_handle_invalid_context() local
1953 if (!context_struct_to_string(policydb, context, &s, &len)) { in convert_context_handle_invalid_context()
1955 s); in convert_context_handle_invalid_context()
1956 kfree(s); in convert_context_handle_invalid_context()
1982 char *s; in convert_context() local
1989 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
1990 if (!s) in convert_context()
1993 rc = string_to_context_struct(args->newp, NULL, s, in convert_context()
2003 memcpy(s, oldc->str, oldc->len); in convert_context()
2005 newc->str = s; in convert_context()
2010 kfree(s); in convert_context()
2091 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()
2095 newc->str = s; in convert_context()
2097 newc->hash = context_compute_hash(s); in convert_context()
3023 char *s; in security_sid_mls_copy() local
3064 if (!context_struct_to_string(policydb, &newcon, &s, in security_sid_mls_copy()
3074 audit_log_n_untrustedstring(ab, s, len - 1); in security_sid_mls_copy()
3076 kfree(s); in security_sid_mls_copy()