Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmapping.c26 static struct selinux_mapping *current_mapping = NULL; variable
43 free(current_mapping); in selinux_set_mapping()
44 current_mapping = NULL; in selinux_set_mapping()
60 current_mapping = (struct selinux_mapping *)calloc(++i, size); in selinux_set_mapping()
61 if (!current_mapping) in selinux_set_mapping()
68 struct selinux_mapping *p_out = current_mapping + j; in selinux_set_mapping()
113 free(current_mapping); in selinux_set_mapping()
114 current_mapping = NULL; in selinux_set_mapping()
128 return current_mapping[tclass].value; in unmap_class()
146 for (i = 0; i < current_mapping[tclass].num_perms; i++) in unmap_perm()
[all …]