[PATCH] <sys/stat.h>: Use Linux kernel UAPI header if available and useful

Andreas Schwab schwab@suse.de
Tue Jun 11 10:01:00 GMT 2019


On Jun 11 2019, Florian Weimer <fweimer@redhat.com> wrote:

> I will come up with a patch with the duplication and remove the asssert.
> However, I do not really like it.  At this point, we don't know if we
> will ever actually need the duplicate.

We already have that duplicate anyway, as we need it for pre-statx
kernels.  But for those kernels, struct statx never changes.  If the
kernel handles statx, we don't care about the size.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list