Hi,

Compiling the code from https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/issues/107 running amd64

mini$ ./a.out
a.out[17607]: pinsyscalls addr fe8d9e4b01f code 59, pinoff 0xffffffff (pin 330 fe942960000-fe94296e8d0 e8d0) (libcpin 331 fe96300f000-fe9630c7000 b8000) error 78
Abort trap (core dumped)
mini$ su
Password:
mini# ./a.out
a.out[52715]: pinsyscalls addr 32e2ddbf01f code 59, pinoff 0xffffffff (pin 330 32ec636b000-32ec63798d0 e8d0) (libcpin 331 32e86fe1000-32e87099000 b8000) error 78
Abort trap

My system is a ProtectLI FW2B running an Intel Celeron J3060

OpenBSD 7.8 (GENERIC.MP) #1: Sat Nov 29 11:02:59 MST 2025
[email protected]:/usr/src/sys/arch/*amd64*/compile/GENERIC.MP


On 1/14/2026 6:24 PM, [email protected] wrote:
On arm64 (in case that matters) the wx-break one isn't failing for me. I must 
be overlooking something.

The stackpivot jumpback one is also not failing anywhere that I'm seeing.

Sent: Wednesday, January 14, 2026 at 1:46 AM
From: "Janne Johansson"<[email protected]>
To:[email protected]
Cc:[email protected]
Subject: Re: Stack pivot, W^X break

And since I'm bringing this up, there's also this:
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/issues/107
Obviously, the link there is for HardenedBSD but the script seems to work the 
same on OpenBSD as well.
No, it fails on pinsyscalls.
And to be specific, the jump works, the program doesn't.

--
May the most significant bit of your life be positive.

Reply via email to