Module Name:    src
Committed By:   christos
Date:           Tue May 17 00:39:43 UTC 2016

Modified Files:
        src/sys/arch/sparc64/include: proc.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sparc64/include/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/include/proc.h
diff -u src/sys/arch/sparc64/include/proc.h:1.13 src/sys/arch/sparc64/include/proc.h:1.14
--- src/sys/arch/sparc64/include/proc.h:1.13	Thu Jan 13 21:06:32 2011
+++ src/sys/arch/sparc64/include/proc.h	Mon May 16 20:39:43 2016
@@ -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 @@ struct mdproc {
 
 #define netbsd32_syscall_intern syscall_intern
 
+#define PAX_ASLR_RAND_MMAP_MAX 0x80000
+
 #endif /* _SPARC64_PROC_H */

Reply via email to