[LTP] ima_selinux.sh: test2 assumes CONFIG_IMA_DISABLE_HTABLE is configured

Petr Vorel pvorel@suse.cz
Wed Aug 26 08:16:08 CEST 2026


Hi Mimi,

> Hi Petr.

> On Tue, 2026-08-25 at 06:44 +0200, Petr Vorel wrote:
> [...]
> > > 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)"

> > I would suggest the same, it makes sense to use TCONF to make it visible that
> > it's not an error but OTOH it was not actually tested due
> > CONFIG_IMA_DISABLE_HTABLE not set. If you don't mind, I'd change TPASS to TCONF
> > before merge (or feel free to send v2 with this change yourself with my
> > Reviewed-by: Petr Vorel <pvorel@suse.cz>
> > ).

> > Thanks for the fix!

> Agreed, it should be TCONF.  Please make the change.

Thanks for your ack, merged with TCONF.

Kind regards,
Petr

> thanks,

> Mimi


More information about the ltp mailing list