IMA/EVM support utilities
Go to file
Bruno Meneguele 178d35c55d
ima-setup: check for required argument
The IMA policy file is required for the setup but it was not being checked
if the user passed it before checking if the policy file existed, thus an
empty argument would fail with a weird "  doesn't exist" message.

This commit adds the check for the argument presence at the beginning of the
script, guaranteeing it cannot be empty, and remove the policy file
existence from the middle of runtime, leaving the check already in place at
the argument parsing logic.

At the same time, reword parts of the usage message to make things clearer.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
2026-07-06 15:11:17 -03:00
tests Migrate gating test to OSCI from QE CI 2022-01-19 13:57:05 -05:00
.gitignore Add compat subpkg for helping building dependencies 2021-12-07 18:31:45 -03:00
centosimarelease-9.der Add IMA code signing certs 2024-06-08 07:18:20 +08:00
dracut-98-integrity.conf Add some IMA setup tools 2024-06-08 07:18:18 +08:00
gating.yaml Migrate gating test to OSCI from QE CI 2022-01-19 13:57:05 -05:00
ima-add-sigs.sh ima-setup: check for required argument 2026-07-06 15:11:17 -03:00
ima-evm-utils.spec Release 1.6.2-3 2026-03-12 12:09:58 +08:00
ima-setup.sh ima-setup: check for required argument 2026-07-06 15:11:17 -03:00
policy_list Skip some file systems for appraisal 2024-11-13 10:56:44 +08:00
policy-01-appraise-executable-and-lib-signatures Don't allow files in tmpfs to be executed 2026-03-10 11:29:33 +08:00
policy-02-keylime-remote-attestation Add some IMA setup tools 2024-06-08 07:18:18 +08:00
redhatimarelease-9.der Add IMA code signing certs 2024-06-08 07:18:20 +08:00
sources Release 1.6.2-1 2025-03-10 11:17:22 +08:00