Message ID | 20240903151437.1002990-3-vincenzo.frascino@arm.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 41891CD342A for <linux-mm@archiver.kernel.org>; Tue, 3 Sep 2024 15:15:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B201E8D0191; Tue, 3 Sep 2024 11:15:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AD0A68D016E; Tue, 3 Sep 2024 11:15:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 997228D0191; Tue, 3 Sep 2024 11:15:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 7BF958D016E for <linux-mm@kvack.org>; Tue, 3 Sep 2024 11:15:03 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 35089C02E4 for <linux-mm@kvack.org>; Tue, 3 Sep 2024 15:15:03 +0000 (UTC) X-FDA: 82523774886.12.866E3E2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf12.hostedemail.com (Postfix) with ESMTP id 8241540013 for <linux-mm@kvack.org>; Tue, 3 Sep 2024 15:15:01 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=none; spf=pass (imf12.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com; dmarc=pass (policy=none) header.from=arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725376406; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dyrFQn1IHO6P3qtvTV+7BOKE3DwB1hqbcpjwjJ/hKVc=; b=WaJX2lo2r5FjDSwz/+OOUHcyN7sMnDfQVy7SOiEKvVaI/J6Ixf59iJfw0HP9YAXet5tKAK 32ZxHxxsMfZVZt2a3K78ZVQ7tFthXsh/BPLAcwP7MY1QyGt/GKOkBjacdYHbOxwRPTNQPv Vw6t2wsmxg3kWl49bQVYJwSfzEyDcxw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1725376406; a=rsa-sha256; cv=none; b=im5cE6YnAxPiQxS82ByT+yf5q8BnGc4Lz6q5SKRa/vW5iTSFt1O8BWCjR5vczbp8qaMkJG iboNbU6XacvNz4n3VfSaomPsFWBjIm99aVjEtvVFzO1itj+MH4GxN7Gzf7kn1QfXDg9Xrs 4t8Z07yu5mcp4MhrTsK+Gk9TZn9Hj54= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none; spf=pass (imf12.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com; dmarc=pass (policy=none) header.from=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 496971424; Tue, 3 Sep 2024 08:15:27 -0700 (PDT) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E8CFF3F66E; Tue, 3 Sep 2024 08:14:57 -0700 (PDT) From: Vincenzo Frascino <vincenzo.frascino@arm.com> To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, "Jason A . Donenfeld" <Jason@zx2c4.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Naveen N Rao <naveen@kernel.org>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H . Peter Anvin" <hpa@zytor.com>, Theodore Ts'o <tytso@mit.edu>, Arnd Bergmann <arnd@arndb.de>, Andrew Morton <akpm@linux-foundation.org>, Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Subject: [PATCH 2/9] vdso: Introduce vdso/mman.h Date: Tue, 3 Sep 2024 16:14:30 +0100 Message-Id: <20240903151437.1002990-3-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240903151437.1002990-1-vincenzo.frascino@arm.com> References: <20240903151437.1002990-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Stat-Signature: weknfwitrrk79phajismk5q81xm4brr5 X-Rspamd-Queue-Id: 8241540013 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1725376501-711092 X-HE-Meta: U2FsdGVkX1/os14jIDPthpD9nb138fhiFiMLTynFuFbPe4rNQ539ZficyjcrDdIx6Xjfn61cxv0MoPa/OSLKGIUZ9CHtETopc8f4l4bVInFzb/KO2Y6i9Yz6ROa9+b/+nKO1Ex73qa3T4K40CEpz1hNVAZMjDIdAe53eSr8Es998msGYSbZQSCMttJSVjyg9JGGQGlKE23BiLmu0mkzBO3pwmG9XSPQ+72hDAYdEreCsgWgvW50s0JiNOQTXXXoQdyQN/D5dyN256enh1giWZ2Pu0LX8V5T66N8gHaTKLedeqY0sno3ibsm4G3n7Rdnh7X+gYBeRVLUI49v2BMrFySquGitxnDxyqBPKewmX5nuhowTFB6dfWZEQ+ywgTAE6mXhyKVvHRSBtLQp0k/NuaMd2O3KcOKYXGjB7P2KZ8uNvBIegehWkFo1ILifQX1FMsEnsnjRjy3zUTCi3tL+eY5f7guezaoS7LTADurhS1nSRUVTy+vWdTNoHesI428IjLI0C3czi34rgb+7kRrI90sQr2a2PyZxsgfp4GmD1La97oFuvZ/MOnV4oldIqI3XuDHMifjznrOJ9uuj8HbOudyLg7XKo7iz7xUVoOgW/SXh1DDIX8TZUGBuNryVqmD3/OEidqLf1wT7x7WZKbH8vLUkn6v35S7P+sQm2Cn0xU+8YtBsdr0nTD1Ae5eVze4/MyjmJOpi9lJHXQJAboNlllCBSycDUveU/s0ZW8xQgqbXd0c9yEdt71ixq6TOmWX47HwKcxh1+M+jFZXb/K73kB0G0xnqdFSQIUOYzkmM21TWvYVsX6UQEjNQ0KXxYEYXSegUdTk84V/dYgqMDCKk8L55IMOsfpWn29KLeYbierQzkCbUQ+7PsxJH1rNMDKyZjXgbWEEdXsx5Y3mla6i4XraZiekSduyPne2yQi4hkAeZI/QIyMh+x9ZgNkhGb+qYj3Fcxz7OnFLjpfyJV5+A FXabxFSr ZzIOxt9TKZEvdfgzQ2i+C7Du22LJrWUzOwhXx/3CcQ3EY/wTey0X7e3eh5WyA0MxzkJ5IEZVfJ9YO6tF1VBf5vYho+mk8/vbKz/4+5hAVHYsMaevr4qWCxJ1T6oiDntoJrnvpTNRtIw8yv6GZOMuwYxgc617u8mV3uRki9KT3aOcrSSzgyHY9F3JtLv8ve+FXIohdfaqUPd1+rwPfU2CrsIN5tcneSHNIstep4+3+3MuR72VLhs9T+vp7cY2FkAPQIQHBlhabMQ9aWZg= 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
vdso: Use only headers from the vdso/ namespace
|
expand
|
diff --git a/include/vdso/mman.h b/include/vdso/mman.h new file mode 100644 index 000000000000..95e3da714c64 --- /dev/null +++ b/include/vdso/mman.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_MMAN_H +#define __VDSO_MMAN_H + +#include <asm/vdso/mman.h> + +#endif /* __VDSO_MMAN_H */
The VDSO implementation includes headers from outside of the vdso/ namespace. Introduce vdso/mman.h to make sure that the generic library uses only the allowed namespace. Cc: Andy Lutomirski <luto@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> --- include/vdso/mman.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/vdso/mman.h