Lawrence D’Oliveiro <l…@nz.invalid> writes:
> So the latest libdbus update fixes some vulnerabilities > <https://lists.freedesktop.org/archives/dbus/2026-November/018530.html>, > including ones specific to various BSD derivatives. But I couldn’t > quite believe my eyes when I read this: > > On platforms where poll() is emulated using select() (in practice > this is believed to mean macOS and Interix), prevent a > denial-of-service in which the system bus would crash if file > descriptors above 1024 were polled, and harden it against > busy-looping if an invalid file descriptor was polled. > > Really?? The macOS kernel does *not* provide a native poll() call, it > has to emulate it via select()?
Why would you post that without checking? It does have poll(). https://github.com/apple-oss-distributions/xnu/blob/main/bsd/kern/sys_generic.c#L1681
> That is so sad ...
Well, something is sad, but I don’t think it’s macOS, in this instance.