kqueue send over unix socket?

Mark Johnston markj at freebsd.org
Tue Mar 12 21:52:30 UTC 2019


On Tue, Mar 12, 2019 at 04:10:19PM -0500, Larry Rosenman wrote:
> I'm working with Aki Tuomi of Dovecot and he asks:
> 
> I tried to ask if you could ask from some Kernel hacker why I cannot 
> send kqueue() fd over unix socket, I get "Operation not supported".
> 
> Can anyone help me?

What exactly do you want to know?  Events registered on a kqueue may
contain state associated with the process that registered them.  For
example, the identifier for some events is a file descriptor, but
different processes generally don't share their file descriptor tables.
Note that kqueue descriptors are not inherited by the child of a fork()
either.


More information about the freebsd-current mailing list