[Bug 258056] lang/go118: musn't poll /dev/fuse

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Jul 2022 15:24:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258056

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sys/fs/fuse: commit         |lang/go118: musn't poll
                   |7b8622fa22 breaks           |/dev/fuse
                   |net/rclone mount            |

--- Comment #22 from Alan Somers <asomers@FreeBSD.org> ---
So it sounds like they assume that regular files will always poll readable (not
true for /dev/fuse) and anything that isn't a socket or a pipe will fail when
you try to register it with kqueue/epoll (true for /dev/fuse until commit
7b8622fa220b9c08041102f638f848c48e022644).  And since regular files are special
cased on *BSD and fail to register with epoll, the poller code never worked for
them.  In that case I'd say that your change is the correct one.

The change looks correct to me, though I haven't tested it.  Please submit it
upstream too.

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