Searched refs:boolcnt (Results 1 – 6 of 6) sorted by relevance
/external/selinux/policycoreutils/setsebool/ |
D | setsebool.c | 100 static int selinux_set_boolean_list(size_t boolcnt, in selinux_set_boolean_list() argument 104 if (security_set_boolean_list(boolcnt, boollist, 0)) { in selinux_set_boolean_list() 123 static int semanage_set_boolean_list(size_t boolcnt, in semanage_set_boolean_list() argument 167 for (j = 0; j < boolcnt; j++) { in semanage_set_boolean_list() 227 size_t boolcnt = end - start; in setbool() local 229 SELboolean *vallist = calloc(boolcnt, sizeof(SELboolean)); in setbool() 271 if (semanage_set_boolean_list(boolcnt, vallist) < 0) in setbool() 274 if (selinux_set_boolean_list(boolcnt, vallist) < 0) in setbool() 297 for (i = 0; i < boolcnt; i++) in setbool() 307 for (i = 0; i < boolcnt; i++) in setbool()
|
/external/selinux/libselinux/src/ |
D | audit2why.c | 38 static int boolcnt = 0; variable 56 boollist[boolcnt] = malloc(sizeof(struct boolean_t)); in load_booleans() 57 boollist[boolcnt]->name = strdup(sepol_bool_get_name(boolean)); in load_booleans() 58 boollist[boolcnt]->active = sepol_bool_get_value(boolean); in load_booleans() 59 boolcnt++; in load_booleans() 73 int *foundlist = calloc(boolcnt, sizeof(int)); in check_booleans() 78 for (i = 0; i < boolcnt; i++) { in check_booleans() 170 for (i = 0; i < boolcnt; i++) { in finish() 182 boolcnt = 0; in finish()
|
D | booleans.c | 381 static int save_booleans(size_t boolcnt, SELboolean * boollist) in save_booleans() argument 394 int *used = (int *)malloc(sizeof(int) * boolcnt); in save_booleans() 399 for (i = 0; i < boolcnt; i++) in save_booleans() 434 for (i = 0; i < boolcnt; i++) { in save_booleans() 449 if (i == boolcnt) { in save_booleans() 463 for (i = 0; i < boolcnt; i++) { in save_booleans() 499 int security_set_boolean_list(size_t boolcnt, SELboolean * boollist, in security_set_boolean_list() argument 504 for (i = 0; i < boolcnt; i++) { in security_set_boolean_list() 517 return save_booleans(boolcnt, boollist); in security_set_boolean_list()
|
/external/libselinux/src/ |
D | booleans.c | 245 int security_set_boolean_list(size_t boolcnt, SELboolean * const boollist, in security_set_boolean_list() argument 250 for (i = 0; i < boolcnt; i++) { in security_set_boolean_list()
|
/external/libselinux/include/selinux/ |
D | selinux.h | 211 extern int security_set_boolean_list(size_t boolcnt,
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 307 extern int security_set_boolean_list(size_t boolcnt,
|