[LTP] ima_selinux.sh: test2 assumes CONFIG_IMA_DISABLE_HTABLE is configured
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Fri Aug 21 22:26:13 CEST 2026
Hi Mimi,
On August 21, 2026, Mimi Zohar wrote:
> ima_selinux.sh: test2 assumes CONFIG_IMA_DISABLE_HTABLE is configured
> + if ! tst_check_kconfigs "CONFIG_IMA_DISABLE_HTABLE=y"; then
> + tst_res TPASS "Duplicate \"selinux-state\" record missing (CONFIG_IMA_DISABLE_HTABLE not set)"
Could this path report TCONF instead? Without duplicate records, test2 cannot
compare the current enforcing state with a fresh measurement and returns
before checking the remaining state fields. TPASS turns this untested
configuration into a successful test result.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list