diff options
author | John Johansen <john.johansen@canonical.com> | 2023-11-09 06:32:28 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-11-19 00:48:12 -0800 |
commit | 3c49ce0e220912406a478ac128657672608200a0 (patch) | |
tree | b17efa6b42e59aa1da1e77ac43fce9011eb19aeb /security | |
parent | e44a4dc4b36cc087878596b937d52caca35e9b19 (diff) |
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: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311092251.TwKSNZ0u-lkp@intel.com/
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 89fbeab4b33b..571158ec6188 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -1311,7 +1311,7 @@ static int change_profile_perms_wrapper(const char *op, const char *name, 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 |