Skip to content

Commit 9218313

Browse files
committed
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
2 parents 5c874a5 + 1b8b719 commit 9218313

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

security/safesetid/lsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "lsm.h"
2323

2424
/* Flag indicating whether initialization completed */
25-
int safesetid_initialized;
25+
int safesetid_initialized __initdata;
2626

2727
struct setid_ruleset __rcu *safesetid_setuid_rules;
2828
struct setid_ruleset __rcu *safesetid_setgid_rules;

security/safesetid/lsm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <linux/hashtable.h>
2020

2121
/* Flag indicating whether initialization completed */
22-
extern int safesetid_initialized;
22+
extern int safesetid_initialized __initdata;
2323

2424
enum sid_policy_type {
2525
SIDPOL_DEFAULT, /* source ID is unaffected by policy */

0 commit comments

Comments
 (0)