ladybird/Userland/Libraries/LibCore
Gunnar Beutner 07341c3594 LibCore: Close accepted sockets on exec() and make them non-blocking
Previously accept() would copy the listener socket's cloexec and
non-blocking flag. With that fixed however TCPServer and LocalServer
now leak file descriptors into child processes and are blocking.
2021-05-17 13:32:19 +02:00
..
Account.cpp LibCore: Call setgrent before looping on groups in get_extra_gids 2021-05-05 15:12:30 +01:00
Account.h LibCore: Fix building the library on macOS 2021-05-01 15:56:16 +02:00
AnonymousBuffer.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
AnonymousBuffer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ArgsParser.cpp LibCore: Use Vector instead of VLA in ArgsParser::parse() 2021-05-16 21:58:14 +01:00
ArgsParser.h LibCore: Support Vector<String> positional arguments 2021-04-29 11:10:06 +02:00
CMakeLists.txt AK+LibCore: Remove empty files 2021-03-12 17:38:17 +01:00
Command.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
Command.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ConfigFile.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
ConfigFile.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
DateTime.cpp LibCore: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:08 +02:00
DateTime.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DirIterator.cpp LibCore: Expose DirIterator's underlying file descriptor 2021-05-14 23:32:10 +02:00
DirIterator.h LibCore: Expose DirIterator's underlying file descriptor 2021-05-14 23:32:10 +02:00
ElapsedTimer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ElapsedTimer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventLoop.cpp LibCore: Never connect to InspectorServer if getuid() == 0 2021-05-14 22:12:52 +02:00
EventLoop.h LibCore+Inspector: Reverse the direction of Inspector connections 2021-05-13 23:28:40 +02:00
File.cpp LibCore: Open files with O_CLOEXEC by default 2021-05-17 13:32:19 +02:00
File.h LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
FileStream.h LibCore+Everywhere: Move SeekMode out of IODevice 2021-05-12 11:00:45 +01:00
FileWatcher.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
FileWatcher.h Userland+LibCore: Update FileWatcher + its users for InodeWatcher 2.0 2021-05-12 22:38:20 +02:00
Forward.h LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
GetPassword.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GetPassword.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
IODevice.cpp AK+Userland: Remove nullability feature for the ByteBuffer type 2021-05-16 17:49:42 +02:00
IODevice.h LibCore: Open files with O_CLOEXEC by default 2021-05-17 13:32:19 +02:00
IODeviceStreamReader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LocalServer.cpp LibCore: Close accepted sockets on exec() and make them non-blocking 2021-05-17 13:32:19 +02:00
LocalServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LocalSocket.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LocalSocket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MimeData.cpp AK+Userland: Fix some compiler warnings and make variables const-ref 2021-05-16 17:49:42 +02:00
MimeData.h LibCore: Implement basic mime type guessing based on binary patterns 2021-05-07 11:46:53 +01:00
NetworkJob.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkJob.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkResponse.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkResponse.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notifier.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Object.cpp LibCore+Inspector: Reverse the direction of Inspector connections 2021-05-13 23:28:40 +02:00
Object.h LibCore+Inspector: Reverse the direction of Inspector connections 2021-05-13 23:28:40 +02:00
ProcessStatisticsReader.cpp LibCore+Everywhere: Move SeekMode out of IODevice 2021-05-12 11:00:45 +01:00
ProcessStatisticsReader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Property.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Property.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Socket.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Socket.h LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
SocketAddress.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StandardPaths.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StandardPaths.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TCPServer.cpp LibCore: Close accepted sockets on exec() and make them non-blocking 2021-05-17 13:32:19 +02:00
TCPServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TCPSocket.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
TCPSocket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Timer.cpp LibCore: Add unit to Core::Timer interval arguments 2021-05-12 22:38:20 +02:00
Timer.h LibCore: Add unit to Core::Timer interval arguments 2021-05-12 22:38:20 +02:00
UDPServer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
UDPSocket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00