summaryrefslogtreecommitdiff
path: root/security/tomoyo/util.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-10-07 14:54:21 +0100
committerMark Brown <broonie@kernel.org>2024-10-07 14:54:21 +0100
commit344190e0347324d95393c561a4b8c8dfa8cd628b (patch)
tree20d054b028d30ed361fbaeb20f319482e4a8312f /security/tomoyo/util.c
parente4926ca0189dac2e780d6d3cca92052376fd7f0e (diff)
parent8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff)
ASoC: Merge up v6.12
Fixes build issues with the KVM selftests
Diffstat (limited to 'security/tomoyo/util.c')
-rw-r--r--security/tomoyo/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c
index b851ff377382..6799b1122c9d 100644
--- a/security/tomoyo/util.c
+++ b/security/tomoyo/util.c
@@ -13,6 +13,9 @@
/* Lock for protecting policy. */
DEFINE_MUTEX(tomoyo_policy_lock);
+/* Has /sbin/init started? */
+bool tomoyo_policy_loaded;
+
/*
* Mapping table from "enum tomoyo_mac_index" to
* "enum tomoyo_mac_category_index".