summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r--sys/kern/uipc_usrreq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 1f06ea0ca4e..3a5b7eadf4e 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_usrreq.c,v 1.96 2016/03/19 12:04:15 natano Exp $ */
+/* $OpenBSD: uipc_usrreq.c,v 1.97 2016/04/25 20:18:31 tedu Exp $ */
/* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */
/*
@@ -852,9 +852,8 @@ morespace:
if (error)
goto fail;
- /* kq and systrace descriptors cannot be copied */
- if (fp->f_type == DTYPE_KQUEUE ||
- fp->f_type == DTYPE_SYSTRACE) {
+ /* kqueue descriptors cannot be copied */
+ if (fp->f_type == DTYPE_KQUEUE) {
error = EINVAL;
goto fail;
}