summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 75ec0ee..4527346 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -93,6 +93,7 @@ static int badfo_ioctl __P((struct file *fp, u_long com, caddr_t data,
struct proc *p));
static int badfo_poll __P((struct file *fp, int events,
struct ucred *cred, struct proc *p));
+static int badfo_kqfilter __P((struct file *fp, struct knote *kn));
static int badfo_stat __P((struct file *fp, struct stat *sb, struct proc *p));
static int badfo_close __P((struct file *fp, struct proc *p));
@@ -1507,6 +1508,7 @@ struct fileops badfileops = {
badfo_readwrite,
badfo_ioctl,
badfo_poll,
+ badfo_kqfilter,
badfo_stat,
badfo_close
};
@@ -1546,6 +1548,15 @@ badfo_poll(fp, events, cred, p)
}
static int
+badfo_kqfilter(fp, kn)
+ struct file *fp;
+ struct knote *kn;
+{
+
+ return (0);
+}
+
+static int
badfo_stat(fp, sb, p)
struct file *fp;
struct stat *sb;
OpenPOWER on IntegriCloud