* [PATCH] tomoyo: remove unused function declaration
@ 2023-08-11 13:32 GONG, Ruiqi
0 siblings, 0 replies; only message in thread
From: GONG, Ruiqi @ 2023-08-11 13:32 UTC (permalink / raw)
To: Kentaro Takeda, Tetsuo Handa; +Cc: linux-security-module, linux-kernel
From: "GONG, Ruiqi" <gongruiqi1@huawei.com>
The last usage of tomoyo_check_flags() has been removed by commit
57c2590fb7fd ("TOMOYO: Update profile structure."). Clean up its
residual declaration.
Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
---
security/tomoyo/common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index e669837ed0e3..0e8e2e959aef 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -1037,8 +1037,6 @@ struct tomoyo_policy_namespace *tomoyo_assign_namespace
(const char *domainname);
struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns,
const u8 profile);
-unsigned int tomoyo_check_flags(const struct tomoyo_domain_info *domain,
- const u8 index);
u8 tomoyo_parse_ulong(unsigned long *result, char **str);
void *tomoyo_commit_ok(void *data, const unsigned int size);
void __init tomoyo_load_builtin_policy(void);
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-11 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 13:32 [PATCH] tomoyo: remove unused function declaration GONG, Ruiqi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).