Commit 3c49ce0e authored by John Johansen's avatar John Johansen

apparmor: declare stack_msg as static

stack_msg in upstream code is only used in securit/apparmor/domain.c
so declare it as static.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311092251.TwKSNZ0u-lkp@intel.com/Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent e44a4dc4
...@@ -1311,7 +1311,7 @@ static int change_profile_perms_wrapper(const char *op, const char *name, ...@@ -1311,7 +1311,7 @@ static int change_profile_perms_wrapper(const char *op, const char *name,
return error; return error;
} }
const char *stack_msg = "change_profile unprivileged unconfined converted to stacking"; static const char *stack_msg = "change_profile unprivileged unconfined converted to stacking";
/** /**
* aa_change_profile - perform a one-way profile transition * aa_change_profile - perform a one-way profile transition
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment