Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode OK, this is a temporary patch so ...
details: https://anonhg.NetBSD.org/src/rev/421989dda512
branches: trunk
changeset: 772028:421989dda512
user: reinoud <reinoud%NetBSD.org@localhost>
date: Wed Dec 14 17:06:28 2011 +0000
description:
OK, this is a temporary patch so usermode can run on 5.1 or old 5.99's. The
workaround mentioned here is not needed on newer 5.99 since it has just been
patched.
diffstat:
sys/arch/usermode/usermode/pmap.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r f058e2e3016a -r 421989dda512 sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Wed Dec 14 14:18:19 2011 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Wed Dec 14 17:06:28 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.78 2011/12/14 12:29:59 jmcneill Exp $ */
+/* $NetBSD: pmap.c,v 1.79 2011/12/14 17:06:28 reinoud Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.78 2011/12/14 12:29:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.79 2011/12/14 17:06:28 reinoud Exp $");
#include "opt_memsize.h"
#include "opt_kmempages.h"
@@ -370,7 +370,12 @@
void
pmap_init(void)
{
- /* ensure signal stack is setup after urkelvisor fork */
+ /*
+ * XXX Work around a NetBSD fork() bug that doesn't copy the alternate
+ * signal stack to the child! so ensure signal stack is setup after
+ * urkelvisor fork
+ */
+
thunk_sigaltstack(usermode_signal_stack(), NULL);
}
Home |
Main Index |
Thread Index |
Old Index