diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 12:58:10 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 12:58:10 +0000 |
commit | 42eefa5ae8dee3359bc192d794f49c17078e6477 (patch) | |
tree | a1ccadd71a0bbbfea0621a74ec73ba4f29f1f5b1 /lib/csu | |
parent | 47ba2539ec89c842e3972f962f7bf14c238ea60c (diff) |
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@
Diffstat (limited to 'lib/csu')
0 files changed, 0 insertions, 0 deletions