[glibc/arm/morello/main] scripts: Use bool in tunables initializer

Szabolcs Nagy nsz@sourceware.org
Wed Oct 26 15:10:02 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=90fc30ae1e84ebae924be6ef5f2b5843a6a0ad57

commit 90fc30ae1e84ebae924be6ef5f2b5843a6a0ad57
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Jun 8 14:03:38 2021 +0100

    scripts: Use bool in tunables initializer

Diff:
---
 scripts/gen-tunables.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen-tunables.awk b/scripts/gen-tunables.awk
index fa63e86d1a..d6de100df0 100644
--- a/scripts/gen-tunables.awk
+++ b/scripts/gen-tunables.awk
@@ -177,7 +177,7 @@ END {
     n = indices[2];
     m = indices[3];
     printf ("  {TUNABLE_NAME_S(%s, %s, %s)", t, n, m)
-    printf (", {TUNABLE_TYPE_%s, %s, %s}, {%s}, NULL, TUNABLE_SECLEVEL_%s, %s},\n",
+    printf (", {TUNABLE_TYPE_%s, %s, %s}, {%s}, false, TUNABLE_SECLEVEL_%s, %s},\n",
 	    types[t,n,m], minvals[t,n,m], maxvals[t,n,m],
 	    default_val[t,n,m], security_level[t,n,m], env_alias[t,n,m]);
   }


More information about the Glibc-cvs mailing list