Home
last modified time | relevance | path

Searched refs:boolf (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dgenbools.c69 FILE *boolf; local
78 boolf = fopen(path, "r");
79 if (boolf == NULL)
88 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/
Dbooleans.c392 FILE *boolf; in save_booleans() local
411 boolf = fopen(local_bool_file, "r"); in save_booleans()
412 if (boolf != NULL) { in save_booleans()
419 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in save_booleans()
420 while ((len = getline(&inbuf, &size, boolf)) > 0) { in save_booleans()
460 fclose(boolf); in save_booleans()
523 FILE *boolf; in security_load_booleans() local
530 boolf = fopen(path ? path : selinux_booleans_path(), "r"); in security_load_booleans()
531 if (boolf == NULL) in security_load_booleans()
534 __fsetlocking(boolf, FSETLOCKING_BYCALLER); in security_load_booleans()
[all …]