[Bug 252673] Read on a SEQPACKET AF_UNIX socket returns the wrong error when disallowed by Capsicum

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 14 16:26:34 UTC 2021


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

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #3 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to David Chisnall from comment #2)
I don't have any good ideas.  Are you certain that something isn't setting
O_CLOEXEC on the sockets?

You might try verifying with e.g. "procstat -f" or gdb's "info proc files" that
the descriptor really is a socket.  I can't see how you'd get ENOENT from a
read on a socket.

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


More information about the freebsd-bugs mailing list