patch-elfstruc_h 702 B

1234567891011121314
  1. $OpenBSD: patch-elfstruc_h,v 1.1 2017/04/19 08:31:16 benoit Exp $
  2. --- elfstruc.h.orig Sun Sep 14 17:55:26 2014
  3. +++ elfstruc.h Mon Apr 17 14:17:39 2017
  4. @@ -374,6 +374,9 @@ struct ELF_SECTION_HEADER64 {
  5. #define ELF_PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
  6. #define ELF_PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
  7. #define ELF_PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */
  8. +#define ELF_PT_OPENBSD_RANDOMIZE 0x65a3dbe6 /* Fill with random data. */
  9. +#define ELF_PT_OPENBSD_WXNEEDED 0x65a3dbe7 /* Program does W^X violations */
  10. +#define ELF_PT_OPENBSD_BOOTDATA 0x65a41be6 /* Section for boot arguments */
  11. struct ELF_PROGRAM_HEADER32 {
  12. elf32_word p_type;