[LTP] [PATCH v2 5/5] setsockopt0[38]: Use tst_is_compat_mode()
Cyril Hrubis
chrubis@suse.cz
Tue Nov 26 16:02:03 CET 2024
Hi!
> > I guess this is something that should be looked into after the release,
> > either we will need .needs_compat flag or relax the condtions...
>
> Looking into this old patch, do we relax the conditions or use .needs_abi_bits = 32?
> setsockopt08.c prints only TINFO, thus !tst_is_compat_mode() would have to be
> used for the check.
I guess that doing:
if (!tst_is_compat_mode())
tst_res(TINFO, "The vunerability was only present in 32-bit compat mode");
Is a sensible approach. It does not hurt to run the test either way but
it makes it clear that the original CVE it's not going to be reproduced
without 32-bit compat mode.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list