Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 TRAP_EXEC does not have extra fields to ...



details:   https://anonhg.NetBSD.org/src/rev/12729d7c3bcc
branches:  trunk
changeset: 846485:12729d7c3bcc
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Nov 18 11:01:41 2019 +0000

description:
TRAP_EXEC does not have extra fields to be filled in at the moment.
Explicitly ignore fields for now.

Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

diffstat:

 sys/compat/netbsd32/netbsd32_signal.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 5c26c4b862a2 -r 12729d7c3bcc sys/compat/netbsd32/netbsd32_signal.c
--- a/sys/compat/netbsd32/netbsd32_signal.c     Mon Nov 18 10:25:48 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_signal.c     Mon Nov 18 11:01:41 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_signal.c,v 1.49 2019/11/18 10:25:48 rin Exp $ */
+/*     $NetBSD: netbsd32_signal.c,v 1.50 2019/11/18 11:01:41 rin Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.49 2019/11/18 10:25:48 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.50 2019/11/18 11:01:41 rin Exp $");
 
 #if defined(_KERNEL_OPT) 
 #include "opt_ktrace.h"
@@ -213,6 +213,7 @@
        case SIGTRAP:
                switch (si32->_code) {
                case TRAP_EXEC:
+                       break;
                case TRAP_CHLD:
                case TRAP_LWP:
                        si->_reason._ptrace_state._pe_report_event =
@@ -302,6 +303,7 @@
        case SIGTRAP:
                switch (si->_code) {
                case TRAP_EXEC:
+                       break;
                case TRAP_CHLD:
                case TRAP_LWP:
                        si32->_reason._ptrace_state._pe_report_event =



Home | Main Index | Thread Index | Old Index