From patchwork Thu Apr 22 04:48:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chang S. Bae" X-Patchwork-Id: 12217635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5D55C433B4 for ; Thu, 22 Apr 2021 04:56:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BE9F60FD7 for ; Thu, 22 Apr 2021 04:56:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BE9F60FD7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yX4q7EIL2QgHXCVUeQynrPgW8zWGZQWa32U6QcNrmHo=; b=BX9NU/LKkTR8ebjZDTHLIvjw2m A7tCsXkyR7Dg2DCcmXnaGX7Yv3prr2MI6RhQ70eLPXsKtyr9q05tQK9jVeHFyR/Ib7GLoN5dfbkW+ eKmyDXgQoVYY1eP8iMYxCt1AVp9/rA0SpfP2568gc+az3grTuWC6YuGysWyul0e45+/gvIP4CXlHU SQHCKXUrDCH2bWtw5MUGGw1Im4FMlY/Hf+3tS70ADiRpAlTRikPk39svJgdWK6zBOy+N3XxT7ljoz 3Exl6wKaEj/xnuwUvaI3+rrXnTQOZtneIbPSZYgDxW35J4jY5FSfX5QtWnPnYNDSUbAFqGsFmE11n XORMIcVQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZRMD-00Fshi-2c; Thu, 22 Apr 2021 04:54:29 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZRM6-00FshO-AN for linux-arm-kernel@desiato.infradead.org; Thu, 22 Apr 2021 04:54:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=y7vBL3q2IaYMLfPMwWpZkbW8/7hWjWQa9p30aOFK+sY=; b=a/ZGPdaKssYEcW624SMCPu/H4g YrlduRvaR4GkWajq7rlQzQ2JfDObB4rdTUE0qKoJFt2dkDhshwSqjBW159z80KbXtsGb0AWBGAVEY 8FOP/hufYMj4CiBdjqOLMvJPry10Hu5/UmYw18TLunnX8+g3rbuOSz3SMafN45hVpaSaH9pg1TV23 ccevYD0gvcb2vEv3ylQAarmPaOc+ATqWgPPMupMpvZwpzXXRz8ujsg08OPrnuTL3I0nzyD2WNawL+ t4NChekhp499YO1CtYfHxXgD++mbiSYsFGQNu34JxR3js39ZAQMHOM4kd9DhRhCvpOYLlWwy0Y3Sl o+EPq0VQ==; Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZRM2-00DN6f-72 for linux-arm-kernel@lists.infradead.org; Thu, 22 Apr 2021 04:54:19 +0000 IronPort-SDR: etdmEEPbfo4NTKFJ3O8vUINlOQVz2PDuQ/7BoRNovMCeCfsiibe6ZJMLviKLt8Dwd12g442Fvk ZvOlFlmVuXWA== X-IronPort-AV: E=McAfee;i="6200,9189,9961"; a="192637746" X-IronPort-AV: E=Sophos;i="5.82,241,1613462400"; d="scan'208";a="192637746" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 21:54:15 -0700 IronPort-SDR: P0DlGVpZ8pz/xSNAlJpFfT4ZAUa7ab7o7dTD92FVDrCEGFToaHNKnhJmuFPcSgn/bLMSPw17lP Z6t4H08TZgLQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,241,1613462400"; d="scan'208";a="524515402" Received: from chang-linux-3.sc.intel.com ([172.25.66.175]) by fmsmga001.fm.intel.com with ESMTP; 21 Apr 2021 21:54:15 -0700 From: "Chang S. Bae" To: bp@suse.de, tglx@linutronix.de, mingo@kernel.org, luto@kernel.org, x86@kernel.org Cc: len.brown@intel.com, dave.hansen@intel.com, hjl.tools@gmail.com, Dave.Martin@arm.com, jannh@google.com, mpe@ellerman.id.au, carlos@redhat.com, tony.luck@intel.com, ravi.v.shankar@intel.com, libc-alpha@sourceware.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, chang.seok.bae@intel.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v8 1/6] uapi: Define the aux vector AT_MINSIGSTKSZ Date: Wed, 21 Apr 2021 21:48:51 -0700 Message-Id: <20210422044856.27250-2-chang.seok.bae@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210422044856.27250-1-chang.seok.bae@intel.com> References: <20210422044856.27250-1-chang.seok.bae@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210421_215418_288201_AAB932CD X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Define the AT_MINSIGSTKSZ in generic Linux. It is already used as generic ABI in glibc's generic elf.h, and this define will prevent future namespace conflicts. In particular, x86 is also using this generic definition. Signed-off-by: Chang S. Bae Reviewed-by: Len Brown Cc: Carlos O'Donell Cc: Dave Martin Cc: libc-alpha@sourceware.org Cc: linux-arch@vger.kernel.org Cc: linux-api@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Change from v6: * Revised the comment. (Borislav Petkov) Change from v5: * Reverted the arm64 change. (Dave Martin and Will Deacon) * Massaged the changelog. Change from v4: * Added as a new patch (Carlos O'Donell) --- include/uapi/linux/auxvec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h index abe5f2b6581b..c7e502bf5a6f 100644 --- a/include/uapi/linux/auxvec.h +++ b/include/uapi/linux/auxvec.h @@ -33,5 +33,8 @@ #define AT_EXECFN 31 /* filename of program */ +#ifndef AT_MINSIGSTKSZ +#define AT_MINSIGSTKSZ 51 /* minimal stack size for signal delivery */ +#endif #endif /* _UAPI_LINUX_AUXVEC_H */