Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/setsebool/
Dsetsebool.c95 static int selinux_set_boolean_list(size_t boolcnt, in selinux_set_boolean_list() argument
99 if (security_set_boolean_list(boolcnt, boollist, 0)) { in selinux_set_boolean_list()
118 static int semanage_set_boolean_list(size_t boolcnt, in semanage_set_boolean_list() argument
163 for (j = 0; j < boolcnt; j++) { in semanage_set_boolean_list()
226 size_t boolcnt = end - start; in setbool() local
228 SELboolean *vallist = calloc(boolcnt, sizeof(SELboolean)); in setbool()
270 if (semanage_set_boolean_list(boolcnt, vallist) < 0) in setbool()
273 if (selinux_set_boolean_list(boolcnt, vallist) < 0) in setbool()
296 for (i = 0; i < boolcnt; i++) in setbool()
306 for (i = 0; i < boolcnt; i++) in setbool()
/external/selinux/libselinux/src/
Daudit2why.c39 static int boolcnt = 0; variable
57 boollist[boolcnt] = malloc(sizeof(struct boolean_t)); in load_booleans()
58 boollist[boolcnt]->name = strdup(sepol_bool_get_name(boolean)); in load_booleans()
59 boollist[boolcnt]->active = sepol_bool_get_value(boolean); in load_booleans()
60 boolcnt++; in load_booleans()
74 int *foundlist = calloc(boolcnt, sizeof(int)); in check_booleans()
79 for (i = 0; i < boolcnt; i++) { in check_booleans()
171 for (i = 0; i < boolcnt; i++) { in finish()
183 boolcnt = 0; in finish()
Dbooleans.c335 int security_set_boolean_list(size_t boolcnt, SELboolean * boollist, in security_set_boolean_list() argument
340 for (i = 0; i < boolcnt; i++) { in security_set_boolean_list()
370 int security_set_boolean_list(size_t boolcnt __attribute__((unused)), in security_set_boolean_list() argument
/external/selinux/libselinux/include/selinux/
Dselinux.h333 extern int security_set_boolean_list(size_t boolcnt,