Files
udica/tests/custom_rules.cil
Vit Mojzis 1c91fe0d44 Clean up after adding custom rule support
- Add test
- Improve option descriptions and explain it in man page
- Improve policy validation (more robust, support comments, improve
  error messages)

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2026-06-01 14:21:30 +02:00

16 lines
564 B
Plaintext

(optional test_optional_1
(typeattributeset cil_gen_require systemd_socket_proxyd_t)
(allow process systemd_socket_proxyd_t (unix_stream_socket (connectto)))
(optional test_optional_2
(typeattributeset cil_gen_require abrt_dump_oops_t)
; deny_ptrace
(booleanif (deny_ptrace)
(false
(allow process abrt_dump_oops_t (process (sigchld))) ; comment at the end of a line
(allow abrt_dump_oops_t process (process (ptrace)))
)
)
; ) -- commented parenthesis
)
)