diff options
author | Dominik Brodowski <[email protected]> | 2018-03-19 18:09:27 +0100 |
---|---|---|
committer | Dominik Brodowski <[email protected]> | 2018-04-02 20:15:30 +0200 |
commit | e530dca584a9aa4aedf26adf0ed3c1c9b80e2767 (patch) | |
tree | 2ca93ae3fa0684ec65da2d72084032b8a29c1cb0 /lib/mpi/mpicoder.c | |
parent | 6203deb0a76f35b6dc476fecb228c850099a1bc4 (diff) |
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/[email protected]
Cc: Al Viro <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions