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] y2038: linux: Provide __ppoll64 implementation


On Mon, 4 Nov 2019, Lukasz Majewski wrote:

> +# ifdef __NR_ppoll_time64
> +  int ret = SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask,
> +                            _NSIG / 8);
> +  if (ret == 0 || errno != ENOSYS)
> +    return ret;

A positive return from ppoll also indicates success and should result in 
the function returning without retrying with the 32-bit syscall.

-- 
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]