Skip to content

Commit

Permalink
secilc/test: add disjoint attributes rule
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
v4:
   rename to disjointattributes
  • Loading branch information
cgzones committed Apr 29, 2024
1 parent 70a62d4 commit 8883f6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions secilc/test/policy.cil
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,17 @@
(typeattribute foo_type)
(typeattribute bar_type)
(typeattribute baz_type)
(typeattribute bad_type)
(typeattribute not_bad_type)
(typeattribute empty_type)
(typeattributeset exec_type (or bin_t kernel_t))
(typeattributeset foo_type (and exec_type kernel_t))
(typeattributeset bar_type (xor exec_type foo_type))
(typeattributeset baz_type (not bin_t))
(typeattributeset baz_type (and exec_type (and bar_type bin_t)))
(typeattributeset bad_type (bad_t))
(typeattributeset not_bad_type (not bad_t))
(disjointattributes (bad_type not_bad_type empty_type))
(typealias sbin_t)
(typealiasactual sbin_t bin_t)
(typepermissive device_t)
Expand Down

0 comments on commit 8883f6d

Please sign in to comment.