Searched refs:boolf (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libsepol/src/ |
D | genbools.c | 80 FILE *boolf; local 88 boolf = fopen(path, "r"); 89 if (boolf == NULL) 98 while(fgets(buffer, 255, boolf) != NULL) { 101 while (getline(&buffer, &size, boolf) > 0) { 119 fclose(boolf); 122 boolf = fopen(localbools, "r"); 123 if (boolf != NULL) { 127 while(fgets(buffer, 255, boolf) != NULL) { 130 while (getline(&buffer, &size, boolf) > 0) { [all …]
|
/external/selinux/libselinux/src/ |
D | booleans.c | 396 FILE *boolf; in save_booleans() local 415 boolf = fopen(local_bool_file, "re"); in save_booleans() 416 if (boolf != NULL) { in save_booleans() 423 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in save_booleans() 424 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans() 465 fclose(boolf); in save_booleans() 529 FILE *boolf; in security_load_booleans() local 536 boolf = fopen(path ? path : selinux_booleans_path(), "re"); in security_load_booleans() 537 if (boolf == NULL) in security_load_booleans() 540 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in security_load_booleans() [all …]
|