Source-Changes-HG archive

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

[src/trunk]: src/sys/kern sig_filtops is MPSAFE.



details:   https://anonhg.NetBSD.org/src/rev/3c59623fa5a3
branches:  trunk
changeset: 987442:3c59623fa5a3
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 26 17:34:19 2021 +0000

description:
sig_filtops is MPSAFE.

diffstat:

 sys/kern/kern_sig.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6f4de888b14d -r 3c59623fa5a3 sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c       Sun Sep 26 16:36:18 2021 +0000
+++ b/sys/kern/kern_sig.c       Sun Sep 26 17:34:19 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sig.c,v 1.398 2021/09/26 01:16:10 thorpej Exp $   */
+/*     $NetBSD: kern_sig.c,v 1.399 2021/09/26 17:34:19 thorpej Exp $   */
 
 /*-
  * Copyright (c) 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.398 2021/09/26 01:16:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.399 2021/09/26 17:34:19 thorpej Exp $");
 
 #include "opt_execfmt.h"
 #include "opt_ptrace.h"
@@ -2693,7 +2693,7 @@
 }
 
 const struct filterops sig_filtops = {
-       .f_flags = 0,
+       .f_flags = FILTEROP_MPSAFE,
        .f_attach = filt_sigattach,
        .f_detach = filt_sigdetach,
        .f_event = filt_signal,



Home | Main Index | Thread Index | Old Index