net: socket: add __compat_sys_getsockopt() helper; remove in-kernel call to compat...
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 16 Mar 2018 16:01:41 +0000 (17:01 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:19 +0000 (20:15 +0200)
commit8770cf4a5858c4f7c109a3e47dfd3715fda45f2c
treea259a3ad0db09900e7a49c2dba777cdff1b31f8a
parent73ee3eafd5d1037af9762d28d17611bcf64834d6
net: socket: add __compat_sys_getsockopt() helper; remove in-kernel call to compat syscall

Using the net-internal helper __compat_sys_getsockopt() allows us to avoid
the internal calls to the compat_sys_getsockopt() syscall.

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.GA17492@light.dominikbrodowski.net

Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
net/compat.c