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_common.h100 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...);
Dkernel_to_cil.c301 rc = strs_create_and_add(strs, format_str, 3, classkey, perms+1, expr); in class_constraint_rules_to_strs()
341 rc = strs_create_and_add(strs, format_str, 2, classkey, expr); in class_validatetrans_rules_to_strs()
1181 rc = strs_create_and_add(strs, "(policycap %s)", 1, name); in write_polcap_rules_to_cil()
1299 return strs_create_and_add(strs, "(boolean %s %s)", 2, key, value); in map_boolean_to_strs()
1539 rc = strs_create_and_add(strs, "(typeattributeset %s (%s))", in write_type_attribute_sets_to_cil()
1870 rc = strs_create_and_add(strs, in map_filename_trans_to_str()
1983 rc = strs_create_and_add(strs, "(rangetransition %s %s %s %s)", 4, in map_range_trans_to_str()
2310 rc = strs_create_and_add(strs, "(roletransition %s %s %s %s)", 4, in write_role_transition_rules_to_cil()
2349 rc = strs_create_and_add(strs, "(roleallow %s %s)", 2, role, new); in write_role_allow_rules_to_cil()
2661 rc = strs_create_and_add(strs, "(genfscon %s \"%s\" %s)", 3, in write_genfscon_rules_to_cil()
Dkernel_to_conf.c300 rc = strs_create_and_add(strs, format_str, 4, in class_constraint_rules_to_strs()
341 rc = strs_create_and_add(strs, "%s %s %s;", 3, flavor, classkey, expr); in class_validatetrans_rules_to_strs()
1169 rc = strs_create_and_add(strs, "policycap %s;", 1, name); in write_polcap_rules_to_conf()
1287 return strs_create_and_add(strs, "bool %s %s;", 2, key, value); in map_boolean_to_strs()
1597 rc = strs_create_and_add(strs, "typeattribute %s %s;", in write_type_attribute_sets_to_conf()
1851 rc = strs_create_and_add(strs, in map_filename_trans_to_str()
1964 rc = strs_create_and_add(strs, "range_transition %s %s:%s %s;", 4, in map_range_trans_to_str()
2246 rc = strs_create_and_add(strs, "role_transition %s %s:%s %s;", 4, in write_role_transition_rules_to_conf()
2285 rc = strs_create_and_add(strs, "allow %s %s;", 2, role, new); in write_role_allow_rules_to_conf()
2534 rc = strs_create_and_add(strs, "genfscon %s \"%s\" %s", 3, in write_genfscon_rules_to_conf()
Dkernel_to_common.c179 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...) in strs_create_and_add() function