Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/conf Remove max-page-size on KASLR, it doesn'...



details:   https://anonhg.NetBSD.org/src/rev/873a39637223
branches:  trunk
changeset: 827835:873a39637223
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Nov 14 09:56:26 2017 +0000

description:
Remove max-page-size on KASLR, it doesn't play any role.

diffstat:

 sys/arch/amd64/conf/Makefile.amd64 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6bd82d306921 -r 873a39637223 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Tue Nov 14 09:55:41 2017 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Tue Nov 14 09:56:26 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.61 2017/11/09 15:46:48 maxv Exp $
+#      $NetBSD: Makefile.amd64,v 1.62 2017/11/14 09:56:26 maxv Exp $
 
 # Makefile for NetBSD
 #
@@ -62,7 +62,7 @@
 ##
 TEXTADDR?=     0xffffffff80200000
 .if defined(KASLR)
-EXTRA_LINKFLAGS=       -z max-page-size=0x200000 -r -d
+EXTRA_LINKFLAGS=       -r -d
 KERNLDSCRIPT?= ${AMD64}/conf/kern.ldscript.kaslr
 .else
 EXTRA_LINKFLAGS=       -z max-page-size=0x200000



Home | Main Index | Thread Index | Old Index