Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode Add the complement to sigemptyset(), sigfi...
details: https://anonhg.NetBSD.org/src/rev/0fceaaeb3dbb
branches: trunk
changeset: 772920:0fceaaeb3dbb
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sat Jan 21 19:17:33 2012 +0000
description:
Add the complement to sigemptyset(), sigfillset()!
diffstat:
sys/arch/usermode/include/thunk.h | 3 ++-
sys/arch/usermode/usermode/thunk.c | 11 +++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r e427d28e56d8 -r 0fceaaeb3dbb sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Sat Jan 21 18:56:51 2012 +0000
+++ b/sys/arch/usermode/include/thunk.h Sat Jan 21 19:17:33 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.59 2012/01/11 12:37:50 reinoud Exp $ */
+/* $NetBSD: thunk.h,v 1.60 2012/01/21 19:17:33 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -132,6 +132,7 @@
int thunk_sigblock(int);
int thunk_sigunblock(int);
int thunk_sigemptyset(sigset_t *sa_mask);
+int thunk_sigfillset(sigset_t *sa_mask);
void thunk_sigaddset(sigset_t *sa_mask, int sig);
int thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset);
int thunk_atexit(void (*function)(void));
diff -r e427d28e56d8 -r 0fceaaeb3dbb sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Sat Jan 21 18:56:51 2012 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Sat Jan 21 19:17:33 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.79 2012/01/15 10:35:08 jmcneill Exp $ */
+/* $NetBSD: thunk.c,v 1.80 2012/01/21 19:17:33 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.79 2012/01/15 10:35:08 jmcneill Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.80 2012/01/21 19:17:33 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -605,6 +605,13 @@
}
+int
+thunk_sigfillset(sigset_t *sa_mask)
+{
+ return sigfillset(sa_mask);
+}
+
+
void
thunk_sigaddset(sigset_t *sa_mask, int sig)
{
Home |
Main Index |
Thread Index |
Old Index