summaryrefslogtreecommitdiff
path: root/security/safesetid/lsm.h
diff options
context:
space:
mode:
authorAustin Kim <austindh.kim@gmail.com>2021-06-09 02:09:29 +0300
committerMicah Morton <mortonm@chromium.org>2021-06-10 19:52:32 +0300
commit1b8b719229197b7afa1b1191e083fb41ace095c5 (patch)
tree4f6e684d5f8ac9e97553e86c46b3031db3aed99f /security/safesetid/lsm.h
parent614124bea77e452aa6df7a8714e8bc820b489922 (diff)
downloadlinux-1b8b719229197b7afa1b1191e083fb41ace095c5.tar.xz
LSM: SafeSetID: Mark safesetid_initialized as __initdata
Mark safesetid_initialized as __initdata since it is only used in initialization routine. Signed-off-by: Austin Kim <austindh.kim@gmail.com> Signed-off-by: Micah Morton <mortonm@chromium.org>
Diffstat (limited to 'security/safesetid/lsm.h')
-rw-r--r--security/safesetid/lsm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/safesetid/lsm.h b/security/safesetid/lsm.h
index bde8c43a3767..d346f4849cea 100644
--- a/security/safesetid/lsm.h
+++ b/security/safesetid/lsm.h
@@ -19,7 +19,7 @@
#include <linux/hashtable.h>
/* Flag indicating whether initialization completed */
-extern int safesetid_initialized;
+extern int safesetid_initialized __initdata;
enum sid_policy_type {
SIDPOL_DEFAULT, /* source ID is unaffected by policy */