On 07/04/20(Tue) 15:00, Todd C. Miller wrote: > On Tue, 07 Apr 2020 12:42:06 +0200, Martin Pieuchot wrote: > > > fifo_poll() honors FREAD and FWRITE. It doesn't return events > > incompatible with the open flags. Diff below makes the kqfilters > > behave like that as well. > > Looks good to me. Is there any reason you put "int a_fflag" in the > middle of struct vop_kqfilter_args in between two pointers?
I just did like all other vop_*_args do, many of them have an int in between two pointers as second argument. I'm welcoming you to clean they all at once! Thanks for falling into my trap :O)
