diff options
author | Dominik Brodowski <[email protected]> | 2018-03-11 11:34:55 +0100 |
---|---|---|
committer | Dominik Brodowski <[email protected]> | 2018-04-02 20:15:59 +0200 |
commit | 55731b3cda3a85ee888dac3bf1f36489f275c187 (patch) | |
tree | a322dc9efdd89932a35b294d221f90eccad45f23 /lib/string_helpers.c | |
parent | cbfe20f565228966f0249f016752437df95df679 (diff) |
fs: add do_fchownat(), ksys_fchown() helpers and ksys_{,l}chown() wrappers
Using the fs-interal do_fchownat() wrapper allows us to get rid of
fs-internal calls to the sys_fchownat() syscall.
Introducing the ksys_fchown() helper and the ksys_{,}chown() wrappers
allows us to avoid the in-kernel calls to the sys_{,l,f}chown() syscalls.
The ksys_ prefix denotes that these functions are meant as a drop-in
replacement for the syscalls. In particular, they use the same calling
convention as sys_{,l,f}chown().
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: Andrew Morton <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions