[PATCH v5 4/4] Add system-wide tunables: Filters

Yury Khrustalev yury.khrustalev@arm.com
Wed Feb 25 14:32:35 GMT 2026


On Tue, Feb 24, 2026 at 06:08:01PM -0500, DJ Delorie wrote:
> Yury Khrustalev <yury.khrustalev@arm.com> writes:
> >> +  tst-tunconf1 \
> >
> > What about static executables? I tried adding the same test in static
> > form and of course it doesn't work :)
> 
> Yeah, the tunables cache is loaded by the dynamic loader, and static
> binaries don't have that.  I haven't looked into how much code would be
> pulled in to support this but I also don't know if we need to support
> static binaries anyway.

It seems like a bad idea to adopt ld.so related code to supporting
static binaries. My understanding is that there is no Glibc spec that
would officially distance from static binaries. A lot of code exists
to support it anyway.

We might have to find another more generic way to deliver tunable
values that does not rely on environment variables and works for all
kinds of applications.



More information about the Libc-alpha mailing list