Commit 92183137 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'safesetid-5.14' of git://github.com/micah-morton/linux

Pull SafeSetID update from Micah Morton:
 "One very minor code cleanup change that marks a variable as
  __initdata"

* tag 'safesetid-5.14' of git://github.com/micah-morton/linux:
  LSM: SafeSetID: Mark safesetid_initialized as __initdata
parents 5c874a5b 1b8b7192
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "lsm.h" #include "lsm.h"
/* Flag indicating whether initialization completed */ /* Flag indicating whether initialization completed */
int safesetid_initialized; int safesetid_initialized __initdata;
struct setid_ruleset __rcu *safesetid_setuid_rules; struct setid_ruleset __rcu *safesetid_setuid_rules;
struct setid_ruleset __rcu *safesetid_setgid_rules; struct setid_ruleset __rcu *safesetid_setgid_rules;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/hashtable.h> #include <linux/hashtable.h>
/* Flag indicating whether initialization completed */ /* Flag indicating whether initialization completed */
extern int safesetid_initialized; extern int safesetid_initialized __initdata;
enum sid_policy_type { enum sid_policy_type {
SIDPOL_DEFAULT, /* source ID is unaffected by policy */ SIDPOL_DEFAULT, /* source ID is unaffected by policy */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment