summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/memmap.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2018-03-19 18:09:27 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2018-04-02 20:15:30 +0200
commite530dca584a9aa4aedf26adf0ed3c1c9b80e2767 (patch)
tree2ca93ae3fa0684ec65da2d72084032b8a29c1cb0 /drivers/firmware/memmap.c
parent6203deb0a76f35b6dc476fecb228c850099a1bc4 (diff)
downloadlinux-e530dca584a9aa4aedf26adf0ed3c1c9b80e2767.tar.gz
linux-e530dca584a9aa4aedf26adf0ed3c1c9b80e2767.tar.bz2
linux-e530dca584a9aa4aedf26adf0ed3c1c9b80e2767.zip
kernel: provide ksys_*() wrappers for syscalls called by kernel/uid16.c
Using these helpers allows us to avoid the in-kernel calls to these syscalls: sys_setregid(), sys_setgid(), sys_setreuid(), sys_setuid(), sys_setresuid(), sys_setresgid(), sys_setfsuid(), and sys_setfsgid(). The ksys_ prefix denotes that these function are meant as a drop-in replacement for the syscall. In particular, they use the same calling convention. 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> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/firmware/memmap.c')
0 files changed, 0 insertions, 0 deletions