Message ID | 20221203003606.6838-15-rick.p.edgecombe@intel.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE722C47089 for <linux-mm@archiver.kernel.org>; Sat, 3 Dec 2022 00:37:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7FBDF8E000B; Fri, 2 Dec 2022 19:37:06 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 70FF38E0002; Fri, 2 Dec 2022 19:37:06 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4C6E98E000B; Fri, 2 Dec 2022 19:37:06 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 2CA5E8E0002 for <linux-mm@kvack.org>; Fri, 2 Dec 2022 19:37:06 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 0B645160425 for <linux-mm@kvack.org>; Sat, 3 Dec 2022 00:37:06 +0000 (UTC) X-FDA: 80199130452.18.7621341 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by imf14.hostedemail.com (Postfix) with ESMTP id 54BF0100006 for <linux-mm@kvack.org>; Sat, 3 Dec 2022 00:37:05 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=mxrT7G5N; spf=pass (imf14.hostedemail.com: domain of rick.p.edgecombe@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=rick.p.edgecombe@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1670027825; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:dkim-signature; bh=TAdyPKl0YrWCKkqh8A7Y3gcggR6k9vOQgJyAAvPuKRg=; b=QszzgGTHqaSw9UDuTJHVhOU/ubCx6aEwqigGLCbeU6MT1oKyiSinAkxyZTvmrr1T4uvuXj afS/7UW9oUKSLz0293RQAgEnBG4rETgJQdDuHddhN9ps4iJHqoQZ2oUJipMxrfHkrcO3D2 6fjo9t9mDEyOHgRQmn9u7n4DYkCDC4E= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=mxrT7G5N; spf=pass (imf14.hostedemail.com: domain of rick.p.edgecombe@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=rick.p.edgecombe@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1670027825; a=rsa-sha256; cv=none; b=YTS4YTlqZPNKyFa7ECotq7YTo3LTCUBWxmVs6dQBFh7p5M2PT/G1iranrDFNgYxAqN6Vfj oR+G8kAeB8atMluG70L/dHijyWKyxCwTkK5irUCTanfnhw+hCCaFOlXwyPmqxQ29lpjVP8 cNHmy+sSwgQHa+bDh0vu3Ff8TrSFpIo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670027825; x=1701563825; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=1FbLmykB0ip+0YSpvmtMRXYiZF0PQna5zAJx/OBtUAc=; b=mxrT7G5N8iT1qFKNEPSiSpcanW9rApBmRdhvYTB5H2PmJaxGQPw289UD NdwGc22TF3L2t19ExmYQbySCuSgd8aE09x/g68fEJYapvbpkJzzxZqyTm b1rt5Sm0Jo/9ysFhVFPhySVNIo++NPYdKnB/ynjSvv90o0Ywr/tQ4OAhz S1StBNgqQ3xOdnTYAT+71CHI90GJC8n2spoeTDePSOmLh311h7olvpLnY kCmuwWAb15VHsVjmugjYPij6Sdcb7M9J0MgmNJARRjZP51vNXd8HDi/Ml oZcMPUJ4g2BdlYRvrJKOkBwmnoRunoZeaX9sVYEvtfyhgu/8mdzMIvv/X A==; X-IronPort-AV: E=McAfee;i="6500,9779,10549"; a="313710995" X-IronPort-AV: E=Sophos;i="5.96,213,1665471600"; d="scan'208";a="313710995" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 16:37:04 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10549"; a="787479865" X-IronPort-AV: E=Sophos;i="5.96,213,1665471600"; d="scan'208";a="787479865" Received: from bgordon1-mobl1.amr.corp.intel.com (HELO rpedgeco-desk.amr.corp.intel.com) ([10.212.211.211]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 16:37:02 -0800 From: Rick Edgecombe <rick.p.edgecombe@intel.com> To: x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Andy Lutomirski <luto@kernel.org>, Balbir Singh <bsingharora@gmail.com>, Borislav Petkov <bp@alien8.de>, Cyrill Gorcunov <gorcunov@gmail.com>, Dave Hansen <dave.hansen@linux.intel.com>, Eugene Syromiatnikov <esyr@redhat.com>, Florian Weimer <fweimer@redhat.com>, "H . J . Lu" <hjl.tools@gmail.com>, Jann Horn <jannh@google.com>, Jonathan Corbet <corbet@lwn.net>, Kees Cook <keescook@chromium.org>, Mike Kravetz <mike.kravetz@oracle.com>, Nadav Amit <nadav.amit@gmail.com>, Oleg Nesterov <oleg@redhat.com>, Pavel Machek <pavel@ucw.cz>, Peter Zijlstra <peterz@infradead.org>, Randy Dunlap <rdunlap@infradead.org>, Weijiang Yang <weijiang.yang@intel.com>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, John Allen <john.allen@amd.com>, kcc@google.com, eranian@google.com, rppt@kernel.org, jamorris@linux.microsoft.com, dethoma@microsoft.com, akpm@linux-foundation.org, Andrew.Cooper3@citrix.com, christina.schimpe@intel.com Cc: rick.p.edgecombe@intel.com, Yu-cheng Yu <yu-cheng.yu@intel.com>, Peter Xu <peterx@redhat.com> Subject: [PATCH v4 14/39] mm: Move VM_UFFD_MINOR_BIT from 37 to 38 Date: Fri, 2 Dec 2022 16:35:41 -0800 Message-Id: <20221203003606.6838-15-rick.p.edgecombe@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221203003606.6838-1-rick.p.edgecombe@intel.com> References: <20221203003606.6838-1-rick.p.edgecombe@intel.com> X-Stat-Signature: u7rmqhadmm6z3oj9cyktwomu3ttgxxgf X-Rspam-User: X-Spamd-Result: default: False [-3.39 / 9.00]; BAYES_HAM(-5.99)[99.98%]; SUSPICIOUS_RECIPS(1.50)[]; SUBJECT_HAS_UNDERSCORES(1.00)[]; MID_CONTAINS_FROM(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[intel.com,none]; R_SPF_ALLOW(-0.20)[+ip4:192.55.52.93/32:c]; R_DKIM_ALLOW(-0.20)[intel.com:s=Intel]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWELVE(0.00)[41]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[intel.com:+]; TO_DN_SOME(0.00)[]; ARC_SIGNED(0.00)[hostedemail.com:s=arc-20220608:i=1]; TAGGED_RCPT(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 54BF0100006 X-Rspamd-Server: rspam06 X-HE-Tag: 1670027825-818862 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Shadow stacks for userspace
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index bfac5a166cb8..9ae6bc38d0b7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -354,7 +354,7 @@ extern unsigned int kobjsize(const void *objp); #endif #ifdef CONFIG_HAVE_ARCH_USERFAULTFD_MINOR -# define VM_UFFD_MINOR_BIT 37 +# define VM_UFFD_MINOR_BIT 38 # define VM_UFFD_MINOR BIT(VM_UFFD_MINOR_BIT) /* UFFD minor faults */ #else /* !CONFIG_HAVE_ARCH_USERFAULTFD_MINOR */ # define VM_UFFD_MINOR VM_NONE