[PATCH v8 1/3] y2038: Introduce internal for glibc struct __timespec64
Joseph Myers
joseph@codesourcery.com
Wed Sep 25 16:29:00 GMT 2019
On Wed, 25 Sep 2019, Lukasz Majewski wrote:
> Let's wait for Joseph's opinion if we shall replace named padding struct
> members with unnamed bitfields (and drop potential support for fixing
> issues, which would require explicit clearing of padding before passing
> data to the kernel).
I'm not particularly concerned with whether this patch uses named padding,
unnamed bit-field or 64-bit tv_nsec in the internal struct __timespec64.
(I don't think a named bit-field would make sense there, however.) If we
use an unnamed bit-field now we can readily change it later to have a name
if we decide to support clearing padding for compat syscalls for kernels
5.1.0 to 5.1.4.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list