Thread (32 messages) flat view 32 messages, 3 authors, 2021-03-12
STALE2015d

[RFC PATCH] LSM: audit_sig_lsm can be static

From: kernel test robot <hidden>
Date: 2021-03-09 19:46:32
Also in: oe-kbuild-all, selinux
Subsystem: audit subsystem, the rest · Maintainers: Paul Moore, Eric Paris, Linus Torvalds

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 audit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index c061331046956..c32df242a3726 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -125,7 +125,7 @@ static u32	audit_backlog_wait_time = AUDIT_BACKLOG_WAIT_TIME;
 /* The identity of the user shutting down the audit system. */
 static kuid_t		audit_sig_uid = INVALID_UID;
 static pid_t		audit_sig_pid = -1;
-struct lsmblob		audit_sig_lsm;
+static struct lsmblob		audit_sig_lsm;
 
 /* Records can be lost in several ways:
    0) [suppressed in audit_alloc]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help