diff options
author | Dominik Brodowski <[email protected]> | 2018-03-13 20:35:57 +0100 |
---|---|---|
committer | Dominik Brodowski <[email protected]> | 2018-04-02 20:15:15 +0200 |
commit | e1834a329d6bb5659c14e9e537bd1f750fe3b85e (patch) | |
tree | d47326548c1db4840cefb1d4e5341df49dabdef6 /lib/mpi/mpi-bit.c | |
parent | 1255e2690689ba5b72814c8df7bfd9ecf50175aa (diff) |
net: socket: move check for forbid_cmsg_compat to __sys_...msg()
The non-compat codepaths for sys_...msg() verify that MSG_CMSG_COMPAT
is not set. By moving this check to the __sys_...msg() functions
(and making it dependent on a static flag passed to this function), we
can call the __sys...msg() functions instead of the syscall functions
in all cases. __sys_recvmmsg() does not need this trickery, as the
check is handled within the do_sys_recvmmsg() function internal to
net/socket.c.
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: David S. Miller <[email protected]>
Cc: [email protected]
Signed-off-by: Dominik Brodowski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions