[PATCH v2] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746)
Andreas Schwab
schwab@suse.de
Mon Nov 7 16:09:22 GMT 2022
On Nov 07 2022, Adhemerval Zanella wrote:
> diff --git a/include/sys/poll.h b/include/sys/poll.h
> index f904e21f89..bc0757e423 100644
> --- a/include/sys/poll.h
> +++ b/include/sys/poll.h
> @@ -2,13 +2,16 @@
> # include <io/sys/poll.h>
>
> #ifndef _ISOMAC
> +
> extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
> int __timeout);
> libc_hidden_proto (__poll)
> libc_hidden_proto (ppoll)
>
> # if __TIMESIZE == 64
> +# define ppoll64 ppoll
I don't think anything uses that name.
> # define __ppoll64 __ppoll
That should be defined to ppoll instead, I think.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list