Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/ypserv/yppush



In article <20251203082610.8FF09FC2E%cvs.NetBSD.org@localhost>,
Michael van Elst <source-changes-d%NetBSD.org@localhost> wrote:
>Module Name:	src
>Committed By:	mlelstv
>Date:		Wed Dec  3 08:26:10 UTC 2025
>
>Modified Files:
>	src/usr.sbin/ypserv/yppush: yppush.c
>
>Log Message:
>_SC_OPEN_MAX can exceed FD_SETSIZE. Use the compat value svc_maxfd+1
>from the rpc library similar to ypbind(8).
>
>The custom _svc_run() function is required as the standard svc_run()
>may hang for retries.
>
>Fixes PR 59750.

Yes, but won't that will ignore higher fds?

#define svc_fds svc_fdset.fds_bits[0]

I think we should either:

    1. replace with the newer code from the new svc_run_select
or
    2. have a way to make the standard svc_run to not hang.

christos



Home | Main Index | Thread Index | Old Index