RFC: system-wide default tunables
DJ Delorie
dj@redhat.com
Tue Oct 17 17:14:23 GMT 2023
Siddhesh Poyarekar <siddhesh@gotplt.org> writes:
> Actually I wasn't thinking of any conf file related constraint markup, I
> was thinking of TUNABLE_CALLBACKs encoding constraints in whichever way
> they deem fit. e.g. for ibt it could be:
>
> void
> TUNABLE_CALLBACK (set_x86_ibt) (tunable_val_t *valp)
> {
> if (!strcmp (valp->system_default, "always_on"))
> return;
>
> /* Otherwise read the value. */
> }
So the tunable definition *itself* decides whether the sysadmin wants to
override a user?
Or are you saying the tunable *value* describes the constraint?
More information about the Libc-alpha
mailing list