[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mhng-ffb01b1d-16c2-4998-8434-99f1cae575bd@palmerdabbelt-glaptop1>
Date: Sun, 26 Jul 2020 10:44:48 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: rppt@...nel.org
CC: linux-kernel@...r.kernel.org, viro@...iv.linux.org.uk,
akpm@...ux-foundation.org, luto@...nel.org,
Arnd Bergmann <arnd@...db.de>, bp@...en8.de,
catalin.marinas@....com, cl@...ux.com, dan.j.williams@...el.com,
dave.hansen@...ux.intel.com, elena.reshetova@...el.com,
hpa@...or.com, idan.yaniv@....com, mingo@...hat.com,
jejb@...ux.ibm.com, kirill@...temov.name, willy@...radead.org,
rppt@...ux.ibm.com, rppt@...nel.org,
Paul Walmsley <paul.walmsley@...ive.com>, peterz@...radead.org,
tglx@...utronix.de, tycho@...ho.ws, will@...nel.org,
linux-api@...r.kernel.org, linux-arch@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-nvdimm@...ts.01.org, linux-riscv@...ts.infradead.org,
x86@...nel.org
Subject: Re: [PATCH 4/6] arch, mm: wire up secretmemfd system call were relevant
On Mon, 20 Jul 2020 02:24:33 PDT (-0700), rppt@...nel.org wrote:
> From: Mike Rapoport <rppt@...ux.ibm.com>
>
> Wire up secretmemfd system call on architectures that define
> ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86.
>
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
> ---
> arch/arm64/include/asm/unistd32.h | 2 ++
> arch/arm64/include/uapi/asm/unistd.h | 1 +
> arch/riscv/include/asm/unistd.h | 1 +
> arch/x86/entry/syscalls/syscall_32.tbl | 1 +
> arch/x86/entry/syscalls/syscall_64.tbl | 1 +
> include/linux/syscalls.h | 1 +
> include/uapi/asm-generic/unistd.h | 7 ++++++-
> 7 files changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/arch/riscv/include/asm/unistd.h b/arch/riscv/include/asm/unistd.h
> index 977ee6181dab..9e47d9aed5eb 100644
> --- a/arch/riscv/include/asm/unistd.h
> +++ b/arch/riscv/include/asm/unistd.h
> @@ -9,6 +9,7 @@
> */
>
> #define __ARCH_WANT_SYS_CLONE
> +#define __ARCH_WANT_SECRETMEMFD
>
> #include <uapi/asm/unistd.h>
Acked-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
Powered by blists - more mailing lists