Module Name: src
Committed By: reinoud
Date: Sun Nov 27 21:23:47 UTC 2011
Modified Files:
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: thunk.c
Log Message:
Add thunk_sigprocmask()
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/usermode/usermode/thunk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/include/thunk.h
diff -u src/sys/arch/usermode/include/thunk.h:1.34 src/sys/arch/usermode/include/thunk.h:1.35
--- src/sys/arch/usermode/include/thunk.h:1.34 Thu Sep 15 12:23:51 2011
+++ src/sys/arch/usermode/include/thunk.h Sun Nov 27 21:23:46 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.34 2011/09/15 12:23:51 reinoud Exp $ */
+/* $NetBSD: thunk.h,v 1.35 2011/11/27 21:23:46 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -112,6 +112,7 @@ int thunk_sigblock(int);
int thunk_sigunblock(int);
int thunk_sigemptyset(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));
int thunk_aio_read(struct aiocb *);
Index: src/sys/arch/usermode/usermode/thunk.c
diff -u src/sys/arch/usermode/usermode/thunk.c:1.39 src/sys/arch/usermode/usermode/thunk.c:1.40
--- src/sys/arch/usermode/usermode/thunk.c:1.39 Thu Sep 15 20:25:23 2011
+++ src/sys/arch/usermode/usermode/thunk.c Sun Nov 27 21:23:47 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $ */
+/* $NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -449,6 +449,12 @@ thunk_sigaddset(sigset_t *sa_mask, int s
}
int
+thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset)
+{
+ return sigprocmask(how, set, oset);
+}
+
+int
thunk_atexit(void (*function)(void))
{
return atexit(function);