CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2024/11/21 05:58:09

Modified files:
        lib/libutil    : Symbols.map imsg.c 

Log message:
Only ldapd tried to handle fd exhaustion during imsg fd passing.

Remove the getdtablecount code from imsgbuf_read() and instead
move the getdtablecount code into ldapd.

Handle EMSGSIZE (the error returned when there are not enough
free file descriptor slots) inside imsgbuf_read() by retrying
the read to receive the data but without fd.
A caller expecting an fd should check the return value of
imsg_get_fd.

OK tb@

Reply via email to