[PATCH v4 1/1] ldconfig: add --install option

Florian Weimer fweimer@redhat.com
Tue Jun 9 09:28:27 GMT 2026


* Andreas Schwab:

> On Jun 08 2026, DJ Delorie wrote:
>
>> It's the way I've always done that, because on some OSs (including
>> Linux), read and write can return a partial count if the program
>> receives a signal.
>
> That happens only for potentially blocking I/O like pipes or sockets.
> You would also have to handle EINTR (we have TEMP_FAILURE_RETRY for
> that).

And it requires installing a signal handler.  Otherwise, the process
just goes away.  I don't think installs signal handlers.

Thanks,
Florian



More information about the Libc-alpha mailing list