Searched refs:boolf (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libsepol/src/ |
D | genbools.c | 69 FILE *boolf; local 77 boolf = fopen(path, "r"); 78 if (boolf == NULL) 87 while(fgets(buffer, 255, boolf) != NULL) { 90 while (getline(&buffer, &size, boolf) > 0) { 108 fclose(boolf); 111 boolf = fopen(localbools, "r"); 112 if (boolf != NULL) { 116 while(fgets(buffer, 255, boolf) != NULL) { 119 while (getline(&buffer, &size, boolf) > 0) { [all …]
|
/external/selinux/libselinux/src/ |
D | booleans.c | 383 FILE *boolf; in save_booleans() local 402 boolf = fopen(local_bool_file, "r"); in save_booleans() 403 if (boolf != NULL) { in save_booleans() 410 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in save_booleans() 411 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans() 451 fclose(boolf); in save_booleans() 514 FILE *boolf; in security_load_booleans() local 521 boolf = fopen(path ? path : selinux_booleans_path(), "r"); in security_load_booleans() 522 if (boolf == NULL) in security_load_booleans() 525 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in security_load_booleans() [all …]
|