NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55663: Support for EVFILT_USER in kqueue(2)
The following reply was made to PR kern/55663; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Ruslan Nikolaev <nruslan_devel%yahoo.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/55663: Support for EVFILT_USER in kqueue(2)
Date: Thu, 17 Sep 2020 07:25:10 +0200
On Wed, Sep 16, 2020 at 04:09:36PM -0400, Ruslan Nikolaev wrote:
> 1. Skip changes like you have shown, where f_touch is initialized to NULL,
> assuming the default value for unspecified fields (= 0).
>
> 2. Change structs such as { 1, NULL, filt_apmrdetach, filt_apmread}
> to {
> .f_isfd = 1,
> .f_detach = filt_apmrdetach,
> .f_event = filt_apmread,
> }
Yes, exactly!
Martin
Home |
Main Index |
Thread Index |
Old Index