From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by sourceware.org (Postfix) with ESMTPS id 6EC143858433 for ; Mon, 7 Nov 2022 17:26:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6EC143858433 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-13d9a3bb27aso12662386fac.11 for ; Mon, 07 Nov 2022 09:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=sXRTRgGnDfp56nk/PadeyoXk+Jlh+hUuI9s58ymC7Wg=; b=d3LYSnb6t2PpmY3GzfeYaKv9rLSH1YnCsZ74FMTt16tnor18a8Re/IBJfGqjKD7Ajq 4GQyTgApxCR30LKRD83zDkpkiY6d+IYDqKa5Lfe4m4A2Tg3j4z/fx9PtQLFI9QBrxuRc KGAkIceGNJzebXGIKdcOgkn/1z5vK7rQ9Ecv7yDbq5i4YeSyJSxYEDYBoGUr3h4k/glI JlfMifVYqhcI/eQPqJRS5gdLOu7XafhFAd7T+oKCH+wNgE9hsfi3W7FN0Kmbn6AopPCQ bYNvS71eX4r4bLiloI/IPQvWXETsocflQS5xKm2GZeWAKT4aXKErH0W3eaCak2cGL4TC l78g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sXRTRgGnDfp56nk/PadeyoXk+Jlh+hUuI9s58ymC7Wg=; b=UyWLrXpWcHP1C0M12qDk5+IPbm0WHZQQtvydeyaB2IvTLWAKfPgLPacuLgWljgVsDc ZGCWJSfG6wzy5au9UgQJE1rO7t0G1YJETpcXK+M2evcncBdYo5gh1nXsq0dRck57pznP dDZO/Sv4IXm6lpYW7hwx1Rw08NguY65o3KKv0Pj4z56AODBAzHoQy0w6c4z076SZH+kT VHYNqPRWh3wiRnvZDpNVKT9EVDV4Od+aBm/wInmh9sP/fJS+neVz43KC38cHG/RyXhVa eDXcSOc7nhA2MwEvLdmu0UX72jeCqX6emM0ntSM4ciYrJ0p3XpEbdkUiFCi1wDalvAbx 7vjw== X-Gm-Message-State: ACrzQf0YLGKQPWr0Cgq0UVCXeNNZU6yaijD5Gor720K7/Tu/AE51gRnI immP+Q36mqKpP1EnTHFgryL490Soic6bH/13 X-Google-Smtp-Source: AMsMyM6g+LbYyIBt9FmzMqEncz2ixqdYlNqRqJVWNQ+bc+oe9qL/iiiplIQrERe9yzhfTa96JChl7w== X-Received: by 2002:a05:6871:794:b0:12c:4bff:341d with SMTP id o20-20020a056871079400b0012c4bff341dmr28816100oap.127.1667841981565; Mon, 07 Nov 2022 09:26:21 -0800 (PST) Received: from ?IPV6:2804:1b3:a7c0:a9f4:fc60:ae8f:c4b6:cf0a? ([2804:1b3:a7c0:a9f4:fc60:ae8f:c4b6:cf0a]) by smtp.gmail.com with ESMTPSA id l3-20020a544503000000b00349a06c581fsm2629387oil.3.2022.11.07.09.26.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 09:26:21 -0800 (PST) Message-ID: <0f1a2d87-4299-4b60-5add-181a0578863e@linaro.org> Date: Mon, 7 Nov 2022 14:26:18 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v2] Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) Content-Language: en-US To: Andreas Schwab Cc: libc-alpha@sourceware.org, Kabe References: <20221107155348.391084-1-adhemerval.zanella@linaro.org> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 07/11/22 13:09, Andreas Schwab wrote: > 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 >> >> #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. You are right, I will remove it. > >> # define __ppoll64 __ppoll > > That should be defined to ppoll instead, I think. This is required in fact, so 64 bit time_t build the __ppoll64 as __ppoll. I added a another indirection to handle it on ppoll_chk.c for TIMESIZE != 64.