Lines Matching refs:refpolicy
21 import sepolgen.refpolicy as refpolicy namespace
33 self.assertTrue(isinstance(a.perms, refpolicy.IdSet))
144 b.perms = refpolicy.IdSet(["read"])
148 b.perms = refpolicy.IdSet(["read", "write", "append"])
151 b.perms = refpolicy.IdSet(["read", "append"])
166 xp = refpolicy.XpermSet()
179 xp = refpolicy.XpermSet()
193 xp1 = refpolicy.XpermSet()
198 xp2 = refpolicy.XpermSet()
212 xp1 = refpolicy.XpermSet()
217 xp2 = refpolicy.XpermSet()
236 rule = refpolicy.AVRule()
258 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"]))
271 rule = refpolicy.AVRule()
301 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"]))
316 a.add("$1", "foo", "file", refpolicy.IdSet(["read", "write"]))
317 a.add("$1", "bar", "file", refpolicy.IdSet(["read", "write"]))
318 a.add("what", "bar", "file", refpolicy.IdSet(["read", "write"]))
389 s.add("foo", "bar", "file", refpolicy.IdSet(["read"]),