diff options
author | Austin Kim <austindh.kim@gmail.com> | 2021-06-09 01:09:29 +0200 |
---|---|---|
committer | Micah Morton <mortonm@chromium.org> | 2021-06-10 18:52:32 +0200 |
commit | 1b8b719229197b7afa1b1191e083fb41ace095c5 (patch) | |
tree | 4f6e684d5f8ac9e97553e86c46b3031db3aed99f /security/safesetid/lsm.c | |
parent | Linux 5.13-rc5 (diff) | |
download | linux-1b8b719229197b7afa1b1191e083fb41ace095c5.tar.xz linux-1b8b719229197b7afa1b1191e083fb41ace095c5.zip |
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.c')
-rw-r--r-- | security/safesetid/lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/safesetid/lsm.c b/security/safesetid/lsm.c index 1079c6d54784..963f4ad9cb66 100644 --- a/security/safesetid/lsm.c +++ b/security/safesetid/lsm.c @@ -22,7 +22,7 @@ #include "lsm.h" /* Flag indicating whether initialization completed */ -int safesetid_initialized; +int safesetid_initialized __initdata; struct setid_ruleset __rcu *safesetid_setuid_rules; struct setid_ruleset __rcu *safesetid_setgid_rules; |