You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
500 B
15 lines
500 B
7 months ago
|
Fix compile warning in test_execve.c.
|
||
|
|
||
|
diff --git a/tools/testing/selftests/capabilities/test_execve.c b/tools/testing/selftests/capabilities/test_execve.c
|
||
|
--- a/tools/testing/selftests/capabilities/test_execve.c
|
||
|
+++ b/tools/testing/selftests/capabilities/test_execve.c
|
||
|
@@ -91,7 +91,7 @@ static bool create_and_enter_ns(uid_t inner_uid)
|
||
|
uid_t outer_uid;
|
||
|
gid_t outer_gid;
|
||
|
int i;
|
||
|
- bool have_outer_privilege;
|
||
|
+ bool have_outer_privilege = false;
|
||
|
|
||
|
outer_uid = getuid();
|
||
|
outer_gid = getgid();
|