1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00
serenity/Kernel/Net
Brian Gianforcaro 9a04f53a0f Kernel: Utilize AK::Userspace<T> in the ioctl interface
It's easy to forget the responsibility of validating and safely copying
kernel parameters in code that is far away from syscalls. ioctl's are
one such example, and bugs there are just as dangerous as at the root
syscall level.

To avoid this case, utilize the AK::Userspace<T> template in the ioctl
kernel interface so that implementors have no choice but to properly
validate and copy ioctl pointer arguments.
2021-07-27 01:23:37 +04:30
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000ENetworkAdapter.cpp Kernel: Remove unused header includes in Net subtree 2021-07-11 21:37:38 +02:00
E1000ENetworkAdapter.h Kernel: Make NetworkAdapter::class_name() return a StringView 2021-07-11 17:59:38 +02:00
E1000NetworkAdapter.cpp Kernel/E1000: Consolidate RX and TX buffer regions 2021-07-19 02:16:24 +02:00
E1000NetworkAdapter.h Kernel/E1000: Consolidate RX and TX buffer regions 2021-07-19 02:16:24 +02:00
EthernetFrameHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EtherType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ICMP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IPv4.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IPv4Socket.cpp Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
IPv4Socket.h Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
IPv4SocketTuple.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
LocalSocket.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
LocalSocket.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
LoopbackAdapter.cpp Kernel: LoopbackAdapter::create() => try_create() 2021-07-11 18:00:31 +02:00
LoopbackAdapter.h Kernel: LoopbackAdapter::create() => try_create() 2021-07-11 18:00:31 +02:00
NE2000NetworkAdapter.cpp Kernel/NE2000: Harvest entropy from NE2000 interrupts 2021-07-24 21:28:22 +02:00
NE2000NetworkAdapter.h Kernel/NE2000: Assume link status is up 2021-07-24 21:28:22 +02:00
NetworkAdapter.cpp Kernel: Remove unused header includes in Net subtree 2021-07-11 21:37:38 +02:00
NetworkAdapter.h Kernel: Make NetworkAdapter::class_name() return a StringView 2021-07-11 17:59:38 +02:00
NetworkingManagement.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
NetworkingManagement.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
NetworkTask.cpp Utilities: Support static assignment of the ARP table 2021-07-25 17:57:08 +02:00
NetworkTask.h Kernel: Avoid deadlock when trying to send packets from the NetworkTask 2021-04-30 23:11:56 +02:00
Routing.cpp Kernel: Add update option to remove an entry from the ARP table 2021-07-25 17:57:08 +02:00
Routing.h Kernel: Add update option to remove an entry from the ARP table 2021-07-25 17:57:08 +02:00
RTL8139NetworkAdapter.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
RTL8139NetworkAdapter.h Kernel: Make NetworkAdapter::class_name() return a StringView 2021-07-11 17:59:38 +02:00
RTL8168NetworkAdapter.cpp Kernel: Fix incorrect format template 2021-07-22 08:57:01 +02:00
RTL8168NetworkAdapter.h Kernel: Make NetworkAdapter::class_name() return a StringView 2021-07-11 17:59:38 +02:00
Socket.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
Socket.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
TCP.h Kernel: Set MSS option for outbound TCP SYN packets 2021-05-12 13:47:07 +02:00
TCPSocket.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
TCPSocket.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
UDPSocket.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00