Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Clamt the PAX_ASLR random value to ...



details:   https://anonhg.NetBSD.org/src/rev/e517378c7c42
branches:  trunk
changeset: 345286:e517378c7c42
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 17 00:39:43 2016 +0000

description:
Clamt the PAX_ASLR random value to the max bits we have for VA.

diffstat:

 sys/arch/sparc64/include/proc.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 726ce0618c50 -r e517378c7c42 sys/arch/sparc64/include/proc.h
--- a/sys/arch/sparc64/include/proc.h   Tue May 17 00:38:50 2016 +0000
+++ b/sys/arch/sparc64/include/proc.h   Tue May 17 00:39:43 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.13 2011/01/14 02:06:32 rmind Exp $ */
+/*     $NetBSD: proc.h,v 1.14 2016/05/17 00:39:43 christos Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -60,4 +60,6 @@
 
 #define netbsd32_syscall_intern syscall_intern
 
+#define PAX_ASLR_RAND_MMAP_MAX 0x80000
+
 #endif /* _SPARC64_PROC_H */



Home | Main Index | Thread Index | Old Index