https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225934
Mark Johnston <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mark Johnston <[email protected]> --- Indeed, at the end of fifo_open() we set the file's ops table to pipeops. pipe_kqfilter() has no way of attaching a knote to the fifo vnode. We could perhaps handle it with a new file ops table for fifos: every operation except kqfilter would just be the corresponding operation in pipeops. fifo_kqfilter() would attempt to handle EVFILT_VNODE by calling vfs_kqfilter() and otherwise would call pipe_kqfilter(). Another option might be to maintain a backpointer from the pipe structure to the vnode for named pipes. BTW there is some dead code here, I can't see how ufsfifo_kqfilter() can ever get called. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
