summaryrefslogtreecommitdiff
path: root/Kernel/Net/IPv4Socket.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-07 00:18:20 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-07 16:18:36 +0200
commit6920d5f4230ebcd4f1d29dc5d9288cf79861906f (patch)
tree823a2dc3d061f4ef9d4dbf5478004d99cf8d5dc6 /Kernel/Net/IPv4Socket.h
parent9f685ac30a4bc2ec55e581b5779e4a9c7172f1d1 (diff)
downloadserenity-6920d5f4230ebcd4f1d29dc5d9288cf79861906f.zip
Kernel: Use Userspace<T> for the setsockopt syscall
Diffstat (limited to 'Kernel/Net/IPv4Socket.h')
-rw-r--r--Kernel/Net/IPv4Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/IPv4Socket.h b/Kernel/Net/IPv4Socket.h
index 4b22dc97b8..28b4c07500 100644
--- a/Kernel/Net/IPv4Socket.h
+++ b/Kernel/Net/IPv4Socket.h
@@ -60,7 +60,7 @@ public:
virtual bool can_write(const FileDescription&, size_t) const override;
virtual KResultOr<size_t> sendto(FileDescription&, const void*, size_t, int, const sockaddr*, socklen_t) override;
virtual KResultOr<size_t> recvfrom(FileDescription&, void*, size_t, int flags, sockaddr*, socklen_t*) override;
- virtual KResult setsockopt(int level, int option, const void*, socklen_t) override;
+ virtual KResult setsockopt(int level, int option, Userspace<const void*>, socklen_t) override;
virtual KResult getsockopt(FileDescription&, int level, int option, void*, socklen_t*) override;
virtual int ioctl(FileDescription&, unsigned request, FlatPtr arg) override;