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=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 44AF1C433E0 for ; Fri, 7 Aug 2020 21:27:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1CB312086A for ; Fri, 7 Aug 2020 21:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726015AbgHGV15 (ORCPT ); Fri, 7 Aug 2020 17:27:57 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:38604 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGV15 (ORCPT ); Fri, 7 Aug 2020 17:27:57 -0400 Received: from 2.general.sarnold.us.vpn ([10.172.64.71] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k49u5-0006am-ET; Fri, 07 Aug 2020 21:27:53 +0000 Date: Fri, 7 Aug 2020 21:27:51 +0000 From: Seth Arnold To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, apparmor@lists.ubuntu.com, James Morris , linux-security-module@vger.kernel.org, "Serge E. Hallyn" Subject: Re: [apparmor] [PATCH] security: apparmor: delete repeated words in comments Message-ID: <20200807212751.GB3169683@millbarge> References: <20200807165055.3756-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <20200807165055.3756-1-rdunlap@infradead.org> Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 07, 2020 at 09:50:55AM -0700, Randy Dunlap wrote: > Drop repeated words in comments. > {a, then, to} >=20 > Signed-off-by: Randy Dunlap > Cc: John Johansen > Cc: apparmor@lists.ubuntu.com > Cc: James Morris > Cc: "Serge E. Hallyn" > Cc: linux-security-module@vger.kernel.org Reviewed-By: Seth Arnold Thanks > --- > security/apparmor/include/file.h | 2 +- > security/apparmor/path.c | 2 +- > security/apparmor/policy_unpack.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) >=20 > --- linux-next-20200731.orig/security/apparmor/include/file.h > +++ linux-next-20200731/security/apparmor/include/file.h > @@ -167,7 +167,7 @@ int aa_audit_file(struct aa_profile *pro > * @perms: permission table indexed by the matched state accept entry of= @dfa > * @trans: transition table for indexed by named x transitions > * > - * File permission are determined by matching a path against @dfa and th= en > + * File permission are determined by matching a path against @dfa and > * then using the value of the accept entry for the matching state as > * an index into @perms. If a named exec transition is required it is > * looked up in the transition table. > --- linux-next-20200731.orig/security/apparmor/path.c > +++ linux-next-20200731/security/apparmor/path.c > @@ -83,7 +83,7 @@ static int disconnect(const struct path > * > * Returns: %0 else error code if path lookup fails > * When no error the path name is returned in @name which point= s to > - * to a position in @buf > + * a position in @buf > */ > static int d_namespace_path(const struct path *path, char *buf, char **n= ame, > int flags, const char *disconnected) > --- linux-next-20200731.orig/security/apparmor/policy_unpack.c > +++ linux-next-20200731/security/apparmor/policy_unpack.c > @@ -39,7 +39,7 @@ > =20 > /* > * The AppArmor interface treats data as a type byte followed by the > - * actual data. The interface has the notion of a a named entry > + * actual data. The interface has the notion of a named entry > * which has a name (AA_NAME typecode followed by name string) followed = by > * the entries typecode and data. Named types allow for optional > * elements and extensions to be added and tested for without breaking >=20 > --=20 > AppArmor mailing list > AppArmor@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listi= nfo/apparmor --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEQVAQ8bojyMcg37H18yFyWZ2NLpcFAl8tx1YACgkQ8yFyWZ2N LpeN+Qf+OkvGh9PooJZWP1r+NZGJt4P/B/3fK5qaEZmnHpJafI5S2SIjDeD2N82S t7JYEeRnOCRkoI3awiL0TL4rGQ87mevJKwrZgthbGWdnnb5FBLcOA+R3Xrm1FUtl EXChzjoYe5ObfbGluB4zWJTtFNQNcSgvFnizGqfSrDNLKf9tCXPxgLyJIaR1C7vF JONeSYhvwisK5kgoXXnPUdhfmrPM0OiO7LXWRkeAbta20fp2SaQyRCjEj2itnjOS M5Nd6oILXRi8FW6F1vSmw/XYz3ohR2R/WEAiAdhGK8pMMkqOuSwMoWrItKUr4w4y trBH6c8l432rLmlUFA4Zn0Ve09QKDw== =WcjH -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--