svn commit: r343693 - stable/12/sys/sys
Konstantin Belousov
kib at FreeBSD.org
Sun Feb 3 00:41:15 UTC 2019
Author: kib
Date: Sun Feb 3 00:41:14 2019
New Revision: 343693
URL: https://svnweb.freebsd.org/changeset/base/343693
Log:
MFC r343607:
Reserve a bit in the FreeBSD feature control note for marking the
image as not compatible with ASLR.
Modified:
stable/12/sys/sys/elf_common.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/sys/elf_common.h
==============================================================================
--- stable/12/sys/sys/elf_common.h Sun Feb 3 00:39:35 2019 (r343692)
+++ stable/12/sys/sys/elf_common.h Sun Feb 3 00:41:14 2019 (r343693)
@@ -761,6 +761,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-stable-12
mailing list