artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e0c46
)
amd64 now has xonly support via the PKU feature. Marking ld.so exec-only
author
deraadt
<deraadt@openbsd.org>
Fri, 20 Jan 2023 16:03:14 +0000
(16:03 +0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 20 Jan 2023 16:03:14 +0000
(16:03 +0000)
is no longer a NOP on those systems, let's do it.
libexec/ld.so/amd64/ld.script
patch
|
blob
|
history
diff --git
a/libexec/ld.so/amd64/ld.script
b/libexec/ld.so/amd64/ld.script
index
29f4e14
..
af9b835
100644
(file)
--- a/
libexec/ld.so/amd64/ld.script
+++ b/
libexec/ld.so/amd64/ld.script
@@
-1,7
+1,7
@@
PHDRS
{
rodata PT_LOAD FILEHDR PHDRS FLAGS (4);
- text PT_LOAD;
+ text PT_LOAD
FLAGS(1)
;
btext PT_LOAD FLAGS (0x08000005);
data PT_LOAD;
random PT_OPENBSD_RANDOMIZE;