[PATCH v3 2/5] y2038: Introduce internal for glibc struct __timespec64
Lukasz Majewski
lukma@denx.de
Wed May 8 09:10:00 GMT 2019
On Wed, 08 May 2019 10:38:20 +0200
Andreas Schwab <schwab@suse.de> wrote:
> On Mai 08 2019, Lukasz Majewski <lukma@denx.de> wrote:
>
> > My point is if we do need at any point in time to clear this padding
> > (due to e.g. kernel bug when passing data to syscalls [2] or solve
> > issue as presented in [*]).
>
> Yes, but you don't need to use a *bitfield*.
Could you share your opinion about the type to use to replace the
bitfield?
The other option would be to use __int32_t tv_pad.
Another question - shall we use __int32_t for tv_nsec or
__syscall_slong_t for internal representation?
We would end up with the same type in the end, but I don't know what is
preferable.
>
> Andreas.
>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190508/a6e68bd3/attachment.sig>
More information about the Libc-alpha
mailing list