summaryrefslogtreecommitdiff
path: root/security/tomoyo
diff options
context:
space:
mode:
authorGONG, Ruiqi <gongruiqi1@huawei.com>2023-08-11 21:32:45 +0800
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2023-08-13 22:07:15 +0900
commit254a8ed6aab39c869d99da97f25035ed15756337 (patch)
treeb55b3eb7298df423f106ebfd2d2ede338c814d23 /security/tomoyo
parent7b9ef666f27afde43c047de2be2985b68ad9febe (diff)
tomoyo: remove unused function declaration
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> Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Diffstat (limited to 'security/tomoyo')
-rw-r--r--security/tomoyo/common.h2
1 files changed, 0 insertions, 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);