Lines Matching refs:tclass
125 unmap_class(security_class_t tclass) in unmap_class() argument
127 if (tclass < current_mapping_size) in unmap_class()
128 return current_mapping[tclass].value; in unmap_class()
136 return tclass; in unmap_class()
140 unmap_perm(security_class_t tclass, access_vector_t tperm) in unmap_perm() argument
142 if (tclass < current_mapping_size) { in unmap_perm()
146 for (i=0; i<current_mapping[tclass].num_perms; i++) in unmap_perm()
148 kperm |= current_mapping[tclass].perms[i]; in unmap_perm()
186 map_perm(security_class_t tclass, access_vector_t kperm) in map_perm() argument
188 if (tclass < current_mapping_size) { in map_perm()
192 for (i=0; i<current_mapping[tclass].num_perms; i++) in map_perm()
193 if (kperm & current_mapping[tclass].perms[i]) { in map_perm()
195 kperm &= ~current_mapping[tclass].perms[i]; in map_perm()
209 map_decision(security_class_t tclass, struct av_decision *avd) in map_decision() argument
211 if (tclass < current_mapping_size) { in map_decision()
213 struct selinux_mapping *mapping = ¤t_mapping[tclass]; in map_decision()