artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44f854
)
Make .text (and .btext) execute-only on arm64.
author
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:52:04 +0000
(10:52 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:52:04 +0000
(10:52 +0000)
ok deraadt@
libexec/ld.so/aarch64/ld.script
patch
|
blob
|
history
diff --git
a/libexec/ld.so/aarch64/ld.script
b/libexec/ld.so/aarch64/ld.script
index
77f3a84
..
20eaf82
100644
(file)
--- a/
libexec/ld.so/aarch64/ld.script
+++ b/
libexec/ld.so/aarch64/ld.script
@@
-1,8
+1,8
@@
PHDRS
{
rodata PT_LOAD FILEHDR PHDRS FLAGS (4);
- text PT_LOAD;
- btext PT_LOAD FLAGS (0x0800000
5
);
+ text PT_LOAD
FLAGS(1)
;
+ btext PT_LOAD FLAGS (0x0800000
1
);
data PT_LOAD;
random PT_OPENBSD_RANDOMIZE;
relro PT_GNU_RELRO;