Lines Matching defs:mapping
13 #include "mapping.h"
50 /* Find number of classes in the input mapping */
109 /* Set the mapping size here so the above lookups are "raw" */
130 /* If here no mapping set or the class requested is not valid. */
154 /* If here no mapping set or the perm requested is not valid. */
176 /* If here no mapping set or the class requested is not valid. */
213 struct selinux_mapping *mapping = ¤t_mapping[tclass];
214 unsigned int i, n = mapping->num_perms;
218 if (avd->allowed & mapping->perms[i])
220 else if (allow_unknown && !mapping->perms[i])
226 if (avd->decided & mapping->perms[i])
228 else if (allow_unknown && !mapping->perms[i])
234 if (avd->auditallow & mapping->perms[i])
239 if (avd->auditdeny & mapping->perms[i])
241 else if (!allow_unknown && !mapping->perms[i])
247 * beyond the mapping->num_perms since this indicates