svn commit: r343695 - stable/11/sys/sys
Konstantin Belousov
kib at FreeBSD.org
Sun Feb 3 00:45:53 UTC 2019
Author: kib
Date: Sun Feb 3 00:45:52 2019
New Revision: 343695
URL: https://svnweb.freebsd.org/changeset/base/343695
Log:
MFC r343607:
Reserve a bit in the FreeBSD feature control note for marking the
image as not compatible with ASLR.
Modified:
stable/11/sys/sys/elf_common.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/sys/elf_common.h
==============================================================================
--- stable/11/sys/sys/elf_common.h Sun Feb 3 00:44:26 2019 (r343694)
+++ stable/11/sys/sys/elf_common.h Sun Feb 3 00:45:52 2019 (r343695)
@@ -744,6 +744,9 @@ typedef struct {
#define NT_FREEBSD_ARCH_TAG 3
#define NT_FREEBSD_FEATURE_CTL 4
+/* NT_FREEBSD_FEATURE_CTL desc[0] bits */
+#define NT_FREEBSD_FCTL_ASLR_DISABLE 0x00000001
+
/* Values for n_type. Used in core files. */
#define NT_PRSTATUS 1 /* Process status. */
#define NT_FPREGSET 2 /* Floating point registers. */
More information about the svn-src-all
mailing list