From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id EE4F03858D3C for ; Tue, 8 Nov 2022 13:28:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EE4F03858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 36C151F6E6; Tue, 8 Nov 2022 13:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1667914097; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZPx6ErDjkEf0vt79YtzVg6+O04PsV1OyCkDTCYpY5Tc=; b=ehatiCayxJ+U+9ixGdoX4HffkUjHvqq4nRhLcxCdltWsEYf8DScwh1lKDt0KArp7/jauWh Lrmo+xyLWHUfqBBEU3OuEt5zcfAnf0PGBoYVwzLE4LqXEbuY+0+uq1gRFy1WJXgXfaRx+F yYww+MH0WY1ZBjMAbKl3NNkUhSx0Y9Q= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1667914097; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZPx6ErDjkEf0vt79YtzVg6+O04PsV1OyCkDTCYpY5Tc=; b=SpXnEBow/iUZSmOnkeFvqWgEjxIgAfEU6OUAD2LAijvb4wzSIN3MJ4cUHz2sJSSnTVBnU7 LM0SW/fZFzwdarBw== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id A5AAE2C141; Tue, 8 Nov 2022 13:28:16 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 7767244039C; Tue, 8 Nov 2022 14:28:16 +0100 (CET) From: Andreas Schwab To: Adhemerval Zanella Cc: libc-alpha@sourceware.org, Kabe Subject: Re: [PATCH v3] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) References: <20221108131525.1070162-1-adhemerval.zanella@linaro.org> X-Yow: Is this BOISE?? Date: Tue, 08 Nov 2022 14:28:16 +0100 In-Reply-To: <20221108131525.1070162-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Tue, 8 Nov 2022 10:15:25 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Nov 08 2022, Adhemerval Zanella wrote: > diff --git a/include/sys/poll.h b/include/sys/poll.h > index f904e21f89..af032048e4 100644 > --- a/include/sys/poll.h > +++ b/include/sys/poll.h > @@ -2,16 +2,22 @@ > # include > > #ifndef _ISOMAC > +#include > + > 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 > +# define ppoll64 ppoll > +# define __ppoll64 ppoll > +# define __ppoll64_chk __ppoll_chk > # else > # include > # include > +# define ppoll64 __ppoll64 Why do you need that indirection through the ppoll64 macro? -- 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."