Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/aarch64/aarch64 Pull up following revision(s) (r...



details:   https://anonhg.NetBSD.org/src/rev/aaa2c789091d
branches:  netbsd-9
changeset: 963855:aaa2c789091d
user:      martin <martin%NetBSD.org@localhost>
date:      Sat May 02 16:26:04 2020 +0000

description:
Pull up following revision(s) (requested by tnn in ticket #883):

        sys/arch/aarch64/aarch64/netbsd32_machdep.c: revision 1.11

fix inverted logic in NETBSD32 user signal stack handling (PR evbarm/55200)

diffstat:

 sys/arch/aarch64/aarch64/netbsd32_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 81be03518840 -r aaa2c789091d sys/arch/aarch64/aarch64/netbsd32_machdep.c
--- a/sys/arch/aarch64/aarch64/netbsd32_machdep.c       Sat May 02 16:24:11 2020 +0000
+++ b/sys/arch/aarch64/aarch64/netbsd32_machdep.c       Sat May 02 16:26:04 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.7 2019/07/12 06:44:49 skrll Exp $       */
+/*     $NetBSD: netbsd32_machdep.c,v 1.7.2.1 2020/05/02 16:26:04 martin Exp $  */
 
 /*
  * Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.7 2019/07/12 06:44:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.7.2.1 2020/05/02 16:26:04 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -218,7 +218,7 @@
        int error;
 
        const bool onstack_p =
-           (ss->ss_flags & (SS_DISABLE | SS_ONSTACK)) &&
+           (ss->ss_flags & (SS_DISABLE | SS_ONSTACK)) == 0 &&
            (sa->sa_flags & SA_ONSTACK);
 
        vaddr_t sp = onstack_p ?



Home | Main Index | Thread Index | Old Index