Re: [PATCH] security: fix typos and spelling errors
From: Günther Noack
Date: Sat Jan 11 2025 - 17:57:58 EST
Thanks for the fixes!
On Sun, Jan 12, 2025 at 01:11:50AM +0530, Tanya Agarwal wrote:
> From: Tanya Agarwal <tanyaagarwal25699@xxxxxxxxx>
>
> Fix typos and spelling errors in security module comments that were
> identified using the codespell tool.
> No functional changes - documentation only.
>
> Signed-off-by: Tanya Agarwal <tanyaagarwal25699@xxxxxxxxx>
> ---
> security/apparmor/apparmorfs.c | 6 +++---
> security/apparmor/domain.c | 4 ++--
> security/apparmor/label.c | 2 +-
> security/apparmor/lsm.c | 2 +-
> security/apparmor/policy.c | 4 ++--
> security/integrity/evm/evm_crypto.c | 2 +-
> security/integrity/evm/evm_main.c | 2 +-
> security/integrity/ima/ima_main.c | 6 +++---
> security/landlock/ruleset.c | 2 +-
> security/selinux/avc.c | 2 +-
> security/smack/smack.h | 2 +-
> security/smack/smack_access.c | 4 ++--
> security/smack/smack_lsm.c | 6 +++---
> security/smack/smackfs.c | 2 +-
> security/tomoyo/domain.c | 2 +-
> 15 files changed, 24 insertions(+), 24 deletions(-)
>
> [...]
>
> diff --git a/security/landlock/ruleset.c b/security/landlock/ruleset.c
> index a93bdbf52fff..18cc88378d1d 100644
> --- a/security/landlock/ruleset.c
> +++ b/security/landlock/ruleset.c
> @@ -121,7 +121,7 @@ create_rule(const struct landlock_id id,
> return ERR_PTR(-ENOMEM);
> RB_CLEAR_NODE(&new_rule->node);
> if (is_object_pointer(id.type)) {
> - /* This should be catched by insert_rule(). */
> + /* This should have beeen caught by insert_rule(). */
This is accidentally introducing another typo: s/beeen/been/
—Günther
--