Lawrence D’Oliveiro <l…@nz.invalid> wrote:
> On Wed, 11 Nov 2026 19:56:07 -0800, Andy Valencia wrote:
>
>> The guarded FD's.
>
> What exactly was a “guarded” FD?
Those seem to be fd's that can only be accessed in combination with a
specific guard token, otherwise access fails. A short mention is here:
https://hacktricks.wiki/en/macos-hardening/macos-security-and-privilege-escalation/macos-security-protections/macos-fs-tricks/index.html#macos-guarded-descriptors
and the header is here:
https://github.com/apple/darwin-xnu/blob/main/bsd/sys/guarded.h
Interesting idea.
Kind regards,
Alex.
--
"Opportunity is missed by most people because it is dressed in overalls and
looks like work." -- Thomas A. Edison