[RFC 03/10] y2038: Convert __lll_futex* functions to use futex_time64 when available
Joseph Myers
joseph@codesourcery.com
Mon Jul 13 21:08:32 GMT 2020
On Sun, 12 Jul 2020, Lukasz Majewski wrote:
> Dear Community,
>
> > As the 'futex' syscall is wrapped with a C preprocessor macros, it was
> > necessary to provide new set of those to replace call it with Y2038
> > safe 'futex_time64' syscall.
> >
> > The current code expand wrapper's arguments as __VA_ARGS__ when more
> > than three arguments are passed. For the conversion it was necessary
> > to also have 'timeout' explicitly passed, and hence the introduction
> > of lll_futex_syscall_time64_4 and lll_futex_syscall_time64 functions.
> > The former expects exactly 4 arguments - timeout is the last one.
> >
>
> Comments are more than welcome.
There are some formatting issues in this patch series. This patch
contains function / macro calls missing the space before '(', for example.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list