[LTP] [PATCH 2/4] Test for CVE-2016-4997 on setsockopt
Cyril Hrubis
chrubis@suse.cz
Tue Mar 28 11:39:26 CEST 2017
Hi!
> Yes, I think that is best, but passing -m32 to the test's make target does not
> cause the LTP library to be compiled with -m32 so linking fails. I'm not sure
> how to get it to build both binaries.
I've hacked around a bit and managed to write a code that builds 32bit
library if compiler supports -m32 and also switches between 64bit or
32bit library depending on CFLAGS used to build the test. I will send it
as RFC to the LTP ML.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list