There is no need to include sys/uio.h here.
Drop test for msgbuf_drain() since that function is no longer part of thepublic API.
Some KNF nits
imsg test: simplify Makefile
Don't use ibuf_open(0) as test. 0 lenght ibufs make little sense andresult in a malloc(0) call which is no bueno. Use ibuf_open(1) instead.OK miod@
Verify sizes before arithmetic operationsUnsigned overflows are not a bug in C but we have to make sure thatrequested buffer sizes will be actually available.If not, set errno to ERANGE and retu
Verify sizes before arithmetic operationsUnsigned overflows are not a bug in C but we have to make sure thatrequested buffer sizes will be actually available.If not, set errno to ERANGE and return an error value.ok deraadt, millert
show more ...