For future userland IBT, the sigcode needs to start with a endbr64.
authorderaadt <deraadt@openbsd.org>
Mon, 17 Apr 2023 00:14:59 +0000 (00:14 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 17 Apr 2023 00:14:59 +0000 (00:14 +0000)
commit339eb9d2beb7531aa8f4faaff8e0cf2f21c7f7f7
tree7f5a663817c3b1336808e607ab8d2b1e12cf592c
parent0036605bb930e8fa684ed85410ea4a7746c5daa8
For future userland IBT, the sigcode needs to start with a endbr64.
This is simpler than clearing the cet_u bits in the kernel.
ok guenther, kettenis
sys/arch/amd64/amd64/locore.S