cosmopolitan/libc/sock
Justine Tunney b76b2be2d0
Improve zip read-only filesystem
readdir() will now always yield an inode that's consistent with stat()
on ZipOS and Windows in general. More APIs have been updated to return
the appropriate error code when inappropriately trying to do ops, like
sockets, with a zip file descriptor. The path normalization algorithms
are now fully fleshed out. Some socket APIs have been fixed so they'll
raise EBADF vs. ENOTSOCK appropriately. Lastly seekdir() will now work
properly on NetBSD and FreeBSD (not sure why anyone would even use it)
2023-08-16 17:52:12 -07:00
..
struct Remove _Hide keyword 2023-07-24 08:34:58 -07:00
accept-nt.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
accept.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
accept4-sysv.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
accept4.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
alg.h Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
asanmsghdr.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
basesocket.c Improve synchronization 2022-04-15 15:31:55 -07:00
bind-nt.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
bind-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
bind.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
closesocket-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
connect-nt.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
connect-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
connect.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
dupsockfd.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
epoll.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
epoll.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
fixupnewsockfd.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
gethostips.c Run clang-format on most sources 2023-04-27 05:44:32 -07:00
getsockname.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
getsockopt-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
getsockopt.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
goodsocket.c Mint APE Loader v1.4 2023-07-25 05:48:08 -07:00
goodsocket.internal.h Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
inet_addr.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_aton.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntoa.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntop.c Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
inet_pton.c Implement inet_pton for AF_INET6 (#583) 2022-08-31 15:14:42 -07:00
internal.h Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
iovec2nt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ipclassify.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
kntwsadata.c Improve wait statuses 2023-07-30 14:51:37 -07:00
listen-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
listen.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
nointernet.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
parseport.c Add protoent and netent (#209) 2021-07-10 12:36:35 -07:00
pselect.c Make it possible to log kprintf() to file 2023-06-05 04:16:15 -07:00
recv-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
recv.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
recvfrom-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
recvfrom.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
recvmsg.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
select-nt.c Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00
select.c Fix build breakage under special strace config 2023-07-03 00:05:51 -07:00
select.h Make improvements 2022-08-15 15:20:36 -07:00
send-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
send.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sendfile.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
sendfile.internal.h Remove _Hide keyword 2023-07-24 08:34:58 -07:00
sendmsg.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sendto-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
sendto.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
setsockopt-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
setsockopt.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
shutdown-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
shutdown.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sock.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
sock.mk Clean up more code 2023-06-18 01:00:05 -07:00
sockaddr.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2bsd.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2linux.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockatmark.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sockdebug.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
socket-nt.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
socket-sysv.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
socket.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
socketpair-nt.c Make stdin pollable on Windows 2023-08-13 22:42:25 -07:00
socketpair-sysv.c Perform fine-tuning of socketpair and pipe 2021-03-16 22:44:54 -07:00
socketpair.c Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
sys_sendfile_freebsd.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
sys_sendfile_xnu.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
syscall_fd.internal.h Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
syslog.c Remove printf() linking hack 2023-06-17 10:13:50 -07:00
syslog.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
winsockblock.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
wsablock.c Improve Windows Console I/O 2023-08-08 05:44:40 -07:00
yoink.inc Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00