Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make stopsigmask a non-static symbol now as...
details: https://anonhg.NetBSD.org/src/rev/f1eb65caad78
branches: trunk
changeset: 319194:f1eb65caad78
user: kamil <kamil%NetBSD.org@localhost>
date: Sun May 20 04:00:35 2018 +0000
description:
Make stopsigmask a non-static symbol now as it's used in ptrace(2) code
This is a missing part of the previous commit.
While there fix a typo in a newly added comment in the ptrace(2) code.
Sponsored by <The NetBSD Foundation>
diffstat:
sys/kern/kern_sig.c | 6 +++---
sys/kern/sys_ptrace_common.c | 6 +++---
sys/sys/signalvar.h | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r cd155434051b -r f1eb65caad78 sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c Sun May 20 03:51:31 2018 +0000
+++ b/sys/kern/kern_sig.c Sun May 20 04:00:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig.c,v 1.346 2018/05/19 05:01:42 kamil Exp $ */
+/* $NetBSD: kern_sig.c,v 1.347 2018/05/20 04:00:35 kamil Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.346 2018/05/19 05:01:42 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.347 2018/05/20 04:00:35 kamil Exp $");
#include "opt_ptrace.h"
#include "opt_dtrace.h"
@@ -113,7 +113,7 @@
static callout_t proc_stop_ch __cacheline_aligned;
sigset_t contsigmask __cacheline_aligned;
-static sigset_t stopsigmask __cacheline_aligned;
+sigset_t stopsigmask __cacheline_aligned;
static sigset_t vforksigmask __cacheline_aligned;
sigset_t sigcantmask __cacheline_aligned;
diff -r cd155434051b -r f1eb65caad78 sys/kern/sys_ptrace_common.c
--- a/sys/kern/sys_ptrace_common.c Sun May 20 03:51:31 2018 +0000
+++ b/sys/kern/sys_ptrace_common.c Sun May 20 04:00:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_ptrace_common.c,v 1.41 2018/05/20 03:51:31 kamil Exp $ */
+/* $NetBSD: sys_ptrace_common.c,v 1.42 2018/05/20 04:00:35 kamil Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.41 2018/05/20 03:51:31 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.42 2018/05/20 04:00:35 kamil Exp $");
#ifdef _KERNEL_OPT
#include "opt_ptrace.h"
@@ -867,7 +867,7 @@
t->p_xsig = signo;
/*
- * signo > 0 check precents a potential panic, as
+ * signo > 0 check prevents a potential panic, as
* sigismember(&...,0) is invalid check and signo
* can be equal to 0 as a special case of no-signal.
*/
diff -r cd155434051b -r f1eb65caad78 sys/sys/signalvar.h
--- a/sys/sys/signalvar.h Sun May 20 03:51:31 2018 +0000
+++ b/sys/sys/signalvar.h Sun May 20 04:00:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: signalvar.h,v 1.90 2018/05/01 16:37:23 kamil Exp $ */
+/* $NetBSD: signalvar.h,v 1.91 2018/05/20 04:00:35 kamil Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -112,7 +112,7 @@
#include <sys/systm.h> /* for copyin_t/copyout_t */
-extern sigset_t contsigmask, sigcantmask;
+extern sigset_t contsigmask, stopsigmask, sigcantmask;
struct vnode;
struct coredump_iostate;
Home |
Main Index |
Thread Index |
Old Index