Felix von Leitner
|
d391cf7004
|
return early
|
2023-07-20 09:19:40 +00:00 |
Felix von Leitner
|
614f5d1552
|
add C++ convenience overloads to uint*.h
|
2023-07-20 08:11:55 +00:00 |
Felix von Leitner
|
5adfe5a56f
|
be more explicit about size requirement
|
2023-05-02 13:11:12 +00:00 |
Felix von Leitner
|
9b6c6d0199
|
silence clang static analyzer
|
2023-05-02 13:10:41 +00:00 |
Felix von Leitner
|
9ea8afb071
|
gcc 13 -fanalyze run with fixes / comments about false positives
|
2023-05-02 12:51:56 +00:00 |
Felix von Leitner
|
c34bbe5bed
|
don't need fmt.h
|
2023-03-27 12:52:22 +00:00 |
Felix von Leitner
|
1903706e38
|
make clean also removes json binary
|
2023-03-22 15:57:28 +00:00 |
Felix von Leitner
|
820622f70d
|
auto-generate compile_commands.json for clangd / vim ale
remove Makefile generation rules when generating Makefile
make sure compile_commands.json can generate with Makefile too, not just with GNUmakefile
|
2023-03-22 15:56:38 +00:00 |
Felix von Leitner
|
998f369b43
|
#define _POSIX_C_SOURCE 200809L
|
2023-03-22 12:49:36 +00:00 |
Felix von Leitner
|
7328beeb46
|
also be more c99 compliant on non-linux platforms :-)
|
2023-03-15 13:17:16 +00:00 |
Felix von Leitner
|
cba2c297bb
|
change a few // comments back to /* */ for older compilers
|
2023-01-21 16:23:58 +00:00 |
Felix von Leitner
|
1d8caed40e
|
be more C99 compliant (Florian Weimer)
|
2022-12-13 20:02:46 +00:00 |
Felix von Leitner
|
9c0b300963
|
next attempt to automate the dependency pain away: make updatedeps
|
2022-12-02 14:05:58 +00:00 |
Felix von Leitner
|
ce05693421
|
mcfgthread renamed their include file
|
2022-12-02 14:04:32 +00:00 |
Felix von Leitner
|
0a89587c4f
|
update entities.json
fix build fails (never happened to me because I have the headers installed system-wide)
|
2022-11-16 16:33:50 +00:00 |
Felix von Leitner
|
64a9bbd946
|
version bump
|
2022-11-16 10:10:23 +00:00 |
Felix von Leitner
|
51ddd5bd59
|
add iob_write2 with sendfile callback so caller can use OpenSSL's SSL_sendfile
|
2022-11-07 14:48:31 +00:00 |
Felix von Leitner
|
939453f9b8
|
add iob_write2 which takes an additional sendfile callback
|
2022-11-07 14:39:37 +00:00 |
Felix von Leitner
|
6a960cf5ad
|
explicitly give main's return type
|
2022-09-18 19:39:06 +00:00 |
Felix von Leitner
|
4a54307d01
|
catch "can't happen" int overflow in stralloc_catm_interal
add comment in stralloc_ready
|
2022-07-01 17:00:25 +00:00 |
Felix von Leitner
|
08a5bd88d2
|
add seccomp notice
|
2022-04-25 14:45:24 +00:00 |
Felix von Leitner
|
6aba66e806
|
remove unused local var
|
2022-04-25 14:21:38 +00:00 |
Felix von Leitner
|
c2e3bd9dae
|
change io_eagain to io_eagain_wite
|
2022-04-25 14:20:47 +00:00 |
Felix von Leitner
|
d91bcb2b15
|
add sandboxing hints
|
2022-04-25 14:20:36 +00:00 |
Felix von Leitner
|
4694d92199
|
remove unused label
|
2022-04-11 08:37:51 +00:00 |
Felix von Leitner
|
050f0ffe75
|
fix buffer overread for len=0 in scan_longn (Martin Castillo)
|
2022-04-11 08:35:54 +00:00 |
Felix von Leitner
|
02e8801c3c
|
forgot to add man page
|
2022-04-11 08:28:01 +00:00 |
Felix von Leitner
|
8ca5aa48a5
|
what if the left-over from writev does not fit into the buffer?
|
2022-03-14 10:34:50 +00:00 |
Felix von Leitner
|
b6f868eaab
|
don't disturb glibc with __deprecated__
|
2022-03-11 12:59:37 +00:00 |
Felix von Leitner
|
ba876e757c
|
recent kernel return POLLERR and then calling read returns EGAIN which
leads to busy loop. Try to work around.
|
2022-03-11 12:07:53 +00:00 |
Felix von Leitner
|
0c69ff4b1b
|
add bytestream man page
|
2022-03-10 20:25:08 +00:00 |
Felix von Leitner
|
566c1b025b
|
explain a bit what we are trying to do here
|
2021-11-03 12:28:12 +00:00 |
Felix von Leitner
|
ccdae48d82
|
try to prevent ARM from reordering writes in hardware
|
2021-10-26 09:54:22 +00:00 |
Felix von Leitner
|
e34ccaa001
|
remove stray l (Rolf Eike Baer)
|
2021-08-20 11:12:38 +00:00 |
Felix von Leitner
|
f8f40a544a
|
now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
|
2021-04-27 17:39:42 +00:00 |
Felix von Leitner
|
db4ef5494b
|
some crude attempt to fix mingw cross build
|
2021-04-27 17:38:54 +00:00 |
Felix von Leitner
|
a16f238d80
|
next attempt (I need a bsd shell)
|
2021-04-25 11:09:25 +00:00 |
Felix von Leitner
|
714a06fcb7
|
kqueue path assumed EVFILT_READ and EVFILT_WRITE are bits that can be used with | and ~ and &
they aren't
|
2021-04-25 11:03:53 +00:00 |
Felix von Leitner
|
0c8b9934d2
|
provide prototype
|
2021-04-24 12:48:50 +00:00 |
Felix von Leitner
|
0c4c4efbe0
|
try too fix erdgeist's bug
|
2021-04-24 12:47:18 +00:00 |
Felix von Leitner
|
a246f90de5
|
try to fix erdgeist's bug
|
2021-04-24 12:46:53 +00:00 |
Felix von Leitner
|
26a19cf273
|
less compiler warnings
|
2021-04-24 12:33:33 +00:00 |
Felix von Leitner
|
45c5556548
|
better test
|
2021-04-24 11:44:17 +00:00 |
Felix von Leitner
|
52d9cfa681
|
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
|
2021-04-24 11:39:18 +00:00 |
Felix von Leitner
|
2a08bdfb89
|
change t.c from threading to full io_wait
|
2021-04-24 11:38:24 +00:00 |
Felix von Leitner
|
0be5f69f11
|
fix deps
|
2021-04-24 10:47:51 +00:00 |
Felix von Leitner
|
b023cbb0aa
|
test iob_send
|
2021-04-23 08:06:41 +00:00 |
Felix von Leitner
|
b5f0721298
|
fix out of bounds memory access
|
2021-04-23 08:02:09 +00:00 |
Felix von Leitner
|
b148d97cad
|
limit iovec size for sendmsg code path to 50
|
2021-04-22 12:53:53 +00:00 |
Felix von Leitner
|
7705db76e2
|
mention sendmsg issue
|
2021-04-22 11:31:22 +00:00 |