ladybird/Userland/Libraries/LibCore
Andrew Kaster a81475d9fb LibCore: Don't assume that the first address from getaddrinfo is IPv4
By passing AF_UNSPEC to getaddrinfo, we're telling the system's
implementation that we are ok getting either (or both) IPv4 and IPv6
addresses in our result. On my Ubuntu 22.04 system, the first addrinfo
returned for "www.google.com" holds an IPv6 address, which when
interpreted as an IPv4 sockaddr_in gives an address of 0.0.0.0.

This fixes TestTLSHandshake in Lagom locally.
2022-10-10 12:23:12 +02:00
..
Account.cpp SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
Account.h SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
AnonymousBuffer.cpp
AnonymousBuffer.h
ArgsParser.cpp LibCore: Add support for long integral types to ArgsParser 2022-07-21 16:37:04 +02:00
ArgsParser.h LibCore: Implement integral ArgsParser options through a template 2022-07-21 16:37:04 +02:00
CMakeLists.txt LibCore: Create Core::SessionManagement for session management 2022-10-03 11:11:29 +02:00
Command.cpp Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
Command.h
ConfigFile.cpp LibCore+LibConfig+ConfigServer: Add Config::{add,remove}_group() 2022-10-01 13:39:10 +03:30
ConfigFile.h LibCore+LibConfig+ConfigServer: Add Config::{add,remove}_group() 2022-10-01 13:39:10 +03:30
DateTime.cpp LibC+LibCore: Use tm_isdst to handle time zone offsets in DST 2022-08-02 21:10:44 +01:00
DateTime.h
Debounce.h LibCore: Add Core::debounce(function, timeout) 2022-07-19 11:10:02 +01:00
DeferredInvocationContext.h
Directory.cpp LibCore: Add Directory::chown() API and use it in Core::Account 2022-08-15 17:18:11 +02:00
Directory.h LibCore: Add Directory::chown() API and use it in Core::Account 2022-08-15 17:18:11 +02:00
DirIterator.cpp Userland: Consolidate most PATH resolving into a single implementation 2022-08-23 19:00:04 +01:00
DirIterator.h Userland: Consolidate most PATH resolving into a single implementation 2022-08-23 19:00:04 +01:00
ElapsedTimer.cpp
ElapsedTimer.h
Event.cpp
Event.h
EventLoop.cpp SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
EventLoop.h LibAudio: Prevent racy eternal deadlock of the audio enqueue thread 2022-07-22 19:35:41 +01:00
File.cpp Userland: Consolidate most PATH resolving into a single implementation 2022-08-23 19:00:04 +01:00
File.h LibCore: Actually tell people to stop using Core::File in new code 2022-09-20 07:48:45 -04:00
FilePermissionsMask.cpp LibCore: Implement four-digit modes for FilePermissionsMask parsing 2022-07-27 21:45:01 +00:00
FilePermissionsMask.h LibCore: Implement the 'X' modifier into FilePermissionMask 2022-07-27 21:45:01 +00:00
FileStream.h
FileWatcher.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
FileWatcher.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Forward.h
GetPassword.cpp
GetPassword.h
Group.cpp LibCore: Add support for compiling for Android with API Version >= 30 2022-07-19 10:44:02 +01:00
Group.h LibCore: Add support for compiling for Android with API Version >= 30 2022-07-19 10:44:02 +01:00
InputBitStream.h LibCore: Add LittleEndianInputBitStream 2022-05-21 22:41:40 +02:00
IODevice.cpp
IODevice.h
LocalServer.cpp SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
LocalServer.h
LockFile.cpp LibCore+Userland: Remove File::ensure_parent_directories 2022-04-11 00:08:48 +02:00
LockFile.h
MappedFile.cpp LibCore+LibGfx: Pass file-path as StringView 2022-06-14 23:00:52 +02:00
MappedFile.h LibCore+LibGfx: Pass file-path as StringView 2022-06-14 23:00:52 +02:00
MemoryStream.h Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
MimeData.cpp LibCore: Add MIME sniffing for MP3 and WAV 2022-08-16 13:58:51 +01:00
MimeData.h
NetworkJob.cpp
NetworkJob.h
NetworkResponse.h
Notifier.cpp
Notifier.h
Object.cpp
Object.h LibCore+LibGUI: Make it fast to check if a Core::Object is a Widget 2022-09-30 18:00:55 +02:00
Process.cpp Userland: Remove erroneous String -> char* -> StringView conversions 2022-07-12 23:11:35 +02:00
Process.h LibCore: Return ErrorOr<pid_t> and support arguments in Process::spawn 2022-05-25 23:14:22 +01:00
ProcessStatisticsReader.cpp LibCore: Make usernames optional in ProcessStatisticsReader 2022-10-03 11:11:29 +02:00
ProcessStatisticsReader.h LibCore: Make usernames optional in ProcessStatisticsReader 2022-10-03 11:11:29 +02:00
Promise.h
Property.cpp
Property.h
Proxy.h
SecretString.cpp
SecretString.h
SessionManagement.cpp LibCore: Create Core::SessionManagement for session management 2022-10-03 11:11:29 +02:00
SessionManagement.h LibCore: Create Core::SessionManagement for session management 2022-10-03 11:11:29 +02:00
SharedCircularQueue.h LibCore: Fix deadlock in SharedSingleProducerCircularQueue 2022-08-23 01:03:10 +02:00
SocketAddress.h
SOCKSProxyClient.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SOCKSProxyClient.h LibCore+Everywhere: Make Core::Stream::read() return Bytes 2022-04-16 13:27:51 -04:00
StandardPaths.cpp LibCore: Add documents_directory() to StandardPaths 2022-10-01 13:39:10 +03:30
StandardPaths.h LibCore: Add documents_directory() to StandardPaths 2022-10-01 13:39:10 +03:30
Stream.cpp LibCore: Don't assume that the first address from getaddrinfo is IPv4 2022-10-10 12:23:12 +02:00
Stream.h LibCore: Add fd() and notifier() accessors to Core::Stream::LocalSocket 2022-10-06 09:51:04 +02:00
System.cpp SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
System.h LibCore: Add Core::System wrapper for getsid() 2022-10-03 11:11:29 +02:00
SystemServerTakeover.cpp Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
SystemServerTakeover.h
TCPServer.cpp
TCPServer.h
TempFile.cpp
TempFile.h
Timer.cpp
Timer.h
UDPServer.cpp
UDPServer.h
UmaskScope.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
Version.cpp
Version.h