[LTP] [PATCH] Add test for CVE 2018-1000199

Petr Vorel pvorel@suse.cz
Thu Mar 26 07:36:38 CET 2020


Hi Martin,

> > +TST_TEST_CONF("This test is only supported on x86 systems")
> FYI there is TST_TEST_TCONF().
+ There needs to be semicolon after the macro (we could change this in the
library.
> > +#endif

I'd also put adding SAFE_PTRACE() into separate commit.

You can also use SAFE_FOPEN() for *fr.

On some machines I got TBROK, but we probably cannot avoid it.
ptrace08.c:119: BROK: Received unexpected event from child

The rest looks ok to me. Thanks, nice work!

Kind regards,
Petr


More information about the ltp mailing list