From patchwork Fri Aug 7 16:51:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11705959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44BE113B6 for ; Fri, 7 Aug 2020 16:51:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 27F3B22CAE for ; Fri, 7 Aug 2020 16:51:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="IHOlCsxt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726968AbgHGQvk (ORCPT ); Fri, 7 Aug 2020 12:51:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGQvk (ORCPT ); Fri, 7 Aug 2020 12:51:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15C73C061756; Fri, 7 Aug 2020 09:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=OBTWZQt5vODOTMK+QJG5w+DYxrngWnwJntqbpr+2+EE=; b=IHOlCsxtDgnyWWM8Etp7cnNBgu XcJgvO1LZUPXypIusCtqV1SdpjcXyU9j1cJlDD++rAiriS4539+wAe09OxLKMlD2GvMA4YAFpEhkn 6FjQIqFQSGlYQzMowLC5rf7mEKb7wJlpETBS5L/4/U5Bxy0gWl80p7bBuFJUXlRZ2L6c2ZirMpx42 ZFBnh2hTffCvjd0PjN2HPAp33n6JY/ZqepSEvjs4nWfdeO5tl9lTvFptRlywvyB5rHDaN4ItSnJzr JJB6GXywgdHVI8Qr39RvTFxn9DXx4EeTfRhO8TaHeJ39zIpB+xQQc5co94jMSPMePTH94sm6QqWgC RrOT9GjA==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k45aj-0004G4-ST; Fri, 07 Aug 2020 16:51:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Paul Moore , Stephen Smalley , Eric Paris , selinux@vger.kernel.org, James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org Subject: [PATCH] security: selinux: delete repeated words in comments Date: Fri, 7 Aug 2020 09:51:34 -0700 Message-Id: <20200807165134.3913-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org Drop a repeated word in comments. {open, is, then} Signed-off-by: Randy Dunlap Cc: Paul Moore Cc: Stephen Smalley Cc: Eric Paris Cc: selinux@vger.kernel.org Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-module@vger.kernel.org --- security/selinux/hooks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20200731.orig/security/selinux/hooks.c +++ linux-next-20200731/security/selinux/hooks.c @@ -1978,7 +1978,7 @@ static inline u32 file_to_av(struct file } /* - * Convert a file to an access vector and include the correct open + * Convert a file to an access vector and include the correct * open permission. */ static inline u32 open_file_to_av(struct file *file) @@ -4444,7 +4444,7 @@ static int selinux_skb_peerlbl_sid(struc * * If @skb_sid is valid then the user:role:type information from @sk_sid is * combined with the MLS information from @skb_sid in order to create - * @conn_sid. If @skb_sid is not valid then then @conn_sid is simply a copy + * @conn_sid. If @skb_sid is not valid then @conn_sid is simply a copy * of @sk_sid. Returns zero on success, negative values on failure. * */ @@ -5314,7 +5314,7 @@ static int selinux_sctp_bind_connect(str /* As selinux_sctp_bind_connect() is called by the * SCTP protocol layer, the socket is already locked, - * therefore selinux_netlbl_socket_connect_locked() is + * therefore selinux_netlbl_socket_connect_locked() * is called here. The situations handled are: * sctp_connectx(3), sctp_sendmsg(3), sendmsg(2), * whenever a new IP address is added or when a new