kernel: add do_getpgid() helper; remove internal call to sys_getpgid()
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 11 Mar 2018 10:34:27 +0000 (11:34 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:28 +0000 (20:15 +0200)
commit192c58073d9abb1c507c89f109da5dc9f130ba70
tree7caae216139ce684ded7ec6a7833bd085e5fd45c
parent31c213f2106b7ea06f7fdc94ef8b785ed5342cf7
kernel: add do_getpgid() helper; remove internal call to sys_getpgid()

Using the do_getpgid() helper removes an in-kernel call to the
sys_getpgid() syscall.

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
kernel/sys.c