[Bug 218626] [PATCH] cuse: new error code CUSE_ERR_NO_DEVICE (ENODEV)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 13 11:02:51 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218626

            Bug ID: 218626
           Summary: [PATCH] cuse: new error code CUSE_ERR_NO_DEVICE
                    (ENODEV)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: jan.kokemueller at gmail.com
          Keywords: patch

Created attachment 181753
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181753&action=edit
patch adding a CUSE_ERR_NO_DEVICE error code

It would be great to have a cuse error code that resolves to ENODEV. This is
needed to properly implement the Evdev EVIOCREVOKE ioctl.

After EVIOCREVOKE is called all further calls to read/write should return
ENODEV (https://github.com/jiixyj/evdevfbsd/blob/master/evdevfbsd.c#L120).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list