mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-26 16:02:26 +00:00
92bd4ae5ba
Add new test suite for semanage_handle_* functions. The test suite aims for line coverage and covers expected usage of functions. The test suite uses custom semanage store and policy written in CIL, it does not require running on SELinux enabled system. Signed-off-by: Jan Zarsky <jzarsky@redhat.com>
22 lines
556 B
Plaintext
22 lines
556 B
Plaintext
(typeattribute cil_gen_require)
|
|
(roleattribute cil_gen_require)
|
|
(handleunknown allow)
|
|
(mls true)
|
|
(policycap network_peer_controls)
|
|
(policycap open_perms)
|
|
(sid security)
|
|
(sidorder (security))
|
|
(sensitivity s0)
|
|
(sensitivityorder (s0))
|
|
(user system_u)
|
|
(userrole system_u object_r)
|
|
(userlevel system_u (s0))
|
|
(userrange system_u ((s0) (s0)))
|
|
(role object_r)
|
|
(roletype object_r test_t)
|
|
(type test_t)
|
|
(sidcontext security (system_u object_r test_t ((s0) (s0))))
|
|
(class test_class (test_perm))
|
|
(classorder (test_class))
|
|
(allow test_t self (test_class (test_perm)))
|