tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: O_EVTONLY [was Re: KERN_PROC_FILEDESC equivalent in NetBSD?]



In article <20151212122234.GB614@quark>,
Patrick Welche  <prlw1%cam.ac.uk@localhost> wrote:
>On Thu, Oct 22, 2015 at 06:59:31PM -0400, Christos Zoulas wrote:
>> On Oct 22, 11:04pm, prlw1%cam.ac.uk@localhost (Patrick Welche) wrote:
>> | Talking of things to add - any thoughts on adding the O_EVTONLY flag
>to open()?
>> 
>> Does it work properly on MacOS/X?
>
>A bit of a double negative: I don't know if it works properly, however,
>the use case would be for the kqueue backend of glib's gio. On MacOS/X
>the kqueue backend uses O_EVTONLY since November 2012, and I don't
>see bugs filed against it.

That would be the case if it did nothing :-) I.e. if it was no more
restricting than a regular open. What functionality are you missing?

christos



Home | Main Index | Thread Index | Old Index