SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;