Enable IPv6 foundation in relibc: inet_pton/ntop, TCP socket options, DNS AAAA

Add three relibc patches (42 total) to close QtNetwork-critical socket gaps:
- P3-inet6-pton-ntop: AF_INET6 address parsing/formatting with RFC 5952
  shorthand, IPv4-mapped suffix support
- P3-tcp-sockopt-forward: forward IPPROTO_TCP getsockopt/setsockopt to
  scheme daemon instead of hitting todo_skip
- P3-dns-aaaa-getaddrinfo-ipv6: AAAA DNS record queries, lookup_host_v6,
  dual-stack getaddrinfo with sockaddr_in6 entries

Also fix P3-tcp-nodelay to use sys_call_wo + from_raw_parts (const) in the
SOL_SOCKET setsockopt fallback — setsockopt sends data to the kernel, not
reads from it.
This commit is contained in:
2026-04-25 21:20:47 +01:00
parent 7edce33927
commit 752bceb3e9
5 changed files with 766 additions and 3 deletions
+3
View File
@@ -37,6 +37,9 @@ patches = [
"../../../local/patches/relibc/P3-fenv.patch",
"../../../local/patches/relibc/P3-sched.patch",
"../../../local/patches/relibc/P3-aio.patch",
"../../../local/patches/relibc/P3-inet6-pton-ntop.patch",
"../../../local/patches/relibc/P3-tcp-sockopt-forward.patch",
"../../../local/patches/relibc/P3-dns-aaaa-getaddrinfo-ipv6.patch",
]
[build]