1From 20b36ecce93e240e8d8770f3e243f9a9b54a00a7 Mon Sep 17 00:00:00 2001 2From: Edward Liaw <[email protected]> 3Date: Tue, 19 Apr 2022 23:13:44 +0000 4Subject: [PATCH 13/20] test_execve: Set boolean default 5 6Fix compile warning in test_execve.c. 7 8(cherry picked from commit bfb7fbd165f0e7fdd63d3b8806a8b8d31b1b469e) 9--- 10 tools/testing/selftests/capabilities/test_execve.c | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13diff --git a/tools/testing/selftests/capabilities/test_execve.c b/tools/testing/selftests/capabilities/test_execve.c 14index df0ef02b4036..08667a0159c7 100644 15--- a/tools/testing/selftests/capabilities/test_execve.c 16+++ b/tools/testing/selftests/capabilities/test_execve.c 17@@ -91,7 +91,7 @@ static bool create_and_enter_ns(uid_t inner_uid) 18 uid_t outer_uid; 19 gid_t outer_gid; 20 int i; 21- bool have_outer_privilege; 22+ bool have_outer_privilege = false; 23 24 outer_uid = getuid(); 25 outer_gid = getgid(); 26-- 272.42.0.609.gbb76f46606-goog 28 29