Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/procfs Allow procfs_kqfilter, since we allow poll...
details: https://anonhg.NetBSD.org/src/rev/3125de6e02ef
branches: trunk
changeset: 357885:3125de6e02ef
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 01 19:01:34 2017 +0000
description:
Allow procfs_kqfilter, since we allow poll. "go" does it.
diffstat:
sys/miscfs/procfs/procfs_vnops.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r d0ce8d43d482 -r 3125de6e02ef sys/miscfs/procfs/procfs_vnops.c
--- a/sys/miscfs/procfs/procfs_vnops.c Fri Dec 01 18:39:49 2017 +0000
+++ b/sys/miscfs/procfs/procfs_vnops.c Fri Dec 01 19:01:34 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_vnops.c,v 1.200 2017/11/08 00:51:47 christos Exp $ */
+/* $NetBSD: procfs_vnops.c,v 1.201 2017/12/01 19:01:34 christos Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.200 2017/11/08 00:51:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.201 2017/12/01 19:01:34 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -217,7 +217,8 @@
#define procfs_fcntl genfs_fcntl
#define procfs_ioctl genfs_enoioctl
#define procfs_poll genfs_poll
-#define procfs_revoke genfs_revoke
+#define procfs_kqfilter genfs_kqfilter
+#define procfs_revoke genfs_revoke
#define procfs_fsync genfs_nullop
#define procfs_seek genfs_nullop
#define procfs_remove genfs_eopnotsupp
@@ -265,6 +266,7 @@
{ &vop_fcntl_desc, procfs_fcntl }, /* fcntl */
{ &vop_ioctl_desc, procfs_ioctl }, /* ioctl */
{ &vop_poll_desc, procfs_poll }, /* poll */
+ { &vop_kqfilter_desc, procfs_kqfilter }, /* kqfilter */
{ &vop_revoke_desc, procfs_revoke }, /* revoke */
{ &vop_fsync_desc, procfs_fsync }, /* fsync */
{ &vop_seek_desc, procfs_seek }, /* seek */
Home |
Main Index |
Thread Index |
Old Index