aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2025-02-17 01:50:36 -0800
committerJohn Johansen <john.johansen@canonical.com>2025-05-25 20:15:01 -0700
commit4c0dc425fd613c5de0ca445f29d63150b52efc35 (patch)
tree78d42fd54febedb302cfdd96338536c5317901d2 /security
parentapparmor: force auditing of conflicting attachment execs from confined (diff)
downloadlinux-4c0dc425fd613c5de0ca445f29d63150b52efc35.tar.gz
linux-4c0dc425fd613c5de0ca445f29d63150b52efc35.zip
apparmor: make debug_values_table static
The debug_values_table is only referenced from lib.c so it should be static. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index 325f26f39a63..7cdf430762a8 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -30,7 +30,7 @@ struct val_table_ent {
int value;
};
-struct val_table_ent debug_values_table[] = {
+static struct val_table_ent debug_values_table[] = {
{ "N", DEBUG_NONE },
{ "none", DEBUG_NONE },
{ "n", DEBUG_NONE },