Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern kqueue signal filters are not supp...



details:   https://anonhg.NetBSD.org/src/rev/bb5f113e9412
branches:  trunk
changeset: 760360:bb5f113e9412
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 03 14:57:06 2011 +0000

description:
kqueue signal filters are not supported, so be explicit about it.

diffstat:

 sys/rump/librump/rumpkern/signals.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 208ffb624ff6 -r bb5f113e9412 sys/rump/librump/rumpkern/signals.c
--- a/sys/rump/librump/rumpkern/signals.c       Mon Jan 03 14:07:10 2011 +0000
+++ b/sys/rump/librump/rumpkern/signals.c       Mon Jan 03 14:57:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signals.c,v 1.4 2010/11/15 20:37:22 pooka Exp $        */
+/*     $NetBSD: signals.c,v 1.5 2011/01/03 14:57:06 pooka Exp $        */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: signals.c,v 1.4 2010/11/15 20:37:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: signals.c,v 1.5 2011/01/03 14:57:06 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -39,7 +39,10 @@
 
 #include "rumpkern_if_priv.h"
 
-const struct filterops sig_filtops;
+const struct filterops sig_filtops = {
+       .f_attach = (void *)eopnotsupp,
+};
+
 sigset_t sigcantmask;
 
 /* RUMP_SIGMODEL_PANIC */



Home | Main Index | Thread Index | Old Index