[LTP] lapi/prctl: add more fallback definitions

Andrea Cervesato andrea.cervesato@suse.com
Thu Aug 27 10:51:06 CEST 2026


> > +static struct tst_test test = {
> > +	.setup = setup,
> > +	.test_all = run,
> > +	.runtime = 180,
> 
> Could this declare .min_kver = "3.18", or otherwise treat EINVAL from
> PR_SET_MM_MAP_SIZE as an unavailable prerequisite? PR_SET_MM_MAP was added in
> Linux 3.18, while the CVE affects older kernels. On such a kernel,
> SAFE_PRCTL() currently reports TBROK rather than TCONF.
> 
> >  cve-2014-0196 cve-2016-7117 cve-2017-2671 cve-2017-17052 cve-2017-17053 refluxfs:  CFLAGS += -pthread
> > +cve-2014-0196 cve-2016-7117 cve-2017-2671 cve-2017-17052 cve-2017-17053 ghostlock:  CFLAGS += -pthread
> 
> Could ghostlock be added to the existing assignment instead? The new line
> passes -pthread twice to every pre-existing target listed there.
> 
> >  refluxfs
> >  sctphantom
> > +ghostlock
> 
> Could ghostlock be inserted in sorted order?

only these two are valid, the rest can be ignored.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list