ladybird/Kernel/Net
Ben Wiederhake c05c5a7ff4 Kernel: Clarify ambiguous {File,Description}::absolute_path
Found due to smelly code in InodeFile::absolute_path.

In particular, this replaces the following misleading methods:

File::absolute_path
This method *never* returns an actual path, and if called on an
InodeFile (which is impossible), it would VERIFY_NOT_REACHED().

OpenFileDescription::try_serialize_absolute_path
OpenFileDescription::absolute_path
These methods do not guarantee to return an actual path (just like the
other method), and just like Custody::absolute_path they do not
guarantee accuracy. In particular, just renaming the method made a
TOCTOU bug obvious.

The new method signatures use KResultOr, just like
try_serialize_absolute_path() already did.
2021-10-31 12:06:28 +01:00
..
ARP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
E1000ENetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000ENetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
E1000NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07: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 Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
IPv4.h Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
IPv4Socket.cpp Kernel: Clarify ambiguous {File,Description}::absolute_path 2021-10-31 12:06:28 +01:00
IPv4Socket.h Kernel: Clarify ambiguous {File,Description}::absolute_path 2021-10-31 12:06:28 +01:00
IPv4SocketTuple.h Kernel: Make IPv4SocketTuple operator== by reference 2021-09-16 17:17:13 +02:00
LocalSocket.cpp Kernel: Clarify ambiguous {File,Description}::absolute_path 2021-10-31 12:06:28 +01:00
LocalSocket.h Kernel: Clarify ambiguous {File,Description}::absolute_path 2021-10-31 12:06:28 +01:00
LoopbackAdapter.cpp Kernel: Convert network adapter names to Kernel::KString 2021-10-01 17:22:17 +00:00
LoopbackAdapter.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00
NE2000NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NE2000NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NetworkAdapter.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkAdapter.h Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
NetworkingManagement.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NetworkingManagement.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
NetworkTask.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +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: Improve names in the ARP table thread blocker 2021-09-05 01:10:56 +02:00
Routing.h Kernel: Convert Routing to east-const style 2021-09-03 23:18:50 +02:00
RTL8139NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8139NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8168NetworkAdapter.cpp Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
RTL8168NetworkAdapter.h Kernel/Net: Generate interface name near construction point 2021-10-18 12:25:56 -07:00
Socket.cpp Kernel: Convert network adapter names to Kernel::KString 2021-10-01 17:22:17 +00:00
Socket.h Kernel: Clarify ambiguous {File,Description}::absolute_path 2021-10-31 12:06:28 +01:00
TCP.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
TCPSocket.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
TCPSocket.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00
UDP.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp Kernel+LibC: Add support for the IPv4 TOS field via the IP_TOS sockopt 2021-10-28 11:24:36 +02:00
UDPSocket.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00