On Sun, Sep 26, 2010 at 03:49:03PM -0700, Eric W. Biederman wrote:
Well, that I/O error can also be a segfault if userspace accesses
memory previously mmap'ed. So a userspace program needs to properly
handle -EIO from read(), and has to handle SIG_SEGV. This should also
be mentioned in Documentation/DocBook/uio-howto.tmpl.
Or do you have a better solution?
Thanks,
Hans
--