xref: /aosp_15_r20/external/selinux/secilc/test/deny_rule_test1.cil (revision 2d543d20722ada2425b5bdab9d0d1d29470e7bba)
1*2d543d20SAndroid Build Coastguard Worker(class CLASS (PERM))
2*2d543d20SAndroid Build Coastguard Worker(class ca (pa1 pa2 pa3 pa4 pa5 pa6 pa7 pa8 pa9))
3*2d543d20SAndroid Build Coastguard Worker(class cb (pb1 pb2 pb3 pb4 pb5 pb6 pb7 pb8 pb9))
4*2d543d20SAndroid Build Coastguard Worker(class cc (pc1 pc2 pc3 pc4 pc5 pc6 pc7 pc8 pc9))
5*2d543d20SAndroid Build Coastguard Worker(class cd (pd1 pd2 pd3 pd4 pd5 pd6 pd7 pd8 pd9))
6*2d543d20SAndroid Build Coastguard Worker(class ce (pe1 pe2 pe3 pe4 pe5 pe6 pe7 pe8 pe9))
7*2d543d20SAndroid Build Coastguard Worker(class cf (pf1 pf2 pf3 pf4 pf5 pf6 pf7 pf8 pf9))
8*2d543d20SAndroid Build Coastguard Worker(class cg (pg1 pg2 pg3 pg4 pg5 pg6 pg7 pg8 pg9))
9*2d543d20SAndroid Build Coastguard Worker(class ch (ph1 ph2 ph3 ph4 ph5 ph6 ph7 ph8 ph9))
10*2d543d20SAndroid Build Coastguard Worker(class ci (pi1 pi2 pi3 pi4 pi5 pi6 pi7 pi8 pi9))
11*2d543d20SAndroid Build Coastguard Worker(class cj (pj1 pj2 pj3 pj4 pj5 pj6 pj7 pj8 pj9))
12*2d543d20SAndroid Build Coastguard Worker(classorder (CLASS ca cb cc cd ce cf cg ch ci cj))
13*2d543d20SAndroid Build Coastguard Worker(sid SID)
14*2d543d20SAndroid Build Coastguard Worker(sidorder (SID))
15*2d543d20SAndroid Build Coastguard Worker(user USER)
16*2d543d20SAndroid Build Coastguard Worker(role ROLE)
17*2d543d20SAndroid Build Coastguard Worker(type TYPE)
18*2d543d20SAndroid Build Coastguard Worker(category CAT)
19*2d543d20SAndroid Build Coastguard Worker(categoryorder (CAT))
20*2d543d20SAndroid Build Coastguard Worker(sensitivity SENS)
21*2d543d20SAndroid Build Coastguard Worker(sensitivityorder (SENS))
22*2d543d20SAndroid Build Coastguard Worker(sensitivitycategory SENS (CAT))
23*2d543d20SAndroid Build Coastguard Worker(allow TYPE self (CLASS (PERM)))
24*2d543d20SAndroid Build Coastguard Worker(roletype ROLE TYPE)
25*2d543d20SAndroid Build Coastguard Worker(userrole USER ROLE)
26*2d543d20SAndroid Build Coastguard Worker(userlevel USER (SENS))
27*2d543d20SAndroid Build Coastguard Worker(userrange USER ((SENS)(SENS (CAT))))
28*2d543d20SAndroid Build Coastguard Worker(sidcontext SID (USER ROLE TYPE ((SENS)(SENS))))
29*2d543d20SAndroid Build Coastguard Worker
30*2d543d20SAndroid Build Coastguard Worker(classmap cma (mpa1 mpa2))
31*2d543d20SAndroid Build Coastguard Worker(classmapping cma mpa1
32*2d543d20SAndroid Build Coastguard Worker	      (cc (pc1 pc2)))
33*2d543d20SAndroid Build Coastguard Worker(classmapping cma mpa2
34*2d543d20SAndroid Build Coastguard Worker	      (cc (pc3 pc4)))
35*2d543d20SAndroid Build Coastguard Worker
36*2d543d20SAndroid Build Coastguard Worker(classmap cmb (mpb1 mpb2))
37*2d543d20SAndroid Build Coastguard Worker(classmapping cmb mpb1
38*2d543d20SAndroid Build Coastguard Worker	      (cd (pd1 pd2)))
39*2d543d20SAndroid Build Coastguard Worker(classmapping cmb mpb2
40*2d543d20SAndroid Build Coastguard Worker	      (cd (pd3 pd4)))
41*2d543d20SAndroid Build Coastguard Worker
42*2d543d20SAndroid Build Coastguard Worker(classpermission cpsa)
43*2d543d20SAndroid Build Coastguard Worker(classpermissionset cpsa (cd (pd5 pd6)))
44*2d543d20SAndroid Build Coastguard Worker(classpermissionset cpsa (cd (pd7 pd8)))
45*2d543d20SAndroid Build Coastguard Worker
46*2d543d20SAndroid Build Coastguard Worker(classpermission cpsb)
47*2d543d20SAndroid Build Coastguard Worker(classpermissionset cpsb (cd (pd1 pd2)))
48*2d543d20SAndroid Build Coastguard Worker(classpermissionset cpsb (cd (pd3 pd4)))
49*2d543d20SAndroid Build Coastguard Worker
50*2d543d20SAndroid Build Coastguard Worker(type ta)
51*2d543d20SAndroid Build Coastguard Worker(type tb)
52*2d543d20SAndroid Build Coastguard Worker(type tc)
53*2d543d20SAndroid Build Coastguard Worker(type td)
54*2d543d20SAndroid Build Coastguard Worker(type te)
55*2d543d20SAndroid Build Coastguard Worker(type tf)
56*2d543d20SAndroid Build Coastguard Worker(type tg)
57*2d543d20SAndroid Build Coastguard Worker(type th)
58*2d543d20SAndroid Build Coastguard Worker(type ti)
59*2d543d20SAndroid Build Coastguard Worker(type tj)
60*2d543d20SAndroid Build Coastguard Worker(type tk)
61*2d543d20SAndroid Build Coastguard Worker(type tl)
62*2d543d20SAndroid Build Coastguard Worker(type tm)
63*2d543d20SAndroid Build Coastguard Worker(type tn)
64*2d543d20SAndroid Build Coastguard Worker(type to)
65*2d543d20SAndroid Build Coastguard Worker(type tp)
66*2d543d20SAndroid Build Coastguard Worker(type tq)
67*2d543d20SAndroid Build Coastguard Worker(type tr)
68*2d543d20SAndroid Build Coastguard Worker(type ts)
69*2d543d20SAndroid Build Coastguard Worker(type tt)
70*2d543d20SAndroid Build Coastguard Worker(type tu)
71*2d543d20SAndroid Build Coastguard Worker(type tv)
72*2d543d20SAndroid Build Coastguard Worker(type tw)
73*2d543d20SAndroid Build Coastguard Worker(type tx)
74*2d543d20SAndroid Build Coastguard Worker(type ty)
75*2d543d20SAndroid Build Coastguard Worker(type tz)
76*2d543d20SAndroid Build Coastguard Worker
77*2d543d20SAndroid Build Coastguard Worker(typeattribute a_s1)
78*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_s1 (ta tb tc td te tf tg th tk tl tm tn ts tt))
79*2d543d20SAndroid Build Coastguard Worker(typeattribute a_t1)
80*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_t1 (ta tb tc td te tf ti tj tk tl to tp tu tv))
81*2d543d20SAndroid Build Coastguard Worker(typeattribute a_s2)
82*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_s2 (ta tb tc td tg th ti tj tm tn tq tr tw tx))
83*2d543d20SAndroid Build Coastguard Worker(typeattribute a_t2)
84*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_t2 (ta tb te tf tg th ti tj to tp tq tr ty tz))
85*2d543d20SAndroid Build Coastguard Worker(typeattribute a_s3)
86*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_s3 (and a_s1 (not a_s2)))
87*2d543d20SAndroid Build Coastguard Worker(typeattribute a_s4)
88*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_s4 (and a_s1 a_s2))
89*2d543d20SAndroid Build Coastguard Worker(typeattribute a_t3)
90*2d543d20SAndroid Build Coastguard Worker(typeattributeset a_t3 (and a_t1 (not a_t2)))
91*2d543d20SAndroid Build Coastguard Worker
92*2d543d20SAndroid Build Coastguard Worker
93*2d543d20SAndroid Build Coastguard Worker(typeattribute aab)
94*2d543d20SAndroid Build Coastguard Worker(typeattributeset aab (ta tb))
95*2d543d20SAndroid Build Coastguard Worker
96*2d543d20SAndroid Build Coastguard Worker(typeattribute aNab)
97*2d543d20SAndroid Build Coastguard Worker(typeattributeset aNab (and (all) (not (ta tb))))
98*2d543d20SAndroid Build Coastguard Worker
99*2d543d20SAndroid Build Coastguard Worker(typeattribute aNac)
100*2d543d20SAndroid Build Coastguard Worker(typeattributeset aNac (and (all) (not (ta tc))))
101*2d543d20SAndroid Build Coastguard Worker
102*2d543d20SAndroid Build Coastguard Worker(typeattribute aNbc)
103*2d543d20SAndroid Build Coastguard Worker(typeattributeset aNbc (and (all) (not (tb tc))))
104*2d543d20SAndroid Build Coastguard Worker
105*2d543d20SAndroid Build Coastguard Worker(typeattribute acd)
106*2d543d20SAndroid Build Coastguard Worker(typeattributeset acd (tc td))
107*2d543d20SAndroid Build Coastguard Worker
108*2d543d20SAndroid Build Coastguard Worker(typeattribute aNacd)
109*2d543d20SAndroid Build Coastguard Worker(typeattributeset aNacd (and (all) (not (ta tc td))))
110*2d543d20SAndroid Build Coastguard Worker
111*2d543d20SAndroid Build Coastguard Worker(typeattribute aabc)
112*2d543d20SAndroid Build Coastguard Worker(typeattributeset aabc (ta tb tc))
113*2d543d20SAndroid Build Coastguard Worker
114*2d543d20SAndroid Build Coastguard Worker
115*2d543d20SAndroid Build Coastguard Worker; Test 01
116*2d543d20SAndroid Build Coastguard Worker(allow ta tb (ca (pa1)))
117*2d543d20SAndroid Build Coastguard Worker(deny ta tb (ca (pa1)))
118*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (ca (pa1)))
119*2d543d20SAndroid Build Coastguard Worker
120*2d543d20SAndroid Build Coastguard Worker; Test 02
121*2d543d20SAndroid Build Coastguard Worker(allow ta tb (ca (pa2 pa3)))
122*2d543d20SAndroid Build Coastguard Worker(deny ta tb (ca (pa2)))
123*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (ca (pa2)))
124*2d543d20SAndroid Build Coastguard Worker; (neverallow ta tb (ca (pa3))) ; This check should fail
125*2d543d20SAndroid Build Coastguard Worker
126*2d543d20SAndroid Build Coastguard Worker; Test 03
127*2d543d20SAndroid Build Coastguard Worker(allow tc td (ca (pa2)))
128*2d543d20SAndroid Build Coastguard Worker(deny tc td (ca (pa2 pa3)))
129*2d543d20SAndroid Build Coastguard Worker(neverallow tc td (ca (pa2 pa3)))
130*2d543d20SAndroid Build Coastguard Worker
131*2d543d20SAndroid Build Coastguard Worker; Test 04
132*2d543d20SAndroid Build Coastguard Worker(allow aab acd (ca (pa4)))
133*2d543d20SAndroid Build Coastguard Worker(deny aab acd (ca (pa4)))
134*2d543d20SAndroid Build Coastguard Worker(neverallow aab acd (ca (pa4)))
135*2d543d20SAndroid Build Coastguard Worker
136*2d543d20SAndroid Build Coastguard Worker; Test 05
137*2d543d20SAndroid Build Coastguard Worker(allow ta tc (ca (pa5)))
138*2d543d20SAndroid Build Coastguard Worker(deny aab acd (ca (pa5)))
139*2d543d20SAndroid Build Coastguard Worker(neverallow aab acd (ca (pa5)))
140*2d543d20SAndroid Build Coastguard Worker
141*2d543d20SAndroid Build Coastguard Worker; Test 06
142*2d543d20SAndroid Build Coastguard Worker(allow aab acd (ca (pa6)))
143*2d543d20SAndroid Build Coastguard Worker(deny ta tc (ca (pa6)))
144*2d543d20SAndroid Build Coastguard Worker(neverallow ta tc (ca (pa6)))
145*2d543d20SAndroid Build Coastguard Worker; (neverallow tb td (ca (pa6))) ; This check should fail
146*2d543d20SAndroid Build Coastguard Worker
147*2d543d20SAndroid Build Coastguard Worker; Test 07
148*2d543d20SAndroid Build Coastguard Worker(allow ta self (ca (pa7)))
149*2d543d20SAndroid Build Coastguard Worker(deny ta self (ca (pa7)))
150*2d543d20SAndroid Build Coastguard Worker(neverallow ta self (ca (pa7)))
151*2d543d20SAndroid Build Coastguard Worker
152*2d543d20SAndroid Build Coastguard Worker; Test 08
153*2d543d20SAndroid Build Coastguard Worker(allow ta self (ca (pa8)))
154*2d543d20SAndroid Build Coastguard Worker(deny ta ta (ca (pa8)))
155*2d543d20SAndroid Build Coastguard Worker(neverallow ta ta (ca (pa8)))
156*2d543d20SAndroid Build Coastguard Worker
157*2d543d20SAndroid Build Coastguard Worker; Test 09
158*2d543d20SAndroid Build Coastguard Worker(allow ta ta (ca (pa9)))
159*2d543d20SAndroid Build Coastguard Worker(deny ta self (ca (pa9)))
160*2d543d20SAndroid Build Coastguard Worker(neverallow ta self (ca (pa9)))
161*2d543d20SAndroid Build Coastguard Worker
162*2d543d20SAndroid Build Coastguard Worker; Test 11
163*2d543d20SAndroid Build Coastguard Worker(allow aab self (cb (pb1)))
164*2d543d20SAndroid Build Coastguard Worker(deny aab self (cb (pb1)))
165*2d543d20SAndroid Build Coastguard Worker(neverallow aab self (cb (pb1)))
166*2d543d20SAndroid Build Coastguard Worker
167*2d543d20SAndroid Build Coastguard Worker; Test 12
168*2d543d20SAndroid Build Coastguard Worker(allow ta self (cb (pb2)))
169*2d543d20SAndroid Build Coastguard Worker(deny aab self (cb (pb2)))
170*2d543d20SAndroid Build Coastguard Worker(neverallow aab self (cb (pb2)))
171*2d543d20SAndroid Build Coastguard Worker
172*2d543d20SAndroid Build Coastguard Worker; Test 13
173*2d543d20SAndroid Build Coastguard Worker(allow aab self (cb (pb3)))
174*2d543d20SAndroid Build Coastguard Worker(deny ta self (cb (pb3)))
175*2d543d20SAndroid Build Coastguard Worker(neverallow ta self (cb (pb3)))
176*2d543d20SAndroid Build Coastguard Worker; (neverallow tb self (cb (pb3))) ; This check should fail
177*2d543d20SAndroid Build Coastguard Worker
178*2d543d20SAndroid Build Coastguard Worker; Test 14
179*2d543d20SAndroid Build Coastguard Worker(allow aab self (cb (pb4)))
180*2d543d20SAndroid Build Coastguard Worker(deny aab aab (cb (pb4)))
181*2d543d20SAndroid Build Coastguard Worker(neverallow aab aab (cb (pb4)))
182*2d543d20SAndroid Build Coastguard Worker
183*2d543d20SAndroid Build Coastguard Worker; Test 15
184*2d543d20SAndroid Build Coastguard Worker(allow aab aab (cb (pb5)))
185*2d543d20SAndroid Build Coastguard Worker(deny aab self (cb (pb5)))
186*2d543d20SAndroid Build Coastguard Worker(neverallow aab self (cb (pb5)))
187*2d543d20SAndroid Build Coastguard Worker; (neverallow ta tb (cb (pb5))) ; This check should fail
188*2d543d20SAndroid Build Coastguard Worker; (neverallow tb ta (cb (pb5))) ; This check should fail
189*2d543d20SAndroid Build Coastguard Worker
190*2d543d20SAndroid Build Coastguard Worker; Test 16
191*2d543d20SAndroid Build Coastguard Worker(allow aab self (cb (pb6)))
192*2d543d20SAndroid Build Coastguard Worker(deny ta ta (cb (pb6)))
193*2d543d20SAndroid Build Coastguard Worker(neverallow ta ta (cb (pb6)))
194*2d543d20SAndroid Build Coastguard Worker; (neverallow tb tb (cb (pb6))) ; This check should fail
195*2d543d20SAndroid Build Coastguard Worker
196*2d543d20SAndroid Build Coastguard Worker; Test 17
197*2d543d20SAndroid Build Coastguard Worker(allow ta ta (cb (pb7)))
198*2d543d20SAndroid Build Coastguard Worker(deny aab self (cb (pb7)))
199*2d543d20SAndroid Build Coastguard Worker(neverallow aab self (cb (pb7)))
200*2d543d20SAndroid Build Coastguard Worker
201*2d543d20SAndroid Build Coastguard Worker; Test 18
202*2d543d20SAndroid Build Coastguard Worker(allow ta self (cb (pb8)))
203*2d543d20SAndroid Build Coastguard Worker(deny aab aab (cb (pb8)))
204*2d543d20SAndroid Build Coastguard Worker(neverallow aab aab (cb (pb8)))
205*2d543d20SAndroid Build Coastguard Worker
206*2d543d20SAndroid Build Coastguard Worker; Test 19
207*2d543d20SAndroid Build Coastguard Worker(allow aab aab (cb (pb9)))
208*2d543d20SAndroid Build Coastguard Worker(deny ta self (cb (pb9)))
209*2d543d20SAndroid Build Coastguard Worker(neverallow ta self (cb (pb9)))
210*2d543d20SAndroid Build Coastguard Worker; (neverallow ta tb (cb (pb9))) ; This check should fail
211*2d543d20SAndroid Build Coastguard Worker; (neverallow tb ta (cb (pb9))) ; This check should fail
212*2d543d20SAndroid Build Coastguard Worker
213*2d543d20SAndroid Build Coastguard Worker; Test 21
214*2d543d20SAndroid Build Coastguard Worker(allow ta tb (cma (mpa1)))
215*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cma (mpa1)))
216*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cma (mpa1)))
217*2d543d20SAndroid Build Coastguard Worker
218*2d543d20SAndroid Build Coastguard Worker; Test 22
219*2d543d20SAndroid Build Coastguard Worker(allow tc td (cma (mpa1 mpa2)))
220*2d543d20SAndroid Build Coastguard Worker(deny tc td (cma (mpa1)))
221*2d543d20SAndroid Build Coastguard Worker(neverallow tc td (cma (mpa1)))
222*2d543d20SAndroid Build Coastguard Worker; (neverallow tc td (cma (mpa2))) ; This check should fail
223*2d543d20SAndroid Build Coastguard Worker
224*2d543d20SAndroid Build Coastguard Worker; Test 23
225*2d543d20SAndroid Build Coastguard Worker(allow te tf (cma (mpa1)))
226*2d543d20SAndroid Build Coastguard Worker(deny te tf (cma (mpa1 mpa2)))
227*2d543d20SAndroid Build Coastguard Worker(neverallow te tf (cma (mpa1 mpa2)))
228*2d543d20SAndroid Build Coastguard Worker
229*2d543d20SAndroid Build Coastguard Worker; Test 24
230*2d543d20SAndroid Build Coastguard Worker(allow tg th (cc (pc1)))
231*2d543d20SAndroid Build Coastguard Worker(deny tg th (cma (mpa1)))
232*2d543d20SAndroid Build Coastguard Worker(neverallow tg th (cma (mpa1)))
233*2d543d20SAndroid Build Coastguard Worker
234*2d543d20SAndroid Build Coastguard Worker; Test 25
235*2d543d20SAndroid Build Coastguard Worker(allow ti tj (cma (mpa1)))
236*2d543d20SAndroid Build Coastguard Worker(deny ti tj (cc (pc1)))
237*2d543d20SAndroid Build Coastguard Worker(neverallow ti tj (cc (pc1)))
238*2d543d20SAndroid Build Coastguard Worker; (neverallow ti tj (cc (pc2))) ; This check should fail
239*2d543d20SAndroid Build Coastguard Worker
240*2d543d20SAndroid Build Coastguard Worker; Test 31
241*2d543d20SAndroid Build Coastguard Worker(allow ta tb cpsa)
242*2d543d20SAndroid Build Coastguard Worker(deny ta tb cpsa)
243*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb cpsa)
244*2d543d20SAndroid Build Coastguard Worker
245*2d543d20SAndroid Build Coastguard Worker; Test 32
246*2d543d20SAndroid Build Coastguard Worker(allow tc td cpsa)
247*2d543d20SAndroid Build Coastguard Worker(deny tc td (cd (pd5 pd6)))
248*2d543d20SAndroid Build Coastguard Worker(neverallow tc td (cd (pd5 pd6)))
249*2d543d20SAndroid Build Coastguard Worker; (neverallow tc td (cd (pd7 pd8))) ; This check should fail
250*2d543d20SAndroid Build Coastguard Worker
251*2d543d20SAndroid Build Coastguard Worker; Test 33
252*2d543d20SAndroid Build Coastguard Worker(allow te tf (cd (pd5 pd6)))
253*2d543d20SAndroid Build Coastguard Worker(deny te tf cpsa)
254*2d543d20SAndroid Build Coastguard Worker(neverallow te tf cpsa)
255*2d543d20SAndroid Build Coastguard Worker
256*2d543d20SAndroid Build Coastguard Worker; Test 34
257*2d543d20SAndroid Build Coastguard Worker(allow tg th cpsb)
258*2d543d20SAndroid Build Coastguard Worker(deny tg th (cmb (mpb1 mpb2)))
259*2d543d20SAndroid Build Coastguard Worker(neverallow tg th (cmb (mpb1 mpb2)))
260*2d543d20SAndroid Build Coastguard Worker
261*2d543d20SAndroid Build Coastguard Worker; Test 35
262*2d543d20SAndroid Build Coastguard Worker(allow ti tj (cmb (mpb1 mpb2)))
263*2d543d20SAndroid Build Coastguard Worker(deny ti tj cpsb)
264*2d543d20SAndroid Build Coastguard Worker(neverallow ti tj cpsb)
265*2d543d20SAndroid Build Coastguard Worker
266*2d543d20SAndroid Build Coastguard Worker; Test 36
267*2d543d20SAndroid Build Coastguard Worker(allow tk tl cpsb)
268*2d543d20SAndroid Build Coastguard Worker(deny tk tl (cmb (mpb1)))
269*2d543d20SAndroid Build Coastguard Worker(neverallow tk tl (cmb (mpb1)))
270*2d543d20SAndroid Build Coastguard Worker; (neverallow tk tl (cmb (mpb2))) ; This check should fail
271*2d543d20SAndroid Build Coastguard Worker
272*2d543d20SAndroid Build Coastguard Worker; Test 37
273*2d543d20SAndroid Build Coastguard Worker(allow tm tn (cmb (mpb1)))
274*2d543d20SAndroid Build Coastguard Worker(deny tm tn cpsb)
275*2d543d20SAndroid Build Coastguard Worker(neverallow tm tn cpsb)
276*2d543d20SAndroid Build Coastguard Worker
277*2d543d20SAndroid Build Coastguard Worker; Test 41
278*2d543d20SAndroid Build Coastguard Worker(block b41
279*2d543d20SAndroid Build Coastguard Worker  (allow ta tb (ce (pe1)))
280*2d543d20SAndroid Build Coastguard Worker  (deny ta tb (ce (pe1)))
281*2d543d20SAndroid Build Coastguard Worker  (neverallow ta tb (ce (pe1)))
282*2d543d20SAndroid Build Coastguard Worker)
283*2d543d20SAndroid Build Coastguard Worker
284*2d543d20SAndroid Build Coastguard Worker; Test 42
285*2d543d20SAndroid Build Coastguard Worker(block b42
286*2d543d20SAndroid Build Coastguard Worker  (type ta)
287*2d543d20SAndroid Build Coastguard Worker  (type tb)
288*2d543d20SAndroid Build Coastguard Worker  (type tc)
289*2d543d20SAndroid Build Coastguard Worker  (type td)
290*2d543d20SAndroid Build Coastguard Worker  (type te)
291*2d543d20SAndroid Build Coastguard Worker  (type tf)
292*2d543d20SAndroid Build Coastguard Worker  (type tg)
293*2d543d20SAndroid Build Coastguard Worker  (typeattribute aa)
294*2d543d20SAndroid Build Coastguard Worker  (typeattribute ab)
295*2d543d20SAndroid Build Coastguard Worker  (typeattribute ac)
296*2d543d20SAndroid Build Coastguard Worker  (typeattribute ad)
297*2d543d20SAndroid Build Coastguard Worker  (typeattribute s3)
298*2d543d20SAndroid Build Coastguard Worker  (typeattribute s4)
299*2d543d20SAndroid Build Coastguard Worker  (typeattribute t3)
300*2d543d20SAndroid Build Coastguard Worker  (typeattributeset aa (ta tb td))
301*2d543d20SAndroid Build Coastguard Worker  (typeattributeset ab (ta tc te))
302*2d543d20SAndroid Build Coastguard Worker  (typeattributeset ac (ta tb tf))
303*2d543d20SAndroid Build Coastguard Worker  (typeattributeset ad (ta tc tg))
304*2d543d20SAndroid Build Coastguard Worker  (typeattributeset s3 (and aa (not ac)))
305*2d543d20SAndroid Build Coastguard Worker  (typeattributeset s4 (and aa ac))
306*2d543d20SAndroid Build Coastguard Worker  (typeattributeset t3 (and ab (not ad)))
307*2d543d20SAndroid Build Coastguard Worker  (allow aa ab (ce (pe2)))
308*2d543d20SAndroid Build Coastguard Worker  (deny ac ad (ce (pe2)))
309*2d543d20SAndroid Build Coastguard Worker  (neverallow ac ad (ce (pe2)))
310*2d543d20SAndroid Build Coastguard Worker  ;(neverallow s3 ab (ce (pe2))) ; This check should fail
311*2d543d20SAndroid Build Coastguard Worker  ;(neverallow s4 t3 (ce (pe2))) ; This check should fail
312*2d543d20SAndroid Build Coastguard Worker)
313*2d543d20SAndroid Build Coastguard Worker
314*2d543d20SAndroid Build Coastguard Worker; Test 43
315*2d543d20SAndroid Build Coastguard Worker(block b43
316*2d543d20SAndroid Build Coastguard Worker  (type ta)
317*2d543d20SAndroid Build Coastguard Worker  (type tb)
318*2d543d20SAndroid Build Coastguard Worker  (allow ta tb (ce (pe3)))
319*2d543d20SAndroid Build Coastguard Worker)
320*2d543d20SAndroid Build Coastguard Worker(deny b43.ta b43.tb (ce (pe3)))
321*2d543d20SAndroid Build Coastguard Worker(neverallow b43.ta b43.tb (ce (pe3)))
322*2d543d20SAndroid Build Coastguard Worker
323*2d543d20SAndroid Build Coastguard Worker; Test 44
324*2d543d20SAndroid Build Coastguard Worker(block b44
325*2d543d20SAndroid Build Coastguard Worker  (type ta)
326*2d543d20SAndroid Build Coastguard Worker  (type tb)
327*2d543d20SAndroid Build Coastguard Worker  (allow ta tb (ce (pe4)))
328*2d543d20SAndroid Build Coastguard Worker)
329*2d543d20SAndroid Build Coastguard Worker
330*2d543d20SAndroid Build Coastguard Worker(block b44a
331*2d543d20SAndroid Build Coastguard Worker  (blockinherit b44)
332*2d543d20SAndroid Build Coastguard Worker  (deny ta tb (ce (pe4)))
333*2d543d20SAndroid Build Coastguard Worker  (neverallow ta tb (ce (pe4)))
334*2d543d20SAndroid Build Coastguard Worker)
335*2d543d20SAndroid Build Coastguard Worker
336*2d543d20SAndroid Build Coastguard Worker(block b44b
337*2d543d20SAndroid Build Coastguard Worker  (blockinherit b44)
338*2d543d20SAndroid Build Coastguard Worker)
339*2d543d20SAndroid Build Coastguard Worker(deny b44b.ta b44b.tb (ce (pe4)))
340*2d543d20SAndroid Build Coastguard Worker(neverallow b44b.ta b44b.tb (ce (pe4)))
341*2d543d20SAndroid Build Coastguard Worker
342*2d543d20SAndroid Build Coastguard Worker
343*2d543d20SAndroid Build Coastguard Worker; Test 45
344*2d543d20SAndroid Build Coastguard Worker(optional opt45
345*2d543d20SAndroid Build Coastguard Worker  (allow aab acd (ce (pe5)))
346*2d543d20SAndroid Build Coastguard Worker  (deny aab acd (ce (pe5)))
347*2d543d20SAndroid Build Coastguard Worker  (neverallow aab acd (ce (pe5)))
348*2d543d20SAndroid Build Coastguard Worker)
349*2d543d20SAndroid Build Coastguard Worker
350*2d543d20SAndroid Build Coastguard Worker; Test 46
351*2d543d20SAndroid Build Coastguard Worker(allow ta tc (ce (pe6)))
352*2d543d20SAndroid Build Coastguard Worker(optional opt46
353*2d543d20SAndroid Build Coastguard Worker  (deny aab acd (ce (pe6)))
354*2d543d20SAndroid Build Coastguard Worker  (neverallow aab acd (ce (pe6)))
355*2d543d20SAndroid Build Coastguard Worker)
356*2d543d20SAndroid Build Coastguard Worker
357*2d543d20SAndroid Build Coastguard Worker; Test 47
358*2d543d20SAndroid Build Coastguard Worker(optional opt47
359*2d543d20SAndroid Build Coastguard Worker  (allow aab acd (ce (pe7)))
360*2d543d20SAndroid Build Coastguard Worker)
361*2d543d20SAndroid Build Coastguard Worker(deny ta tc (ce (pe7)))
362*2d543d20SAndroid Build Coastguard Worker(neverallow ta tc (ce (pe7)))
363*2d543d20SAndroid Build Coastguard Worker
364*2d543d20SAndroid Build Coastguard Worker; Test 51
365*2d543d20SAndroid Build Coastguard Worker(boolean b51 true)
366*2d543d20SAndroid Build Coastguard Worker(booleanif b51
367*2d543d20SAndroid Build Coastguard Worker  (true
368*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf1)))
369*2d543d20SAndroid Build Coastguard Worker  )
370*2d543d20SAndroid Build Coastguard Worker)
371*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf1)))
372*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf1)))
373*2d543d20SAndroid Build Coastguard Worker
374*2d543d20SAndroid Build Coastguard Worker; Test 52
375*2d543d20SAndroid Build Coastguard Worker(boolean b52 true)
376*2d543d20SAndroid Build Coastguard Worker(booleanif b52
377*2d543d20SAndroid Build Coastguard Worker  (false
378*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf2)))
379*2d543d20SAndroid Build Coastguard Worker  )
380*2d543d20SAndroid Build Coastguard Worker)
381*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf2)))
382*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf2)))
383*2d543d20SAndroid Build Coastguard Worker
384*2d543d20SAndroid Build Coastguard Worker; Test 53
385*2d543d20SAndroid Build Coastguard Worker(boolean b53 false)
386*2d543d20SAndroid Build Coastguard Worker(booleanif b53
387*2d543d20SAndroid Build Coastguard Worker  (true
388*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf3)))
389*2d543d20SAndroid Build Coastguard Worker  )
390*2d543d20SAndroid Build Coastguard Worker)
391*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf3)))
392*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf3)))
393*2d543d20SAndroid Build Coastguard Worker
394*2d543d20SAndroid Build Coastguard Worker; Test 54
395*2d543d20SAndroid Build Coastguard Worker(boolean b54 false)
396*2d543d20SAndroid Build Coastguard Worker(booleanif b54
397*2d543d20SAndroid Build Coastguard Worker  (true
398*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf4)))
399*2d543d20SAndroid Build Coastguard Worker  )
400*2d543d20SAndroid Build Coastguard Worker)
401*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf4)))
402*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf4)))
403*2d543d20SAndroid Build Coastguard Worker
404*2d543d20SAndroid Build Coastguard Worker; Test 55
405*2d543d20SAndroid Build Coastguard Worker(tunable b55 true)
406*2d543d20SAndroid Build Coastguard Worker(tunableif b55
407*2d543d20SAndroid Build Coastguard Worker  (true
408*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf5)))
409*2d543d20SAndroid Build Coastguard Worker  )
410*2d543d20SAndroid Build Coastguard Worker)
411*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf5)))
412*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf5)))
413*2d543d20SAndroid Build Coastguard Worker
414*2d543d20SAndroid Build Coastguard Worker; Test 56
415*2d543d20SAndroid Build Coastguard Worker(tunable b56 true)
416*2d543d20SAndroid Build Coastguard Worker(tunableif b56
417*2d543d20SAndroid Build Coastguard Worker  (false
418*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf6)))
419*2d543d20SAndroid Build Coastguard Worker  )
420*2d543d20SAndroid Build Coastguard Worker)
421*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf6)))
422*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf6)))
423*2d543d20SAndroid Build Coastguard Worker
424*2d543d20SAndroid Build Coastguard Worker; Test 57
425*2d543d20SAndroid Build Coastguard Worker(tunable b57 false)
426*2d543d20SAndroid Build Coastguard Worker(tunableif b57
427*2d543d20SAndroid Build Coastguard Worker  (true
428*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf7)))
429*2d543d20SAndroid Build Coastguard Worker  )
430*2d543d20SAndroid Build Coastguard Worker)
431*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf7)))
432*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf7)))
433*2d543d20SAndroid Build Coastguard Worker
434*2d543d20SAndroid Build Coastguard Worker; Test 58
435*2d543d20SAndroid Build Coastguard Worker(tunable b58 false)
436*2d543d20SAndroid Build Coastguard Worker(tunableif b58
437*2d543d20SAndroid Build Coastguard Worker  (true
438*2d543d20SAndroid Build Coastguard Worker    (allow ta tb (cf (pf8)))
439*2d543d20SAndroid Build Coastguard Worker  )
440*2d543d20SAndroid Build Coastguard Worker)
441*2d543d20SAndroid Build Coastguard Worker(deny ta tb (cf (pf8)))
442*2d543d20SAndroid Build Coastguard Worker(neverallow ta tb (cf (pf8)))
443*2d543d20SAndroid Build Coastguard Worker
444*2d543d20SAndroid Build Coastguard Worker; Test 61
445*2d543d20SAndroid Build Coastguard Worker(allow a_s1 a_t1 (cg (pg1)))
446*2d543d20SAndroid Build Coastguard Worker(deny a_s2 a_t2 (cg (pg1)))
447*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 a_t2 (cg (pg1)))
448*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 a_t1 (cg (pg1))) ; This check should fail
449*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s4 a_t3 (cg (pg1))) ; This check should fail
450*2d543d20SAndroid Build Coastguard Worker
451*2d543d20SAndroid Build Coastguard Worker; Test 62
452*2d543d20SAndroid Build Coastguard Worker(allow tm a_t1 (cg (pg2)))
453*2d543d20SAndroid Build Coastguard Worker(deny a_s2 a_t2 (cg (pg2)))
454*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 a_t2 (cg (pg2)))
455*2d543d20SAndroid Build Coastguard Worker; (neverallow tm a_t3 (cg (pg2))) ; This check should fail
456*2d543d20SAndroid Build Coastguard Worker
457*2d543d20SAndroid Build Coastguard Worker; Test 63
458*2d543d20SAndroid Build Coastguard Worker(allow a_s1 to (cg (pg3)))
459*2d543d20SAndroid Build Coastguard Worker(deny a_s2 a_t2 (cg (pg3)))
460*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 a_t2 (cg (pg3)))
461*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 to (cg (pg3))) ; This check should fail
462*2d543d20SAndroid Build Coastguard Worker
463*2d543d20SAndroid Build Coastguard Worker; Test 64
464*2d543d20SAndroid Build Coastguard Worker(allow a_s1 a_t1 (cg (pg4)))
465*2d543d20SAndroid Build Coastguard Worker(deny tm a_t2 (cg (pg4)))
466*2d543d20SAndroid Build Coastguard Worker(neverallow tm a_t2 (cg (pg4)))
467*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 a_t1 (cg (pg4))) ; This check should fail
468*2d543d20SAndroid Build Coastguard Worker; (neverallow tm a_t3 (cg (pg4)))   ; This check should fail
469*2d543d20SAndroid Build Coastguard Worker
470*2d543d20SAndroid Build Coastguard Worker; Test 65
471*2d543d20SAndroid Build Coastguard Worker(allow a_s1 a_t1 (cg (pg5)))
472*2d543d20SAndroid Build Coastguard Worker(deny a_s2 to (cg (pg5)))
473*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 to (cg (pg5)))
474*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 a_t1 (cg (pg5))) ; This check should fail
475*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s4 a_t3 (cg (pg5))) ; This check should fail
476*2d543d20SAndroid Build Coastguard Worker
477*2d543d20SAndroid Build Coastguard Worker; Test 71
478*2d543d20SAndroid Build Coastguard Worker(allow a_s1 self (ch (ph1)))
479*2d543d20SAndroid Build Coastguard Worker(deny a_s2 a_t2 (ch (ph1)))
480*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 a_t2 (ch (ph1)))
481*2d543d20SAndroid Build Coastguard Worker; Below should fail
482*2d543d20SAndroid Build Coastguard Worker(typeattribute a71)
483*2d543d20SAndroid Build Coastguard Worker(typeattributeset a71 (and a_s4 (not a_t2)))
484*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 self (ch (ph1))) ; This check should fail
485*2d543d20SAndroid Build Coastguard Worker; (neverallow a71 self (ch (ph1)))  ; This check should fail
486*2d543d20SAndroid Build Coastguard Worker
487*2d543d20SAndroid Build Coastguard Worker; Test 72
488*2d543d20SAndroid Build Coastguard Worker(allow tg self (ch (ph2)))
489*2d543d20SAndroid Build Coastguard Worker(deny a_s2 a_t2 (ch (ph2)))
490*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 a_t2 (ch (ph2)))
491*2d543d20SAndroid Build Coastguard Worker
492*2d543d20SAndroid Build Coastguard Worker; Test 73
493*2d543d20SAndroid Build Coastguard Worker(allow a_s1 self (ch (ph3)))
494*2d543d20SAndroid Build Coastguard Worker(deny tg a_t2 (ch (ph3)))
495*2d543d20SAndroid Build Coastguard Worker(neverallow tg a_t2 (ch (ph3)))
496*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 self (ch (ph3))) ; This check should fail
497*2d543d20SAndroid Build Coastguard Worker
498*2d543d20SAndroid Build Coastguard Worker; Test 74
499*2d543d20SAndroid Build Coastguard Worker(allow a_s1 self (ch (ph4)))
500*2d543d20SAndroid Build Coastguard Worker(deny a_s2 tg (ch (ph4)))
501*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 tg (ch (ph4)))
502*2d543d20SAndroid Build Coastguard Worker; Below should fail
503*2d543d20SAndroid Build Coastguard Worker(typeattribute a74)
504*2d543d20SAndroid Build Coastguard Worker(typeattributeset a74 (and a_s4 (not tg)))
505*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 self (ch (ph4))) ; This check should fail
506*2d543d20SAndroid Build Coastguard Worker; (neverallow a74 self (ch (ph4)))  ; This check should fail
507*2d543d20SAndroid Build Coastguard Worker
508*2d543d20SAndroid Build Coastguard Worker; Test 81
509*2d543d20SAndroid Build Coastguard Worker(allow a_s1 a_t1 (ci (pi1)))
510*2d543d20SAndroid Build Coastguard Worker(deny a_s2 self (ci (pi1)))
511*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 self (ci (pi1)))
512*2d543d20SAndroid Build Coastguard Worker; Below should fail
513*2d543d20SAndroid Build Coastguard Worker(typeattribute a81a)
514*2d543d20SAndroid Build Coastguard Worker(typeattribute a81b)
515*2d543d20SAndroid Build Coastguard Worker(typeattribute a81c)
516*2d543d20SAndroid Build Coastguard Worker(typeattribute a81b01)
517*2d543d20SAndroid Build Coastguard Worker(typeattribute a81b02)
518*2d543d20SAndroid Build Coastguard Worker(typeattribute a81b03)
519*2d543d20SAndroid Build Coastguard Worker(typeattribute a81b04)
520*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81a (and a_s4 (not a_t1)))
521*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81b (and a_s4 a_t1))
522*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81c (and a_t1 (not a_s4)))
523*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81b01 (and a81b (not ta)))
524*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81b02 (and a81b (not tb)))
525*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81b03 (and a81b (not tc)))
526*2d543d20SAndroid Build Coastguard Worker(typeattributeset a81b04 (and a81b (not td)))
527*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 a_t1 (ci (pi1))) ; This check should fail
528*2d543d20SAndroid Build Coastguard Worker; (neverallow a81a a_t1 (ci (pi1))) ; This check should fail
529*2d543d20SAndroid Build Coastguard Worker; (neverallow a81b a81c (ci (pi1))) ; This check should fail
530*2d543d20SAndroid Build Coastguard Worker; (neverallow ta a81b01 (ci (pi1))) ; This check should fail
531*2d543d20SAndroid Build Coastguard Worker; (neverallow tb a81b02 (ci (pi1))) ; This check should fail
532*2d543d20SAndroid Build Coastguard Worker; (neverallow tc a81b03 (ci (pi1))) ; This check should fail
533*2d543d20SAndroid Build Coastguard Worker; (neverallow td a81b04 (ci (pi1))) ; This check should fail
534*2d543d20SAndroid Build Coastguard Worker
535*2d543d20SAndroid Build Coastguard Worker; Test 82
536*2d543d20SAndroid Build Coastguard Worker(allow tc a_t1 (ci (pi2)))
537*2d543d20SAndroid Build Coastguard Worker(deny a_s2 self (ci (pi2)))
538*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 self (ci (pi2)))
539*2d543d20SAndroid Build Coastguard Worker; Below should fail
540*2d543d20SAndroid Build Coastguard Worker(typeattribute a82)
541*2d543d20SAndroid Build Coastguard Worker(typeattributeset a82 (and a_t1 (not a_s4)))
542*2d543d20SAndroid Build Coastguard Worker; (neverallow tc a82 (ci (pi2))) ; This check should fail
543*2d543d20SAndroid Build Coastguard Worker
544*2d543d20SAndroid Build Coastguard Worker; Test 83
545*2d543d20SAndroid Build Coastguard Worker(allow a_s1 tc (ci (pi3)))
546*2d543d20SAndroid Build Coastguard Worker(deny a_s2 self (ci (pi3)))
547*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 self (ci (pi3)))
548*2d543d20SAndroid Build Coastguard Worker; Below should fail
549*2d543d20SAndroid Build Coastguard Worker(typeattribute a83)
550*2d543d20SAndroid Build Coastguard Worker(typeattributeset a83 (and a_s4 (not tc)))
551*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 tc (ci (pi3))) ; This check should fail
552*2d543d20SAndroid Build Coastguard Worker; (neverallow a83 tc (ci (pi3)))  ; This check should fail
553*2d543d20SAndroid Build Coastguard Worker
554*2d543d20SAndroid Build Coastguard Worker
555*2d543d20SAndroid Build Coastguard Worker; Test 84
556*2d543d20SAndroid Build Coastguard Worker(allow a_s1 a_t1 (ci (pi4)))
557*2d543d20SAndroid Build Coastguard Worker(deny tc self (ci (pi4)))
558*2d543d20SAndroid Build Coastguard Worker(neverallow tc self (ci (pi4)))
559*2d543d20SAndroid Build Coastguard Worker; Below should fail
560*2d543d20SAndroid Build Coastguard Worker(typeattribute a84)
561*2d543d20SAndroid Build Coastguard Worker(typeattributeset a84 (and a_t1 (not a_s4)))
562*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 a_t1 (ci (pi4))) ; This check should fail
563*2d543d20SAndroid Build Coastguard Worker; (neverallow tc a84 (ci (pi4)))    ; This check should fail
564*2d543d20SAndroid Build Coastguard Worker
565*2d543d20SAndroid Build Coastguard Worker; Test 91
566*2d543d20SAndroid Build Coastguard Worker(allow a_s1 self (cj (pj1)))
567*2d543d20SAndroid Build Coastguard Worker(deny a_s2 self (cj (pj1)))
568*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 self (cj (pj1)))
569*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 self (cj (pj1))) ; This check should fail
570*2d543d20SAndroid Build Coastguard Worker
571*2d543d20SAndroid Build Coastguard Worker; Test 92
572*2d543d20SAndroid Build Coastguard Worker(allow tm self (cj (pj2)))
573*2d543d20SAndroid Build Coastguard Worker(deny a_s2 self (cj (pj2)))
574*2d543d20SAndroid Build Coastguard Worker(neverallow a_s2 self (cj (pj2)))
575*2d543d20SAndroid Build Coastguard Worker
576*2d543d20SAndroid Build Coastguard Worker; Test 93
577*2d543d20SAndroid Build Coastguard Worker(allow a_s1 self (cj (pj3)))
578*2d543d20SAndroid Build Coastguard Worker(deny tm self (cj (pj3)))
579*2d543d20SAndroid Build Coastguard Worker(neverallow tm self (cj (pj3)))
580*2d543d20SAndroid Build Coastguard Worker; (neverallow a_s3 self (cj (pj3))) ; This check should fail
581