Skip to content

Commit 0212cd0

Browse files
committed
secilc: include segregate attributes in tests
Signed-off-by: Christian Göttsche <[email protected]>
1 parent 38cd303 commit 0212cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

secilc/test/policy.cil

+3
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,16 @@
118118
(typeattribute foo_type)
119119
(typeattribute bar_type)
120120
(typeattribute baz_type)
121+
(typeattribute bad_type)
121122
(typeattribute not_bad_type)
122123
(typeattributeset exec_type (or bin_t kernel_t))
123124
(typeattributeset foo_type (and exec_type kernel_t))
124125
(typeattributeset bar_type (xor exec_type foo_type))
125126
(typeattributeset baz_type (not bin_t))
126127
(typeattributeset baz_type (and exec_type (and bar_type bin_t)))
128+
(typeattributeset bad_type (bad_t))
127129
(typeattributeset not_bad_type (not bad_t))
130+
(segregateattributes (bad_type not_bad_type))
128131
(typealias sbin_t)
129132
(typealiasactual sbin_t bin_t)
130133
(typepermissive device_t)

0 commit comments

Comments
 (0)