Skip to content
Commit a4c3f5f4 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

elf: Add a way to check if tunable is set (BZ 27069)



The patch adds two new macros, TUNABLE_GET_DEFAULT and TUNABLE_IS_INITIALIZED,
here the former get the default value with a signature similar to
TUNABLE_GET, while the later returns whether the tunable was set by
the environment variable.

Checked on x86_64-linux-gnu.
Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
Tested-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
parent 9469261c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment