leitner
|
1564beb8a3
|
change io_eagain to io_eagain_wite
|
3 years ago |
leitner
|
ebec6ee140
|
add sandboxing hints
|
3 years ago |
leitner
|
885ffac7d8
|
remove unused label
|
3 years ago |
leitner
|
d93ddc33b8
|
fix buffer overread for len=0 in scan_longn (Martin Castillo)
|
3 years ago |
leitner
|
e0ebf1e57e
|
forgot to add man page
|
3 years ago |
leitner
|
276cd8ef9e
|
what if the left-over from writev does not fit into the buffer?
|
3 years ago |
leitner
|
de672180ac
|
don't disturb glibc with __deprecated__
|
3 years ago |
leitner
|
fc223dc725
|
recent kernel return POLLERR and then calling read returns EGAIN which
leads to busy loop. Try to work around.
|
3 years ago |
leitner
|
c9e9ecfb6a
|
add bytestream man page
|
3 years ago |
leitner
|
46cd715bbf
|
explain a bit what we are trying to do here
|
3 years ago |
leitner
|
0556994916
|
try to prevent ARM from reordering writes in hardware
|
3 years ago |
leitner
|
32f02d34fc
|
remove stray l (Rolf Eike Baer)
|
3 years ago |
leitner
|
1217583e2b
|
now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
|
4 years ago |
leitner
|
07c3f0bf3d
|
some crude attempt to fix mingw cross build
|
4 years ago |
leitner
|
853242b078
|
next attempt (I need a bsd shell)
|
4 years ago |
leitner
|
efb1a8a2ae
|
kqueue path assumed EVFILT_READ and EVFILT_WRITE are bits that can be used with | and ~ and &
they aren't
|
4 years ago |
leitner
|
2788b18f32
|
provide prototype
|
4 years ago |
leitner
|
cef53a5907
|
try too fix erdgeist's bug
|
4 years ago |
leitner
|
1a793700a8
|
try to fix erdgeist's bug
|
4 years ago |
leitner
|
8296813ff4
|
less compiler warnings
|
4 years ago |
leitner
|
9889bf3d70
|
better test
|
4 years ago |
leitner
|
45f99bbd0a
|
in io_eagain, make sure the kernel knows we wanted to write to the
descriptor in case we optimized the syscall away previously
in iob_send leave loop if we got a partial write
|
4 years ago |
leitner
|
f84ff9a817
|
change t.c from threading to full io_wait
|
4 years ago |
leitner
|
3a3c328a99
|
fix deps
|
4 years ago |
leitner
|
119bc7702d
|
test iob_send
|
4 years ago |
leitner
|
f4cd377378
|
fix out of bounds memory access
|
4 years ago |
leitner
|
86e596b870
|
limit iovec size for sendmsg code path to 50
|
4 years ago |
leitner
|
fc7e04660f
|
mention sendmsg issue
|
4 years ago |
leitner
|
1fb5505cc2
|
add missing includes
|
4 years ago |
leitner
|
e1f516b426
|
add missing man pages
|
4 years ago |
leitner
|
f6bdbda5d5
|
left old constants in
|
4 years ago |
leitner
|
5e47b80d5a
|
need to use own constants now
|
4 years ago |
leitner
|
bb0a9278c3
|
now with accept4
|
4 years ago |
leitner
|
7fd8e31f7d
|
OSX does not have accept4 :(
|
4 years ago |
leitner
|
ca968b8cec
|
also escape negative chars (we are in utf-8 land now, no longer latin1)
|
4 years ago |
leitner
|
0579cb6a7b
|
it's fcntl.h not sys/fcntl.h
|
4 years ago |
leitner
|
fc8aed5d39
|
add missign build deps (thanks Giorgio)
|
4 years ago |
leitner
|
49152d0c56
|
add missed dependency
|
4 years ago |
leitner
|
b5f21a3900
|
add support for saving syscalls with accept4
|
4 years ago |
leitner
|
c4b0dd6b81
|
move cleanup after check that all events are handled
|
4 years ago |
leitner
|
15f004df55
|
prevent infinite loop in cleanup code for
io_close-with-outstanding-events-queued race prevention
|
4 years ago |
leitner
|
5f9f1a2a62
|
properly initialize deferred list in io_fd (did not help though)
|
4 years ago |
leitner
|
ad37bd83de
|
add snarky comment
|
4 years ago |
leitner
|
d4ac8fe906
|
might actually work now
|
4 years ago |
leitner
|
75fe9a620e
|
attempt to prevent future endless loops in io_wait half-closed fd
cleanup
|
4 years ago |
leitner
|
e2673d3782
|
add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf
|
4 years ago |
leitner
|
68a04bf226
|
document changes
|
4 years ago |
leitner
|
5259ce9092
|
you need to #include <stdlib.h>
|
4 years ago |
leitner
|
47043a16a8
|
add fmt_strm_malloc
|
4 years ago |
leitner
|
b6195a540a
|
add man page for fmt_strm_alloca and fmt_strm_malloc
|
4 years ago |