Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 00:45:52 +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-11@freebsd.org
Subject:   svn commit: r343695 - stable/11/sys/sys
Message-ID:  <201902030045.x130jquN071149@repo.freebsd.org>

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



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