Lines Matching refs:refpolicy
21 import sepolgen.refpolicy as refpolicy
33 self.assertTrue(isinstance(a.perms, refpolicy.IdSet))
139 b.perms = refpolicy.IdSet(["read"])
143 b.perms = refpolicy.IdSet(["read", "write", "append"])
146 b.perms = refpolicy.IdSet(["read", "append"])
158 rule = refpolicy.AVRule()
180 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"]))
193 rule = refpolicy.AVRule()
223 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"]))
238 a.add("$1", "foo", "file", refpolicy.IdSet(["read", "write"]))
239 a.add("$1", "bar", "file", refpolicy.IdSet(["read", "write"]))
240 a.add("what", "bar", "file", refpolicy.IdSet(["read", "write"]))