Re: [PATCH v5 2/4] man/man5/tunables.conf: Document system-wide tunables config

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <anZdHxYJZ6hLleQv@devuan>
Hi DJ,

> Date: 2026-08-06 23:25:29-0400
> From: DJ Delorie <[email protected]>
>
> Alejandro Colomar <[email protected]> writes:
> > Hmmmmm, let's say you call execve(2) several times without any fork(2)s.
> > Assuming a that the program paths that you pass to execve(2) are all
> > dynamic ELF programs built with glibc, I guess for every time you call
> > execve(2), ld.so(8) will be run, and the tunables stored in ld.so.cache
> > will be used.  Is this correct?
> 
> I think this rabbit hole is too deep for this part of the man page.  We
> need a short sentence that's obvious to the reader, not a diatribe on
> how the linux kernel works.
> 
> I'm happy with something like "The resulting data is read when the
> program starts." regardless of how ambiguous or technically incorrect it
> might be ;-)

I'm not happy with starts, but if 's/starts/is executed/', or
alternatively 's/starts/& execution/', I'm happy.

'starts execution' is precisely the wording that execve(2) uses to
describe the moment when ld.so(8) is called.

     If the executable is an a.out  dynamically  linked  binary
     executable  containing shared‐library stubs, the Linux dy‐
     namic linker ld.so(8) is called at the start of  execution
     to  bring  needed  shared objects into memory and link the
     executable with them.

Does this sound good to you?


Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmp2XfQACgkQ64mZXMKQ
wqlhJxAAtXQx4hqoon2v577gu15+Cbo1bdwTrffJa5+MipTKlNYwm4RxkckGj8C6
xcH8st4iWXi493ecNRv4DJM5RIw6EI4F7zPuLURACCWH2saM70jV2Q4Ydiljt5wr
+ihCcOsF018HzRXrtgELhofU7ZprVWp0ezhbZbTn0yYwmQhYAoB7p9i4wQcHtWj5
niW4uLRKhhWz/jq4LiMf6TtXJQL40owUH/4QKEYyzw179s667py5pFcn1IMF9EjB
l3dhBqP26iAFhbjPyy0hlYXutVRQrz+lRsXUUF7N2yJo/uBovA+deExdR8YhPH2g
cHMImSqlN1ennTgfGNWvoTzuZCYHCJ1kqzmMRjF0MFW6IXBDTv4HFaTTnZqgMxKB
4eLR5ScyGm4Cm4ZZRmhs5kwInK4MfM+DsbkJW75srGEqBB1NaY5Jq+B7rjANaV6E
oDOUVpC5yHS3rQhxSutjBDjdPHsCZIaYrSY13ru1JQUzKAaozMnbPwpc9Uq8vrWw
PnXSgSPmDmoT9l/yC4nXmCSXPKB9RGN8XepOSeANc3elgDoA7lGeSz74UVvqqgRx
7Rp7Vp/I+E2zs1SqOqyq9/VoAT/Q7MWAtjf2IqmQWUAkd0SLheVkbSj7SPDTqLLf
mWhQj4kLYuWh2VLGhSo8g2ruf62gRjYyka32C7H2qqh+kS7x78k=
=vb0b
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.