This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] <sys/stat.h>: Use Linux kernel UAPI header if available and useful
* Andreas Schwab:
> On Jun 11 2019, Florian Weimer <fweimer@redhat.com> wrote:
>
>> So should we write statx_generic in such a way that it does not depend
>> on the size of struct stax?
>
> The fallback uses the original definition, and must never write beyond
> that.
The question is whether we achieve this with a separate struct type, or
by changing it so that it only writes to all the fields in the original
definition (i.e., remove the struct assigned and write to all members
explicitly, including those that need to be zeroed).
Thanks,
Florian