cosmopolitan/test/libc
Justine Tunney 48b2afb192
Address weakness with new pledge("anet") promise
The intent with pledge("anet") has been to prevent outbound connections.
However we were only doing that for TCP sockets, and outbound UDP could
still get through, by using socket() plus sendto(). This change fixed
that by preventing UDP sockets from being created.

Credit goes to chc4 on Hacker News for finding this.
2023-06-18 18:06:47 -07:00
..
calls Address weakness with new pledge("anet") promise 2023-06-18 18:06:47 -07:00
dns Clean up more code 2023-06-18 01:00:05 -07:00
fmt Implement more toolchain fixes 2023-06-18 05:39:31 -07:00
intrin Clean up more code 2023-06-18 01:00:05 -07:00
log Clean up more code 2023-06-18 01:00:05 -07:00
mem Clean up more code 2023-06-18 01:00:05 -07:00
nexgen32e Clean up more code 2023-06-18 01:00:05 -07:00
release Fix stack abuse in llama.cc 2023-06-08 07:12:26 -07:00
runtime Clean up more code 2023-06-18 01:00:05 -07:00
sock Clean up more code 2023-06-18 01:00:05 -07:00
stdio Clean up more code 2023-06-18 01:00:05 -07:00
str Clean up more code 2023-06-18 01:00:05 -07:00
thread Clean up more code 2023-06-18 01:00:05 -07:00
time Clean up more code 2023-06-18 01:00:05 -07:00
tinymath Clean up more code 2023-06-18 01:00:05 -07:00
x Clean up more code 2023-06-18 01:00:05 -07:00
xed Clean up more code 2023-06-18 01:00:05 -07:00
zipos Clean up more code 2023-06-18 01:00:05 -07:00
test.mk Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00