Recognizing 'PT_OPENBSD_MUTABLE' segment type.
https://github.com/openbsd/src/commit/bd249b5664da50f0178adea78250a7a0d8ea6566
Paths 
  |  Differential  D137903  
[llvm] - Recognizing 'PT_OPENBSD_MUTABLE' segment type. ClosedPublic Authored by brad on Nov 13 2022, 12:07 AM. 
Details Summary Recognizing 'PT_OPENBSD_MUTABLE' segment type. https://github.com/openbsd/src/commit/bd249b5664da50f0178adea78250a7a0d8ea6566 
Diff Detail 
 Event TimelineHerald added subscribers: • pcwang-thead, s.egerton, simoncook.  ·  View Herald TranscriptNov 13 2022, 4:54 PM brad retitled this revision from [llvm-readelf] - Recognizing 'PT_OPENBSD_MUTABLE' segment type. to [llvm] - Recognizing 'PT_OPENBSD_MUTABLE' segment type.. This revision is now accepted and ready to land.Nov 14 2022, 12:39 AM Comment Actions The feature may look weird, see (https://lobste.rs/s/wck0g4/openbsd_immutable_userland_mappings) :) Comment Actions I am nervous with new OpenBSD specific program headers... Wish there won't be too many. Particularly, I wonder whether this new feature is a security theatre. Comment Actions I was wondering why llvm-readobj/ELF/program-headers.test was failing. I noticed the offsets had changed. Closed by commit rG96c037ef9c01: [llvm] - Recognizing 'PT_OPENBSD_MUTABLE' segment type. (authored by brad).  ·  Explain WhyNov 18 2022, 5:43 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 476641 llvm/test/tools/llvm-objdump/openbsd-headers.test
 llvm/test/tools/llvm-readobj/ELF/program-headers.test
 llvm/tools/llvm-objdump/ELFDump.cpp
 llvm/tools/llvm-readobj/ELFDumper.cpp
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||