Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern m68k binaries load @ pagesize. unbreak.
details: https://anonhg.NetBSD.org/src/rev/95fc4be3f992
branches: trunk
changeset: 347758:95fc4be3f992
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 15 17:44:16 2016 +0000
description:
m68k binaries load @ pagesize. unbreak.
diffstat:
sys/kern/kern_exec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2db3a6530e49 -r 95fc4be3f992 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Thu Sep 15 16:23:05 2016 +0000
+++ b/sys/kern/kern_exec.c Thu Sep 15 17:44:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.436 2016/08/06 15:13:13 maxv Exp $ */
+/* $NetBSD: kern_exec.c,v 1.437 2016/09/15 17:44:16 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.436 2016/08/06 15:13:13 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.437 2016/09/15 17:44:16 christos Exp $");
#include "opt_exec.h"
#include "opt_execfmt.h"
@@ -660,7 +660,7 @@
* Increase va_min if we don't want NULL to be mappable by the
* process.
*/
-#define VM_MIN_GUARD (2 * PAGE_SIZE)
+#define VM_MIN_GUARD PAGE_SIZE
if (user_va0_disable && (va_min < VM_MIN_GUARD))
return VM_MIN_GUARD;
return va_min;
Home |
Main Index |
Thread Index |
Old Index