Home
last modified time | relevance | path

Searched refs:strs_create_and_add (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/src/
Dkernel_to_conf.c309 rc = strs_create_and_add(strs, "%s %s %s%s%s %s;", 6, in class_constraint_rules_to_strs()
352 rc = strs_create_and_add(strs, "%s %s %s;", 3, flavor, classkey, expr); in class_validatetrans_rules_to_strs()
1190 rc = strs_create_and_add(strs, "policycap %s;", 1, name); in write_polcap_rules_to_conf()
1308 return strs_create_and_add(strs, "bool %s %s;", 2, key, value); in map_boolean_to_strs()
1618 rc = strs_create_and_add(strs, "typeattribute %s %s;", in write_type_attribute_sets_to_conf()
1872 rc = strs_create_and_add(strs, in map_filename_trans_to_str()
1985 rc = strs_create_and_add(strs, "range_transition %s %s:%s %s;", 4, in map_range_trans_to_str()
2267 rc = strs_create_and_add(strs, "role_transition %s %s:%s %s;", 4, in write_role_transition_rules_to_conf()
2306 rc = strs_create_and_add(strs, "allow %s %s;", 2, role, new); in write_role_allow_rules_to_conf()
2583 rc = strs_create_and_add(strs, "genfscon %s \"%s\" %s %s", 4, in write_genfscon_rules_to_conf()
[all …]
Dkernel_to_common.h100 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...);
Dkernel_to_cil.c308 rc = strs_create_and_add(strs, "(%s (%s (%s)) %s)", 4, key_word, classkey, perms+1, expr); in class_constraint_rules_to_strs()
348 rc = strs_create_and_add(strs, "(%s %s %s)", 3, key_word, classkey, expr); in class_validatetrans_rules_to_strs()
1207 rc = strs_create_and_add(strs, "(policycap %s)", 1, name); in write_polcap_rules_to_cil()
1325 return strs_create_and_add(strs, "(boolean %s %s)", 2, key, value); in map_boolean_to_strs()
1565 rc = strs_create_and_add(strs, "(typeattributeset %s (%s))", in write_type_attribute_sets_to_cil()
1896 rc = strs_create_and_add(strs, in map_filename_trans_to_str()
2009 rc = strs_create_and_add(strs, "(rangetransition %s %s %s %s)", 4, in map_range_trans_to_str()
2336 rc = strs_create_and_add(strs, "(roletransition %s %s %s %s)", 4, in write_role_transition_rules_to_cil()
2375 rc = strs_create_and_add(strs, "(roleallow %s %s)", 2, role, new); in write_role_allow_rules_to_cil()
2715 rc = strs_create_and_add(strs, "(genfscon %s \"%s\" %s %s)", 4, in write_genfscon_rules_to_cil()
[all …]
Dkernel_to_common.c185 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...) in strs_create_and_add() function