Skip to content

Commit 691a1f3

Browse files
Tetsuo HandaTetsuo Handa
authored andcommitted
tomoyo: fix spelling errors
No functional changes. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
1 parent 41f198d commit 691a1f3

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

security/tomoyo/securityfs_if.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,11 @@ static void __init tomoyo_create_entry(const char *name, const umode_t mode,
229229
}
230230

231231
/**
232-
* tomoyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.
232+
* tomoyo_interface_init - Initialize /sys/kernel/security/tomoyo/ interface.
233233
*
234234
* Returns 0.
235235
*/
236-
static int __init tomoyo_initerface_init(void)
236+
static int __init tomoyo_interface_init(void)
237237
{
238238
struct tomoyo_domain_info *domain;
239239
struct dentry *tomoyo_dir;
@@ -270,4 +270,4 @@ static int __init tomoyo_initerface_init(void)
270270
return 0;
271271
}
272272

273-
fs_initcall(tomoyo_initerface_init);
273+
fs_initcall(tomoyo_interface_init);

security/tomoyo/tomoyo.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,7 @@ static const struct lsm_id tomoyo_lsmid = {
549549
.id = LSM_ID_TOMOYO,
550550
};
551551

552-
/*
553-
* tomoyo_security_ops is a "struct security_operations" which is used for
554-
* registering TOMOYO.
555-
*/
552+
/* tomoyo_hooks is used for registering TOMOYO. */
556553
static struct security_hook_list tomoyo_hooks[] __ro_after_init = {
557554
LSM_HOOK_INIT(cred_prepare, tomoyo_cred_prepare),
558555
LSM_HOOK_INIT(bprm_committed_creds, tomoyo_bprm_committed_creds),

0 commit comments

Comments
 (0)