From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7490C433E6 for ; Mon, 31 Aug 2020 01:01:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C123820757 for ; Mon, 31 Aug 2020 01:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726517AbgHaBB1 (ORCPT ); Sun, 30 Aug 2020 21:01:27 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56024 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726436AbgHaBBZ (ORCPT ); Sun, 30 Aug 2020 21:01:25 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C5C0813A7F13B3FC75BD; Mon, 31 Aug 2020 09:01:21 +0800 (CST) Received: from [127.0.0.1] (10.67.102.197) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Mon, 31 Aug 2020 09:01:13 +0800 Subject: ping//Re: [PATCH] security: fix some spelling mistakes in the comments by codespell To: , , , , , , , , , CC: References: <20200822030534.2577-1-nixiaoming@huawei.com> From: Xiaoming Ni Message-ID: Date: Mon, 31 Aug 2020 09:01:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.0.1 MIME-Version: 1.0 In-Reply-To: <20200822030534.2577-1-nixiaoming@huawei.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.197] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ping On 2020/8/22 11:05, Xiaoming Ni wrote: > ecurity/commoncap.c: capabilties ==> capabilities > security/lsm_audit.c: programers ==> programmers > security/tomoyo/audit.c: stuct ==> struct > security/tomoyo/common.c: Poiter ==> Pointer > security/smack/smack_lsm.c: overriden ==> overridden overridden > security/smack/smackfs.c: overriden ==> overridden > security/integrity/ima/ima_template_lib.c: algoritm ==> algorithm > > Signed-off-by: Xiaoming Ni > --- > security/commoncap.c | 2 +- > security/integrity/ima/ima_template_lib.c | 2 +- > security/lsm_audit.c | 2 +- > security/smack/smack_lsm.c | 2 +- > security/smack/smackfs.c | 2 +- > security/tomoyo/audit.c | 2 +- > security/tomoyo/common.c | 2 +- > 7 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/security/commoncap.c b/security/commoncap.c > index 59bf3c1674c8..2c3a0f1b6876 100644 > --- a/security/commoncap.c > +++ b/security/commoncap.c > @@ -1046,7 +1046,7 @@ int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags) > break; > > case LSM_SETID_FS: > - /* juggle the capabilties to follow FSUID changes, unless > + /* juggle the capabilities to follow FSUID changes, unless > * otherwise suppressed > * > * FIXME - is fsuser used for all CAP_FS_MASK capabilities? > diff --git a/security/integrity/ima/ima_template_lib.c b/security/integrity/ima/ima_template_lib.c > index c022ee9e2a4e..9513564ee0b2 100644 > --- a/security/integrity/ima/ima_template_lib.c > +++ b/security/integrity/ima/ima_template_lib.c > @@ -231,7 +231,7 @@ static int ima_eventdigest_init_common(const u8 *digest, u32 digestsize, > * digest formats: > * - DATA_FMT_DIGEST: digest > * - DATA_FMT_DIGEST_WITH_ALGO: [] + ':' + '\0' + digest, > - * where is provided if the hash algoritm is not > + * where is provided if the hash algorithm is not > * SHA1 or MD5 > */ > u8 buffer[CRYPTO_MAX_ALG_NAME + 2 + IMA_MAX_DIGEST_SIZE] = { 0 }; > diff --git a/security/lsm_audit.c b/security/lsm_audit.c > index 53d0d183db8f..a0ff2e441069 100644 > --- a/security/lsm_audit.c > +++ b/security/lsm_audit.c > @@ -212,7 +212,7 @@ static void dump_common_audit_data(struct audit_buffer *ab, > char comm[sizeof(current->comm)]; > > /* > - * To keep stack sizes in check force programers to notice if they > + * To keep stack sizes in check force programmers to notice if they > * start making this union too large! See struct lsm_network_audit > * as an example of how to deal with large data. > */ > diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c > index 8c0893eb5aa8..960d4641239c 100644 > --- a/security/smack/smack_lsm.c > +++ b/security/smack/smack_lsm.c > @@ -1784,7 +1784,7 @@ static int smack_file_send_sigiotask(struct task_struct *tsk, > */ > file = container_of(fown, struct file, f_owner); > > - /* we don't log here as rc can be overriden */ > + /* we don't log here as rc can be overridden */ > blob = smack_file(file); > skp = *blob; > rc = smk_access(skp, tkp, MAY_DELIVER, NULL); > diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c > index 9c4308077574..5c581ec814ac 100644 > --- a/security/smack/smackfs.c > +++ b/security/smack/smackfs.c > @@ -111,7 +111,7 @@ struct smack_known *smack_syslog_label; > /* > * Ptrace current rule > * SMACK_PTRACE_DEFAULT regular smack ptrace rules (/proc based) > - * SMACK_PTRACE_EXACT labels must match, but can be overriden with > + * SMACK_PTRACE_EXACT labels must match, but can be overridden with > * CAP_SYS_PTRACE > * SMACK_PTRACE_DRACONIAN lables must match, CAP_SYS_PTRACE has no effect > */ > diff --git a/security/tomoyo/audit.c b/security/tomoyo/audit.c > index 3c96e8402e94..b51bad121c11 100644 > --- a/security/tomoyo/audit.c > +++ b/security/tomoyo/audit.c > @@ -311,7 +311,7 @@ static LIST_HEAD(tomoyo_log); > /* Lock for "struct list_head tomoyo_log". */ > static DEFINE_SPINLOCK(tomoyo_log_lock); > > -/* Length of "stuct list_head tomoyo_log". */ > +/* Length of "struct list_head tomoyo_log". */ > static unsigned int tomoyo_log_count; > > /** > diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c > index 4bee32bfe16d..38bdc0ffc312 100644 > --- a/security/tomoyo/common.c > +++ b/security/tomoyo/common.c > @@ -2608,7 +2608,7 @@ ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, > /** > * tomoyo_parse_policy - Parse a policy line. > * > - * @head: Poiter to "struct tomoyo_io_buffer". > + * @head: Pointer to "struct tomoyo_io_buffer". > * @line: Line to parse. > * > * Returns 0 on success, negative value otherwise. >