sync ports with The Matrix
This commit is contained in:
parent
ec769495ab
commit
f5034afcba
3108 changed files with 91999 additions and 80269 deletions
|
@ -1,15 +0,0 @@
|
|||
- In the linkers, collect objects in section "openbsd.mutable" and place
|
||||
them into a page-aligned region in the bss, with the right markers for
|
||||
kernel/ld.so to identify the region and skip making it immutable.
|
||||
|
||||
Index: tools/lld/ELF/ScriptParser.cpp
|
||||
--- tools/lld/ELF/ScriptParser.cpp.orig
|
||||
+++ tools/lld/ELF/ScriptParser.cpp
|
||||
@@ -1478,6 +1478,7 @@ unsigned ScriptParser::readPhdrType() {
|
||||
.Case("PT_GNU_EH_FRAME", PT_GNU_EH_FRAME)
|
||||
.Case("PT_GNU_STACK", PT_GNU_STACK)
|
||||
.Case("PT_GNU_RELRO", PT_GNU_RELRO)
|
||||
+ .Case("PT_OPENBSD_MUTABLE", PT_OPENBSD_MUTABLE)
|
||||
.Case("PT_OPENBSD_RANDOMIZE", PT_OPENBSD_RANDOMIZE)
|
||||
.Case("PT_OPENBSD_WXNEEDED", PT_OPENBSD_WXNEEDED)
|
||||
.Case("PT_OPENBSD_BOOTDATA", PT_OPENBSD_BOOTDATA)
|
Loading…
Add table
Add a link
Reference in a new issue