This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]