From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EED33C77B7A for ; Wed, 7 Jun 2023 21:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231747AbjFGVU1 (ORCPT ); Wed, 7 Jun 2023 17:20:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231720AbjFGVU0 (ORCPT ); Wed, 7 Jun 2023 17:20:26 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA29B1BEF for ; Wed, 7 Jun 2023 14:20:20 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6532671ccc7so7024254b3a.2 for ; Wed, 07 Jun 2023 14:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686172820; x=1688764820; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=5tumlTohvViLF4uk0FiFKpbTE6W6nPi6UHifHjjU7Gk=; b=l+oNp6trT33uJEfbYO2yQNVEMsga29EFAMRxZNRXXq4drjYG5twLkw34RY0BhpiJsK ZGeuBaA6sAJICfrCYDwjvpJcekW/fVjLkAUH/16viXRR1PZYsQ+krYBB/yry9EVGyccg V3cibkhbEj/6Z/Uuz3s0A+90xtin1OipzBd7c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686172820; x=1688764820; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5tumlTohvViLF4uk0FiFKpbTE6W6nPi6UHifHjjU7Gk=; b=OqYyFgmqyZcNuFEAGp7Tyq3WqDNikW+qF6HOjKef0aQuRiX+b5Xu5iZRoVkzvYmu1C HUg9uDHQjSrbINdSvtsed5dQhIrB6Zhw0nmJt7+fHrKg7w1YzUTJUEef1IQ/U9t5hxS6 +R1q9HOxYNRV3TK82GzvEuV9FmrD5IdIKfNp8xkZn89ast1j0j2lIl+K3FvNQ9rYupsq 2ZTlkM8h8H0E5aziT0m+W0w7FnubVmVoU3l6eb0Oehr2ZZMWZ1cHPomRg5zGyCcYuxZY HuCeoJUFQ7PSCZuQkLITak9lKmT/EcY4jxDXsjGECTK83n28htITXDEwXANccykbGgCx XEug== X-Gm-Message-State: AC+VfDzHYyauZBEaNrDm4D8ZlmXvk+1dtHAnTwMDEpl08sld4jJsY4j/ vQQfWWuA8Bu6UC45Q/RwCFxxaA== X-Google-Smtp-Source: ACHHUZ5p5zdLANYUm4s7nZqX5ZmMyWB6WX5riR+Uw92Lpdl9+eZTnSluQMHGrhcfSKBVr5f2DHkWew== X-Received: by 2002:a05:6a00:18aa:b0:658:26a8:9d9e with SMTP id x42-20020a056a0018aa00b0065826a89d9emr8907841pfh.29.1686172820339; Wed, 07 Jun 2023 14:20:20 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id 9-20020aa79149000000b00652a72b89d1sm9058051pfi.170.2023.06.07.14.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 14:20:19 -0700 (PDT) Date: Wed, 7 Jun 2023 14:20:19 -0700 From: Kees Cook To: Arnd Bergmann Cc: Andrew Morton , Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , "Eric W. Biederman" , Borislav Petkov , Thomas Gleixner , Jann Horn , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH] syscalls: add sys_ni_posix_timers prototype Message-ID: <202306071420.C4F0A99@keescook> References: <20230607142925.3126422-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230607142925.3126422-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Wed, Jun 07, 2023 at 04:28:45PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The sys_ni_posix_timers() definition causes a warning when > the declaration is missing, so this needs to be added > along with the normal syscalls, outside of the #ifdef. > > kernel/time/posix-stubs.c:26:17: error: no previous prototype for 'sys_ni_posix_timers' [-Werror=missing-prototypes] > > Signed-off-by: Arnd Bergmann Reviewed-by: Kees Cook -- Kees Cook