Re: [PATCH v3 5/5] m68k: add __IGNORE* entries in asm/unistd.h
From: Arnd Bergmann
Date: Mon Oct 01 2018 - 08:52:22 EST
On Mon, Oct 1, 2018 at 2:39 PM Firoz Khan <firoz.khan@xxxxxxxxxx> wrote:
>
> Add __IGNORE* entries for seccomp, pkey_mprotect, pkey_
> alloc, pkey_free, io_pgetevents and rseq in the file
> asm/unistd.h as it is correct to keep __IGNORE* entry in
> non uapi header asm/unistd.h while uapi/asm/unistd.h must
> hold information only useful for user space applications.
>
> Signed-off-by: Firoz Khan <firoz.khan@xxxxxxxxxx>
> ---
> arch/m68k/include/asm/unistd.h | 7 +++++++
> 1 file changed, 7 insertions(+)
I think this one needs to be dropped, as I commented on a similar patch for
another architecture (I forget which one). We really should implemente all
the syscalls below, with the possible exception of the pkey calls.
Note that we even list pkey_* in architectures that don't support the feature.
See also the commit text for a60f7b69d92c ("generic syscalls: Wire up
memory protection keys syscalls")
Arnd