Re: [RFC PATCH 13/35] syscalls: do not call sys_ioperm() within the kernel

From: Greg Kroah-Hartman
Date: Thu Mar 15 2018 - 12:43:33 EST


On Sun, Mar 11, 2018 at 11:55:35AM +0100, Dominik Brodowski wrote:
> While at it, use SYSCALL_DEFINE3() instead of a hand-crafted syscall
> definition.
>
> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> CC: Ingo Molnar <mingo@xxxxxxxxxx>
> CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> CC: Jiri Slaby <jslaby@xxxxxxxx>
> CC: x86@xxxxxxxxxx
> Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/syscalls.h | 1 +
> arch/x86/kernel/ioport.c | 7 ++++++-
> drivers/tty/vt/vt_ioctl.c | 6 +++---
> 3 files changed, 10 insertions(+), 4 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>