SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
editors/ht/patches/patch-elfstruc_h
Normal file
15
editors/ht/patches/patch-elfstruc_h
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: elfstruc.h
|
||||
--- elfstruc.h.orig
|
||||
+++ elfstruc.h
|
||||
@@ -374,6 +374,11 @@ struct ELF_SECTION_HEADER64 {
|
||||
#define ELF_PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
|
||||
#define ELF_PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
|
||||
#define ELF_PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */
|
||||
+#define ELF_PT_OPENBSD_MUTABLE 0x65a3dbe5 /* like bss, but not immutable */
|
||||
+#define ELF_PT_OPENBSD_RANDOMIZE 0x65a3dbe6 /* fill with random data */
|
||||
+#define ELF_PT_OPENBSD_WXNEEDED 0x65a3dbe7 /* program performs W^X violations */
|
||||
+#define ELF_PT_OPENBSD_NOBTCFI 0x65a3dbe8 /* no branch target CFI */
|
||||
+#define ELF_PT_OPENBSD_BOOTDATA 0x65a41be6 /* section for boot arguments */
|
||||
|
||||
struct ELF_PROGRAM_HEADER32 {
|
||||
elf32_word p_type;
|
Loading…
Add table
Add a link
Reference in a new issue