[rtems-libbsd commit] KQUEUE(2): Add missing file handler

Sebastian Huber sebh at rtems.org
Fri Jul 28 06:46:43 UTC 2017


Module:    rtems-libbsd
Branch:    master
Commit:    6e328c38b10ada0ec1f493c14df1085e1dd57cb4
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=6e328c38b10ada0ec1f493c14df1085e1dd57cb4

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 28 08:44:52 2017 +0200

KQUEUE(2): Add missing file handler

---

 freebsd/sys/kern/kern_event.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/freebsd/sys/kern/kern_event.c b/freebsd/sys/kern/kern_event.c
index 7f1b926..a3464ad 100644
--- a/freebsd/sys/kern/kern_event.c
+++ b/freebsd/sys/kern/kern_event.c
@@ -2764,6 +2764,9 @@ static const rtems_filesystem_file_handlers_r kqueueops = {
 	.fdatasync_h = rtems_filesystem_default_fsync_or_fdatasync,
 	.fcntl_h = rtems_filesystem_default_fcntl,
 	.poll_h = rtems_bsd_kqueue_poll,
-	.kqfilter_h = rtems_bsd_kqueue_kqfilter
+	.kqfilter_h = rtems_bsd_kqueue_kqfilter,
+	.readv_h = rtems_filesystem_default_readv,
+	.writev_h = rtems_filesystem_default_writev,
+	.mmap_h = rtems_filesystem_default_mmap
 };
 #endif /* __rtems__ */



More information about the vc mailing list