Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 00:41:14 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343693 - stable/12/sys/sys
Message-ID:  <201902030041.x130fE9s068255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902030041.x130fE9s068255>