Lines Matching refs:refpolicy
21 import sepolgen.refpolicy as refpolicy namespace
26 s = refpolicy.IdSet(["read", "write", "getattr"])
28 s = refpolicy.IdSet()
34 sc = refpolicy.SecurityContext()
35 sc = refpolicy.SecurityContext("user_u:object_r:foo_t")
39 sc = refpolicy.SecurityContext()
52 sc = refpolicy.SecurityContext()
61 sc = refpolicy.SecurityContext()
65 sc1 = refpolicy.SecurityContext("user_u:object_r:foo_t")
66 sc2 = refpolicy.SecurityContext("user_u:object_r:foo_t")
67 sc3 = refpolicy.SecurityContext("user_u:object_r:foo_t:s0")
68 sc4 = refpolicy.SecurityContext("user_u:object_r:bar_t")
76 o = refpolicy.ObjectClass(name="file")
82 a = refpolicy.AVRule()
90 a = refpolicy.AVRule()
108 a = refpolicy.TypeRule()
116 a = refpolicy.TypeRule()
127 h = refpolicy.Headers()
128 a = refpolicy.AVRule()
134 ifcall = refpolicy.InterfaceCall(ifname="allow_foobar")
138 i = refpolicy.Interface(name="foo")
143 a = refpolicy.AVRule()
149 i = refpolicy.Interface(name="bar")
155 h = refpolicy.Headers()
156 h.children.append(refpolicy.Interface(name="foo"))
157 h.children.append(refpolicy.Interface(name="bar"))
158 h.children.append(refpolicy.ClassMap("file", "read write"))