[LTP] [PATCH] cve-2015-3290: Bump up stack boundary requirement
Petr Vorel
pvorel@suse.cz
Fri Apr 4 16:00:28 CEST 2025
Hi Siddhesh, Martin,
Siddhesh, I was not aware -mpreferred-stack-boundary is not supported on all archs:
powerpc64le-linux-gnu-gcc: error: unrecognized command-line option '-mpreferred-stack-boundary=5'
But it's even not supported on clang:
clang: error: unknown argument: '-mpreferred-stack-boundary=5'
You need to use -mstack-alignment.
All failures:
https://github.com/pevik/ltp/actions/runs/14243227637/job/39917780931
Good thing is that value 5 is supported on all gcc versions we use.
If clang works as well, we need just detect the compiler.
Maybe it'd be easiest to test with AX_CHECK_COMPILE_FLAG.
Ideally create LTP fork, enable github actions and test yourself before posting.
> Hello,
> I've tested the new compile options with a buggy kernel and the test can
> still reproduce the issue.
Martin, thanks for testing. I'm sorry to waste your time.
Kind regards,
Petr
More information about the ltp
mailing list