Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp464050rwb; Thu, 12 Jan 2023 08:15:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWWS4ZIQVEYeMRAoo29rPIKMRHGMagj2F9mQHRAokyLB08FvKdoSRiyI1eZ4zdNWmiLASL X-Received: by 2002:a17:903:32d1:b0:191:3b7b:3c2c with SMTP id i17-20020a17090332d100b001913b7b3c2cmr9674432plr.22.1673540112457; Thu, 12 Jan 2023 08:15:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673540112; cv=none; d=google.com; s=arc-20160816; b=YSBqRvYOEMO+UuoykwuXISKzuyl/dDqQFkii+XDL1urC6WstnNjflH6Ie8qEg9T8iJ IXVEziVzcTmnh8mxN1W2h4lDAu9Tk/R6K//hPKey8XLiOWQLIg7WjxOEIzbzw8zMmXXT 6hGzkmmlQqVY4uwdBvVhus63v5zLfHP7L4SumFDQ0V4AD9ohi9yJ2DYsfNOy2Vpc+sDE km8s7dZaJqkxtUquHSCe+JfpPmdJxN/1MWjsxAmuirlg+T5P9Fh6KFzDb2782ihtVPMi 8ouV6hh2Wol24r3ZY0QY8oJ8fFJxNL67oAZyQ0IKiHR2SgcCeVtlHFvJL9udGm1ysZu/ OXMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=Yc34lvUGTKrORXC4m9QZ6PynuHnp/NhTN8TJverAzchA8nJU8GMsyT0kptFANPUt6M tQ0rLOcTmvV46mTdRdWUew83g5PamlDqr1pVmaZsPg22632jJtyXMVKr1iYJ8s7NKz+m bXdpmtZLr6TbXTj2S+IW2SrxkW4wFydJtgk8LJ3pJRpMNg0qtli6tjubGazH+2zDpPVK /eKbxCvfW8FR7bPSjkrUiG7mABG5v+rS8DAh+z27KVnx12djbH9kLCP0e72K+DEyDrUx pkQTUNfzb1v5z3CGCYsy+VuRmltW/2AjU2sWB+YB3nZXMkya6YKtFS1TTBAHDRi+VpMB xHTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=20wsGnWp; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a170902ea0900b00189d12c0dd9si19094334plg.555.2023.01.12.08.15.06; Thu, 12 Jan 2023 08:15:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=20wsGnWp; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230118AbjALP0g (ORCPT + 50 others); Thu, 12 Jan 2023 10:26:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240342AbjALP0E (ORCPT ); Thu, 12 Jan 2023 10:26:04 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67FDC3D1CF; Thu, 12 Jan 2023 07:18:41 -0800 (PST) Date: Thu, 12 Jan 2023 15:18:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673536719; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=20wsGnWpG3xJDrp5YPfg4/0hYoub/Ijg4ZbCMqwtlvoTwqWdK5vtftOJMjf+fA2ZEkuDIe T18SduXhF67rW1zojbeTuFuzQ4PVc9r7DNHtfCGqu8v2JXBXs0SB9KTtHRPJIQI+jClfhb wupz/uy7X2qLMOqUDUW7OoP0380IMjtCjWRFJCQRktMG6liWP2jG65CMFUXP0W5F7p7NBt hnMx9OP/Y6XSZV4FThki7WaABOY5+/N1J71XpUd30y+XBdtGyL4FfQvN0QECHEHM6Eu3YD Dm2HmQKXjUkKaE589F4OJubTXKyYS2Nq53z+qwAtU0RwxBOB9awlpuTqbb5Rpg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673536719; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6rolIEIiO2ig4S+v+S9Rws09BZuTxVnYBcgHmCQBLzI=; b=njY+LU9qPrhfNmuBLswoWytKDQP5CKUBWj21Qqnt9WIBnkoVdOm8O53E9dUwjmRVknSRsH pGBu7Pn3bD8YHcDQ== From: "tip-bot2 for Mathieu Desnoyers" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] rseq: Increase AT_VECTOR_SIZE_BASE to match rseq auxvec entries Cc: Nathan Chancellor , Mathieu Desnoyers , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230104192054.34046-1-mathieu.desnoyers@efficios.com> References: <20230104192054.34046-1-mathieu.desnoyers@efficios.com> MIME-Version: 1.0 Message-ID: <167353671841.4906.17789590364136749401.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 28c8e088427ad30b4260953f3b6f908972b77c2d Gitweb: https://git.kernel.org/tip/28c8e088427ad30b4260953f3b6f908972b77c2d Author: Mathieu Desnoyers AuthorDate: Wed, 04 Jan 2023 14:20:54 -05:00 Committer: Peter Zijlstra CommitterDate: Thu, 12 Jan 2023 11:22:22 +01:00 rseq: Increase AT_VECTOR_SIZE_BASE to match rseq auxvec entries Two new auxiliary vector entries are introduced for rseq without matching increment of the AT_VECTOR_SIZE_BASE, which causes failures with CONFIG_HARDENED_USERCOPY=y. Fixes: 317c8194e6ae ("rseq: Introduce feature size and alignment ELF auxiliary vector entries") Reported-by: Nathan Chancellor Signed-off-by: Mathieu Desnoyers Signed-off-by: Peter Zijlstra (Intel) Tested-by: Nathan Chancellor Link: https://lore.kernel.org/r/20230104192054.34046-1-mathieu.desnoyers@efficios.com --- include/linux/auxvec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/auxvec.h b/include/linux/auxvec.h index f68d0ec..407f700 100644 --- a/include/linux/auxvec.h +++ b/include/linux/auxvec.h @@ -4,6 +4,6 @@ #include -#define AT_VECTOR_SIZE_BASE 20 /* NEW_AUX_ENT entries in auxiliary table */ +#define AT_VECTOR_SIZE_BASE 22 /* NEW_AUX_ENT entries in auxiliary table */ /* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */ #endif /* _LINUX_AUXVEC_H */