Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/dev Disable SIGALRM from interfering with ...
details: https://anonhg.NetBSD.org/src/rev/cbb327b32acd
branches: trunk
changeset: 769268:cbb327b32acd
user: reinoud <reinoud%NetBSD.org@localhost>
date: Mon Sep 05 11:25:29 2011 +0000
description:
Disable SIGALRM from interfering with this signal handler
diffstat:
sys/arch/usermode/dev/ld_thunkbus.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r fa0783d0bae2 -r cbb327b32acd sys/arch/usermode/dev/ld_thunkbus.c
--- a/sys/arch/usermode/dev/ld_thunkbus.c Mon Sep 05 11:12:51 2011 +0000
+++ b/sys/arch/usermode/dev/ld_thunkbus.c Mon Sep 05 11:25:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_thunkbus.c,v 1.10 2011/09/04 20:14:37 reinoud Exp $ */
+/* $NetBSD: ld_thunkbus.c,v 1.11 2011/09/05 11:25:29 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.10 2011/09/04 20:14:37 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.11 2011/09/05 11:25:29 reinoud Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -123,6 +123,7 @@
sigemptyset(&sa.sa_mask);
sa.sa_flags = SA_RESTART | SA_SIGINFO;
sa.sa_sigaction = ld_thunkbus_sig;
+ thunk_sigaddset(&sa.sa_mask, SIGALRM);
if (thunk_sigaction(SIGIO, &sa, NULL) == -1)
panic("couldn't register SIGIO handler: %d", thunk_geterrno());
Home |
Main Index |
Thread Index |
Old Index