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 | 395 FILE *boolf; in save_booleans() local 414 boolf = fopen(local_bool_file, "re"); in save_booleans() 415 if (boolf != NULL) { in save_booleans() 422 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in save_booleans() 423 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans() 463 fclose(boolf); in save_booleans() 526 FILE *boolf; in security_load_booleans() local 533 boolf = fopen(path ? path : selinux_booleans_path(), "re"); in security_load_booleans() 534 if (boolf == NULL) in security_load_booleans() 537 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in security_load_booleans() [all …]
|