On 2022-05-05 at 10:18:15 +0200, Tobias Klauser <tklauser@xxxxxxxxxx> wrote: > Move the __ARCH_WANT_MEMFD_SECRET define added in commit 7bb7f2ac24a0 > ("arch, mm: wire up memfd_secret system call where relevant") to > <uapi/asm/unistd.h> so __NR_memfd_secret is defined when including > <unistd.h> in userspace. > > This allows the memds_secret selftest to pass on riscv. ^- this should say memfd_secret I can fix it up in a v2 if needed.