Home | History | Annotate | Download | only in sepolgen

Lines Matching full:obj_class

78      .obj_class - The object class to which access is allowed. [String or None]
88 self.obj_class = None
119 self.obj_class = list[2]
130 l = [self.src_type, self.tgt_type, self.obj_class]
139 self.obj_class, self.perms.to_space_str())
144 a = (self.src_type, self.tgt_type, self.obj_class, x)
148 b = (other.src_type, other.tgt_type, other.obj_class, y)
171 for obj_class in avrule.obj_classes:
175 access.obj_class = obj_class
260 def add(self, src_type, tgt_type, obj_class, perms, audit_msg=None, avc_type=audit2why.TERULE, data=[]):
266 if (obj_class, avc_type) in cls:
267 access = cls[obj_class, avc_type]
272 access.obj_class = obj_class
275 cls[obj_class, avc_type] = access
283 self.add(av.src_type, av.tgt_type, av.obj_class, av.perms)
297 if av.obj_class in perms:
298 s = perms[av.obj_class]
301 perms[av.obj_class] = s