From 86f65dffc2396d408beb628f1cad2b8f63e197bd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 12 Jul 2020 06:04:53 -0700 Subject: ld.so: Add --list-tunables to print tunable values Pass --list-tunables to ld.so to print tunables with min and max values. Reviewed-by: Adhemerval Zanella --- elf/dl-usage.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'elf/dl-usage.c') diff --git a/elf/dl-usage.c b/elf/dl-usage.c index 907f068cfb..6e26818bd7 100644 --- a/elf/dl-usage.c +++ b/elf/dl-usage.c @@ -255,7 +255,12 @@ setting environment variables (which would be inherited by subprocesses).\n\ in LIST\n\ --audit LIST use objects named in LIST as auditors\n\ --preload LIST preload objects named in LIST\n\ - --argv0 STRING set argv[0] to STRING before running\n\ + --argv0 STRING set argv[0] to STRING before running\n" +#if HAVE_TUNABLES +"\ + --list-tunables list all tunables with minimum and maximum values\n" +#endif +"\ --help display this help and exit\n\ --version output version information and exit\n\ \n\ -- cgit 1.4.1