RFC: system-wide default tunables

DJ Delorie dj@redhat.com
Tue Oct 17 17:47:40 GMT 2023


"Zack Weinberg" <zack@owlfolio.org> writes:
> Even better to open() unconditionally and ignore ENOENT failures.

>From a security/performance perspective, which is better - open() and
read a line at a time, or mmap() and parse in place?

ldconfig reads a line at a time, but it also has a lot of glibc-specific
helper functions (like argp_parse() and getline()) that I assume have
been checked for security.



More information about the Libc-alpha mailing list