artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04933f1
)
Code patch out the retpoline in the signal trampoline just
author
guenther
<guenther@openbsd.org>
Fri, 2 Aug 2024 22:24:51 +0000
(22:24 +0000)
committer
guenther
<guenther@openbsd.org>
Fri, 2 Aug 2024 22:24:51 +0000
(22:24 +0000)
like the others.
Nudged, test, and ok deraadt@
sys/arch/amd64/amd64/locore.S
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/amd64/locore.S
b/sys/arch/amd64/amd64/locore.S
index
c5d91e6
..
c9781fd
100644
(file)
--- a/
sys/arch/amd64/amd64/locore.S
+++ b/
sys/arch/amd64/amd64/locore.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: locore.S,v 1.14
7 2024/03/17 05:49:4
1 guenther Exp $ */
+/* $OpenBSD: locore.S,v 1.14
8 2024/08/02 22:24:5
1 guenther Exp $ */
/* $NetBSD: locore.S,v 1.13 2004/03/25 18:33:17 drochner Exp $ */
/*
@@
-182,7
+182,9
@@
sigcodecall:
.globl sigcoderet
sigcoderet:
int3
-1: JMP_RETPOLINE(rax)
+1: CODEPATCH_START
+ JMP_RETPOLINE(rax)
+ CODEPATCH_END(CPTAG_RETPOLINE_RAX)
.globl esigcode
esigcode:
.globl sigfill