[PATCH v5 1/2] sysdeps/stat: Handle 64-bit ino_t types on 32-bit hosts

Joseph Myers joseph@codesourcery.com
Mon Oct 21 16:48:00 GMT 2019


On Mon, 21 Oct 2019, Alistair Francis wrote:

> On a 32-bit platform with a 64-bit ino_t type (__INO_T_MATCHES_INO64_T
> defined) we want to update the stat struct to remove the padding as it
> isn't required. As we don't have the padding we also need to update the
> overflow checker to not access the undefined members.
> ---
> This change was tested by running user space tests for RV32 and RV64.
> 
> v4:
>  - Move the assert to: sysdeps/unix/sysv/linux/generic/stat-check.c

This needs Makefile changes to cause this file to be compiled as part of 
the glibc build.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list