[PATCH 13/23] linux: Add fchroot
Florian Weimer
fweimer@redhat.com
Thu Nov 5 16:44:06 GMT 2026
* Adhemerval Zanella Netto:
>> I wonder if we should start defining macros like
>>
>> #define _LIBC_HAS_FUNCTION_fchroot
>>
>> in some header file as part of a general push for more system call
>> wrappers.
>
> Please no, this adds another set of defines we will need to keep tracking
> of.
If it's just a plain #define, I think we could generate that from the
DSO itself.
If we need to identify the header for the declaration or the argument
count, it's less straightforward to auto-generate, but still possible.
Thanks,
Florian
More information about the Libc-alpha
mailing list