]> Git Repo - linux.git/commit - fs/statfs.c
kernel: add kcompat_sys_{f,}statfs64()
authorMark Rutland <[email protected]>
Wed, 11 Jul 2018 13:56:51 +0000 (14:56 +0100)
committerWill Deacon <[email protected]>
Thu, 12 Jul 2018 13:49:48 +0000 (14:49 +0100)
commit9b54bf9d6a5b30e2cc22b18793e9a4158c5b4882
tree2239cebf690d0e02e630567eec999229d27e74cf
parentbf1c77b4644f46d2986b7ca5e43e012f0fc8984b
kernel: add kcompat_sys_{f,}statfs64()

Using this helper allows us to avoid the in-kernel calls to the
compat_sys_{f,}statfs64() sycalls, as are necessary for parameter
mangling in arm64's compat handling.

Following the example of ksys_* functions, kcompat_sys_* functions are
intended to be a drop-in replacement for their compat_sys_*
counterparts, with the same calling convention.

This is necessary to enable conversion of arm64's syscall handling to
use pt_regs wrappers.

Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Dominik Brodowski <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
Signed-off-by: Will Deacon <[email protected]>
fs/statfs.c
include/linux/compat.h
This page took 0.053099 seconds and 4 git commands to generate.