[PATCH] x86_64/cet: fix tst-shstk-legacy-1{f, g} tests [BZ #31877]
Aurelien Jarno
aurelien@aurel32.net
Wed Sep 16 17:23:50 GMT 2026
On 2026-09-16 16:30, Yury Khrustalev wrote:
> On Sat, Sep 12, 2026 at 01:34:20PM +0200, Aurelien Jarno wrote:
> > The tst-shstk-legacy-1f and tst-shstk-legacy-1g tests depend on the
> > tst-shstk-legacy-mod-1.so module to test that legacy shadow stack code
> > in init_array does not trigger a segfault in tst-shstk-legacy-1f, while
> > it does trigger a segfault in tst-shstk-legacy-1g. However, the module
> > is built but never loaded by the tests.
> >
> > Load it using LD_PRELOAD. When glibc is configured with --enable-cet,
> > this allows tst-shstk-legacy-1g to pass on systems with kernel and
> > hardware support for shadow stacks.
>
> Same is with the adjacent patch, there is a failure report in Patchwork
> for aarch64 but I cannot reproduce it, must be false positive.
Yes, I already mentioned that to linaro-toolchain@lists.linaro.org. This
patch only changes sysdeps/x86_64, so I really think it is a fault
positive.
Anyway it is superseded by:
https://inbox.sourceware.org/libc-alpha/CAMe9rOqpDK6S+73_rUSa3NoT=eqrXBckpHfn-GQ4RG0DJSMb9Q@mail.gmail.com
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
More information about the Libc-alpha
mailing list