]> Git Repo - linux.git/commit - init/do_mounts_rd.c
fs: add ksys_ioctl() helper; remove in-kernel calls to sys_ioctl()
authorDominik Brodowski <[email protected]>
Tue, 13 Mar 2018 20:43:59 +0000 (21:43 +0100)
committerDominik Brodowski <[email protected]>
Mon, 2 Apr 2018 18:16:03 +0000 (20:16 +0200)
commitcbb60b924b9f3e4d7c67a1c9dcf981718f926e4e
treef3952696484e55feb05b862849d15740b87183a8
parent454dab3f965ec24fda8fbe135c8dad4c5b238a86
fs: add ksys_ioctl() helper; remove in-kernel calls to sys_ioctl()

Using this helper allows us to avoid the in-kernel calls to the
sys_ioctl() syscall. The ksys_ prefix denotes that this function
is meant as a drop-in replacement for the syscall. In particular, it
uses the same calling convention as sys_ioctl().

After careful review, at least some of these calls could be converted
to do_vfs_ioctl() in future.

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[email protected]

Cc: Alexander Viro <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
fs/ioctl.c
include/linux/syscalls.h
init/do_mounts.c
init/do_mounts_initrd.c
init/do_mounts_md.c
init/do_mounts_rd.c
This page took 0.054829 seconds and 4 git commands to generate.