On Tue, Oct 17, 2023, at 1:47 PM, DJ Delorie wrote: > "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? Huh? You cannot mmap without having opened first. zw