Searched refs:strs_create_and_add (Results 1 – 4 of 4) sorted by relevance
/external/selinux/libsepol/src/ |
D | kernel_to_common.h | 100 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...);
|
D | kernel_to_conf.c | 296 rc = strs_create_and_add(strs, format_str, 4, in class_constraint_rules_to_strs() 337 rc = strs_create_and_add(strs, "%s %s %s;", 3, flavor, classkey, expr); in class_validatetrans_rules_to_strs() 1162 rc = strs_create_and_add(strs, "policycap %s;", 1, name); in write_polcap_rules_to_conf() 1280 return strs_create_and_add(strs, "bool %s %s;", 2, key, value); in map_boolean_to_strs() 1569 rc = strs_create_and_add(strs, "typeattribute %s %s;", in write_type_attribute_sets_to_conf() 1818 return strs_create_and_add(strs, "type_transition %s %s:%s %s \"%s\";", 5, in map_filename_trans_to_str() 1922 rc = strs_create_and_add(strs, "range_transition %s %s:%s %s;", 4, in map_range_trans_to_str() 2204 rc = strs_create_and_add(strs, "role_transition %s %s:%s %s;", 4, in write_role_transition_rules_to_conf() 2243 rc = strs_create_and_add(strs, "allow %s %s;", 2, role, new); in write_role_allow_rules_to_conf() 2491 rc = strs_create_and_add(strs, "genfscon %s %s %s", 3, in write_genfscon_rules_to_conf()
|
D | kernel_to_cil.c | 297 rc = strs_create_and_add(strs, format_str, 3, classkey, perms+1, expr); in class_constraint_rules_to_strs() 337 rc = strs_create_and_add(strs, format_str, 2, classkey, expr); in class_validatetrans_rules_to_strs() 1176 rc = strs_create_and_add(strs, "(policycap %s)", 1, name); in write_polcap_rules_to_cil() 1294 return strs_create_and_add(strs, "(boolean %s %s)", 2, key, value); in map_boolean_to_strs() 1512 rc = strs_create_and_add(strs, "(typeattributeset %s (%s))", in write_type_attribute_sets_to_cil() 1838 return strs_create_and_add(strs, "(typetransition %s %s %s %s %s)", 5, in map_filename_trans_to_str() 1942 rc = strs_create_and_add(strs, "(rangetransition %s %s %s %s)", 4, in map_range_trans_to_str() 2269 rc = strs_create_and_add(strs, "(roletransition %s %s %s %s)", 4, in write_role_transition_rules_to_cil() 2308 rc = strs_create_and_add(strs, "(roleallow %s %s)", 2, role, new); in write_role_allow_rules_to_cil() 2619 rc = strs_create_and_add(strs, "(genfscon %s %s %s)", 3, in write_genfscon_rules_to_cil()
|
D | kernel_to_common.c | 179 int strs_create_and_add(struct strs *strs, const char *fmt, int num, ...) in strs_create_and_add() function
|