selinux/checkpolicy
Petr Matyas 6f2828a431 Move oom-compiler-failure from gitlab
Verify that checkpolicy and checkmodule abort cleanly when memory is
exhausted during compilation, rather than producing a potentially
incorrect output binary.
The test constrains the virtual address space of the compiler subprocess
to 8 MB via ulimit -v, which is sufficient for process startup but not
for parsing a full targeted policy binary. Both compilers are exercised
using binary input (checkpolicy -b, checkmodule -b) against the active
policy store. Assertions: non-zero exit status and no output file
produced under OOM.
Tested on RHEL 9, RHEL 10, and RHIVOS 2.0 on x86_64 and aarch64.
VROOM-40721
2026-06-29 10:41:30 +02:00
..
checkmodule Fix "adjust" statements 2025-10-09 20:22:22 +02:00
checkpolicy Fix "adjust" statements 2025-10-09 20:22:22 +02:00
checkpolicy-docs Fix "adjust" statements 2025-10-09 20:22:22 +02:00
internal-tests run the internal checkpolicy tests 2026-06-03 14:37:36 +00:00
oom-compiler-failure Move oom-compiler-failure from gitlab 2026-06-29 10:41:30 +02:00
sedismod Fix "adjust" statements 2025-10-09 20:22:22 +02:00
sedispol Fix "adjust" statements 2025-10-09 20:22:22 +02:00