16cd6a6acSopenharmony_ci(class testing (read open close write exec))
26cd6a6acSopenharmony_ci(class fooclass (read open close write exec))
36cd6a6acSopenharmony_ci
46cd6a6acSopenharmony_ci(type foo_t)
56cd6a6acSopenharmony_ci(type typea_t)
66cd6a6acSopenharmony_ci(type typeb_t)
76cd6a6acSopenharmony_ci(type typec_t)
86cd6a6acSopenharmony_ci(role foo_r)
96cd6a6acSopenharmony_ci(role rolea_r)
106cd6a6acSopenharmony_ci(role roleb_r)
116cd6a6acSopenharmony_ci(user foo_u)
126cd6a6acSopenharmony_ci(user user_u)
136cd6a6acSopenharmony_ci(userrole foo_u foo_r)
146cd6a6acSopenharmony_ci
156cd6a6acSopenharmony_ci(sid test_sid)
166cd6a6acSopenharmony_ci;(sidcontext test_sid (foo_u foo_r foo_t (s0 (c0)) (s0 (c0))))
176cd6a6acSopenharmony_ci;(sid test_sid_anon_l)
186cd6a6acSopenharmony_ci
196cd6a6acSopenharmony_ci;(fsuse xattr ext3 con)
206cd6a6acSopenharmony_ci;(fsuse xattr ext3 con_anon_l)
216cd6a6acSopenharmony_ci
226cd6a6acSopenharmony_ci;(netifcon eth0 con con_anon_l)
236cd6a6acSopenharmony_ci
246cd6a6acSopenharmony_ci(ipaddr ip_v4 192.25.35.200)
256cd6a6acSopenharmony_ci(ipaddr netmask 192.168.1.1)
266cd6a6acSopenharmony_ci(ipaddr ip_v6 2001:0DB8:AC10:FE01::)
276cd6a6acSopenharmony_ci(ipaddr netmask_v6 2001:0DE0:DA88:2222::)
286cd6a6acSopenharmony_ci; will need anon levels
296cd6a6acSopenharmony_ci;(nodecon ip_v4 netmask con)
306cd6a6acSopenharmony_ci;(nodecon ip_v6 netmask_v6 con_anon_l)
316cd6a6acSopenharmony_ci
326cd6a6acSopenharmony_ci;needs anon levels
336cd6a6acSopenharmony_ci;(portcon type 25 con)
346cd6a6acSopenharmony_ci
356cd6a6acSopenharmony_ci;(filecon root path file con)
366cd6a6acSopenharmony_ci
376cd6a6acSopenharmony_ci;(genfscon type path con)
386cd6a6acSopenharmony_ci
396cd6a6acSopenharmony_ci;(netifcon eth0 con con_anon_l)
406cd6a6acSopenharmony_ci
416cd6a6acSopenharmony_ci(typemember typea_t typeb_t testing typec_t)
426cd6a6acSopenharmony_ci(typechange typea_t typeb_t testing typec_t)
436cd6a6acSopenharmony_ci(typetransition typea_t typeb_t testing typec_t)
446cd6a6acSopenharmony_ci
456cd6a6acSopenharmony_ci(permissionset permset (open close))
466cd6a6acSopenharmony_ci(allow typea_t typeb_t testing (write))
476cd6a6acSopenharmony_ci(allow typea_t typeb_t testing permset)
486cd6a6acSopenharmony_ci
496cd6a6acSopenharmony_ci(roleallow rolea_r roleb_r)
506cd6a6acSopenharmony_ci
516cd6a6acSopenharmony_ci(rolebounds rolea_r roleb_r)
526cd6a6acSopenharmony_ci
536cd6a6acSopenharmony_ci(roletransition foo_r foo_t testing rolea_r)
546cd6a6acSopenharmony_ci
556cd6a6acSopenharmony_ci(common fooclass (open))
566cd6a6acSopenharmony_ci(classcommon fooclass fooclass)
576cd6a6acSopenharmony_ci
586cd6a6acSopenharmony_ci
596cd6a6acSopenharmony_ci(nametypetransition string typea_t typeb_t fooclass foo_t)
606cd6a6acSopenharmony_ci
616cd6a6acSopenharmony_ci(typepermissive foo_t)
626cd6a6acSopenharmony_ci
636cd6a6acSopenharmony_ci(typebounds typea_t typeb_t)
646cd6a6acSopenharmony_ci
656cd6a6acSopenharmony_ci(block test_b
666cd6a6acSopenharmony_ci 	(typealias .test_b.test typea_t)
676cd6a6acSopenharmony_ci	(type test))
686cd6a6acSopenharmony_ci
696cd6a6acSopenharmony_ci(attribute attrs)
706cd6a6acSopenharmony_ci(attributetypes attrs (foo_t))
716cd6a6acSopenharmony_ci
726cd6a6acSopenharmony_ci(roletype foo_r foo_t)
736cd6a6acSopenharmony_ci
746cd6a6acSopenharmony_ci(userbounds user_u foo_u)
756cd6a6acSopenharmony_ci
766cd6a6acSopenharmony_ci(userrole user_u foo_r)
776cd6a6acSopenharmony_ci
786cd6a6acSopenharmony_ci;(bool foo_b true)
796cd6a6acSopenharmony_ci;(bool baz_b false)
806cd6a6acSopenharmony_ci;(booleanif (&& foo_b baz_b)
816cd6a6acSopenharmony_ci; 	(allow typea_t typeb_t fooclass(read)))
826cd6a6acSopenharmony_ci;(class baz (read))
836cd6a6acSopenharmony_ci;(booleanif (&& foo_b baz_b)
846cd6a6acSopenharmony_ci;	(allow foo_b baz_b fooclass (read)))
856cd6a6acSopenharmony_ci
866cd6a6acSopenharmony_ci
87