Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dmapping.c23 static struct selinux_mapping *current_mapping = NULL; variable
37 free(current_mapping); in selinux_set_mapping()
38 current_mapping = NULL; in selinux_set_mapping()
54 current_mapping = (struct selinux_mapping *)calloc(++i, size); in selinux_set_mapping()
55 if (!current_mapping) in selinux_set_mapping()
62 struct selinux_mapping *p_out = current_mapping + j; in selinux_set_mapping()
88 free(current_mapping); in selinux_set_mapping()
89 current_mapping = NULL; in selinux_set_mapping()
103 return current_mapping[tclass].value; in unmap_class()
121 for (i=0; i<current_mapping[tclass].num_perms; i++) in unmap_perm()
[all …]