Re: [PATCH] generic syscalls: kill cruft from removed pkey syscalls

From: Arnd Bergmann
Date: Mon Oct 17 2016 - 11:38:07 EST


On Monday, October 17, 2016 8:18:15 AM CEST Dave Hansen wrote:
>
> pkey_set() and pkey_get() were syscalls present in older versions
> of the protection keys patches. They were fully excised from the
> x86 code, but some cruft was left in the generic syscall code. The
> C++ comments were intended to help to make it more glaring to me to
> fix them before actually submitting them. That technique worked,
> but later than I would have liked.
>
> I test-compiled this for arm64.
>
> Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: linux-arch@xxxxxxxxxxxxxxx
> Cc: mgorman@xxxxxxxxxxxxxxxxxxx
> Cc: linux-api@xxxxxxxxxxxxxxx
> Cc: linux-mm@xxxxxxxxx
> Cc: luto@xxxxxxxxxx
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx
> Cc: torvalds@xxxxxxxxxxxxxxxxxxxx
> Fixes: a60f7b69d92c0 ("generic syscalls: Wire up memory protection keys syscalls")

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>