aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2018-03-25 14:18:18 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2018-04-02 14:16:17 -0400
commit0621150d4a4e17ca6c104ec6e6bcfe6127b33c90 (patch)
tree2ec500ebdbb0cd49843c1035f2adae189e6430a3
parent3c1c456f9b96c208c9dc9ad7aa3be36b8d488504 (diff)
net: remove compat_sys_*() prototypes from net/compat.h
As the syscall functions should only be called from the system call table but not from elsewhere in the kernel, it is sufficient that they are defined in linux/compat.h. Cc: David S. Miller <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
-rw-r--r--include/net/compat.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/compat.h b/include/net/compat.h
index a91bea80b9fc..4c6d75612b6c 100644
--- a/include/net/compat.h
+++ b/include/net/compat.h
@@ -44,17 +44,6 @@ int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
44int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, 44int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *,
45 struct sockaddr __user **, struct iovec **); 45 struct sockaddr __user **, struct iovec **);
46struct sock_fprog __user *get_compat_bpf_fprog(char __user *optval); 46struct sock_fprog __user *get_compat_bpf_fprog(char __user *optval);
47asmlinkage long compat_sys_sendmsg(int, struct compat_msghdr __user *,
48 unsigned int);
49asmlinkage long compat_sys_sendmmsg(int, struct compat_mmsghdr __user *,
50 unsigned int, unsigned int);
51asmlinkage long compat_sys_recvmsg(int, struct compat_msghdr __user *,
52 unsigned int);
53asmlinkage long compat_sys_recvmmsg(int, struct compat_mmsghdr __user *,
54 unsigned int, unsigned int,
55 struct compat_timespec __user *);
56asmlinkage long compat_sys_getsockopt(int, int, int, char __user *,
57 int __user *);
58int put_cmsg_compat(struct msghdr*, int, int, int, void *); 47int put_cmsg_compat(struct msghdr*, int, int, int, void *);
59 48
60int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *, 49int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,