Lines Matching refs:refpolicy
21 import sepolgen.refpolicy as refpolicy namespace
33 self.assertTrue(isinstance(a.perms, refpolicy.IdSet))
120 b.perms = refpolicy.IdSet(["read"])
124 b.perms = refpolicy.IdSet(["read", "write", "append"])
128 b.perms = refpolicy.IdSet(["read", "append"])
141 rule = refpolicy.AVRule()
163 self.assertEquals(av.perms, refpolicy.IdSet(["read", "write"]))
176 rule = refpolicy.AVRule()
206 self.assertEquals(av.perms, refpolicy.IdSet(["read", "write"]))
221 a.add("$1", "foo", "file", refpolicy.IdSet(["read", "write"]))
222 a.add("$1", "bar", "file", refpolicy.IdSet(["read", "write"]))
223 a.add("what", "bar", "file", refpolicy.IdSet(["read", "write"]))