[PATCH v5 0/4] Add system-wide tunables
DJ Delorie
dj@redhat.com
Thu Feb 12 18:41:28 GMT 2026
Michael Jeanson <mjeanson@efficios.com> writes:
> On 2026-02-11 00:02, DJ Delorie wrote:
>>
>> This patch series is the initial implementation of system-wide
>> tunables, which I mentioned a while ago.
>
> This is a very open question but what would the expected behavior of
> tests that use tunables be when a system-wide policy is present?
>
> Like for example some rseq tests assume that the "glibc.pthread.rseq"
> tunable is on by default and some other tests will explicitly use the
> tunable to disable the feature. If the test suite runs on a system that
> has a system-wide policy enabling or disabling "glibc.pthread.rseq" with
> overridability set to "-" should those tests be skipped or failed?
Those tests could be run in a container, I suppose, so that they are not
subject to the host's configuration.
It would be prudent to add checks to such programs to ensure the tunable
is set as expected, though, and skipped (with a suitable note) if the
tunable was not set.
More information about the Libc-alpha
mailing list