projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c49ce0
)
apparmor: declare nulldfa as static
author
John Johansen
<john.johansen@canonical.com>
Sun, 19 Nov 2023 09:14:10 +0000
(
01:14
-0800)
committer
John Johansen
<john.johansen@canonical.com>
Sun, 19 Nov 2023 09:14:10 +0000
(
01:14
-0800)
With the conversion to a refcounted pdb the nulldfa is now only used
in security/apparmor/lsm.c so declar it as static.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311092038.lqfYnvmf-lkp@intel.com/
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c
patch
|
blob
|
history
diff --git
a/security/apparmor/lsm.c
b/security/apparmor/lsm.c
index 4981bdf0299315e24f44ca8d65b38c48bd1247c3..d3d2fc13c6e7c8bdaa157ae562d952a3f38d0c1e 100644
(file)
--- a/
security/apparmor/lsm.c
+++ b/
security/apparmor/lsm.c
@@
-2106,7
+2106,7
@@
__initcall(apparmor_nf_ip_init);
static char nulldfa_src[] = {
#include "nulldfa.in"
};
-struct aa_dfa *nulldfa;
+st
atic st
ruct aa_dfa *nulldfa;
static char stacksplitdfa_src[] = {
#include "stacksplitdfa.in"