Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/arch/sh3/sh3 Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/0160942f6e6f
branches: netbsd-8
changeset: 434645:0160942f6e6f
user: snj <snj%NetBSD.org@localhost>
date: Mon Feb 19 18:21:21 2018 +0000
description:
Pull up following revision(s) (requested by uwe in ticket #554):
sys/arch/sh3/sh3/exception.c: 1.66
tlb_exception - set ksi_addr to va also when a userland page is not found.
Helps SIGSEGV handlers for PROT_NONE red zones.
diffstat:
sys/arch/sh3/sh3/exception.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 57833f2bd1b3 -r 0160942f6e6f sys/arch/sh3/sh3/exception.c
--- a/sys/arch/sh3/sh3/exception.c Mon Feb 19 18:19:15 2018 +0000
+++ b/sys/arch/sh3/sh3/exception.c Mon Feb 19 18:21:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exception.c,v 1.64 2015/03/04 09:39:26 skrll Exp $ */
+/* $NetBSD: exception.c,v 1.64.10.1 2018/02/19 18:21:21 snj Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.64 2015/03/04 09:39:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.64.10.1 2018/02/19 18:21:21 snj Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -417,6 +417,8 @@
/* Page not found. */
if (usermode) {
KSI_INIT_TRAP(&ksi);
+ ksi.ksi_addr = (void *)va;
+
switch (err) {
case ENOMEM:
ksi.ksi_signo = SIGKILL;
Home |
Main Index |
Thread Index |
Old Index