No description
Find a file
David van Moolenbroek 10b1b4ee12 devman: allow multiple event read calls up to EOF
Read calls may be repeated by VFS if the user destination memory is
not mapped in.  Devman currently assumes that all reads are
successful, and uses this to track whether EOF has been reached for
a particular event, discarding it as soon as this happens.  Upon
repetition, this may result in lost events for devmand.

With this patch, devman discards events only once devmand reads the
EOF marker, which itself can never generate a user page fault.  The
result is that read calls for data can be repeated safely, without
the risk of losing events in the process.

Change-Id: I9dfdf7f8c8992a20a10302d79c3506e61f8564b0
2014-10-28 14:43:33 +00:00
bin Importing bin/sh 2014-08-29 12:56:04 -04:00
common Fix -DNDEBUG support 2014-08-22 19:12:17 +02:00
distrib Import tmux 2014-10-03 10:01:08 +00:00
docs Clearing history in docs/UPDATING 2014-08-01 14:58:40 +02:00
etc Import tmux 2014-10-03 10:01:08 +00:00
external Fix build error on OSX 2014-10-10 12:56:50 +02:00
games Import NetBSD games/fish command. 2014-09-25 02:03:28 +02:00
gnu Update download urls in fetch.sh 2014-08-07 14:27:32 +02:00
include New sources layout 2014-07-31 16:00:30 +02:00
lib libc: enable setproctitle(3) 2014-10-03 10:01:03 +00:00
libexec LLVM Minix changes 2014-07-28 17:05:59 +02:00
minix devman: allow multiple event read calls up to EOF 2014-10-28 14:43:33 +00:00
releasetools Fix OS X crossbuilds for arm 2014-10-10 12:56:41 +02:00
sbin INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
share Import NetBSD legal/COPYRIGHT. 2014-09-28 16:28:05 +02:00
sys sys/ioccom.h: remove _MINIX_IOCTL_IORW 2014-09-29 16:16:17 +00:00
tests LLVM Minix changes 2014-07-28 17:05:59 +02:00
tools remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
usr.bin Replace NetBSD grep with OpenBSD grep 2014-09-30 18:09:56 +00:00
usr.sbin netbsd ping & traceroute 2014-08-21 08:07:39 -04:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00