Home
last modified time | relevance | path

Searched refs:fl_head (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libselinux/src/
Dmatchpathcon.c154 static file_spec_t *fl_head; variable
169 if (!fl_head) { in matchpathcon_filespec_add()
170 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
171 if (!fl_head) in matchpathcon_filespec_add()
173 memset(fl_head, 0, sizeof(file_spec_t) * HASH_BUCKETS); in matchpathcon_filespec_add()
177 for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; in matchpathcon_filespec_add()
240 if (!fl_head) in matchpathcon_filespec_eval()
248 for (fl = fl_head[h].next; fl; fl = fl->next) { in matchpathcon_filespec_eval()
273 if (!fl_head) in matchpathcon_filespec_destroy()
277 fl = fl_head[h].next; in matchpathcon_filespec_destroy()
[all …]
/external/selinux/policycoreutils/setfiles/
Drestore.c35 static file_spec_t *fl_head; variable
504 if (!fl_head) in filespec_eval()
512 for (fl = fl_head[h].next; fl; fl = fl->next) { in filespec_eval()
536 if (!fl_head) in filespec_destroy()
540 fl = fl_head[h].next; in filespec_destroy()
548 fl_head[h].next = NULL; in filespec_destroy()
550 free(fl_head); in filespec_destroy()
551 fl_head = NULL; in filespec_destroy()
564 if (!fl_head) { in filespec_add()
565 fl_head = malloc(sizeof(file_spec_t) * HASH_BUCKETS); in filespec_add()
[all …]
/external/selinux/libselinux/
DChangeLog1056 * Fixed bug in matchpathcon_filespec_add() - failure to clear fl_head.