Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp840474ybh; Wed, 11 Mar 2020 11:54:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuGQ/5/yPoZFI3W7UKbVio8NPFAr4e93WOAF6yeK9t2HLeh7yZGGy3oHsqoBc1qMP3G2S/k X-Received: by 2002:aca:d8c5:: with SMTP id p188mr90151oig.112.1583952877306; Wed, 11 Mar 2020 11:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583952877; cv=none; d=google.com; s=arc-20160816; b=LC4Nv8ZKOu5lkge3LI3b33Svn+JzxQldS6o/IfXXMkXFHuXoVk5uyZK8qRkqICHqHq ISy0A8lahzr15abDRtGUNG8ehYSi4Y9/d6rQjEi0Nwpo6opBqgv4AvcuXH71llYhkfnA hB/XCl8gxN8/YIUhuIqALDEbLMJxzyejMMUHKCZQi2E4t/SaCQPLcTIoR4jt2Vv27KUM l6Y8R7BOmIY+4ZKey4ppiFmt8j42zkoFVUM78fAMXU3HVVxSMPgcKjMlCwJKW/GvHrif shJAq0Hig28cZxZsA9PP3jsPbYN5PBiCDxAJ7Iill49yreWSwkW+GNGwtn57HxJMezST 8/rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VDvnNzuVZRF1OQ+owZ2HapaaeoLU1qYO7HZNkHLtFHQ=; b=mHUQuA0+waYG20E/SOVFHeDGOCGmaUUlqDXFExnlRrgV0v/szIal5twZqsgXXX/96h a6yWaXtOsRCZfZ9L4J2zmCtC79EKOJjMYFdOCJCa4fTjrobi1+enMUwmVMlSJRyvzp0W 0uGHAgdgTEM2nXF/yWiGbYb6jhaHfE0iODgnauh60BacpA0hYRvTz7bP/Yf7gHra6Vb9 xcesUzU7TAlje5aELKcwT5kEMtBPt306WxEac2bp4sIeQUdSUps1br3VH1q+4GIsIYek d2MS4XWJdm067JD9t42X0/KWNYlr6fZCiJuwDwpDaOwTeoLzdLZ2yQZv+YFSn5/1OIqJ quXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gy6OvkUe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si1830591otk.277.2020.03.11.11.54.25; Wed, 11 Mar 2020 11:54:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gy6OvkUe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730938AbgCKSxx (ORCPT + 99 others); Wed, 11 Mar 2020 14:53:53 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43342 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730927AbgCKSxx (ORCPT ); Wed, 11 Mar 2020 14:53:53 -0400 Received: by mail-pf1-f193.google.com with SMTP id c144so1832538pfb.10 for ; Wed, 11 Mar 2020 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VDvnNzuVZRF1OQ+owZ2HapaaeoLU1qYO7HZNkHLtFHQ=; b=gy6OvkUeXGeKaiQsNa9fM23j5TYpXenPdxP8SzNFiO3ORUUU4+FO2hEMgeun8Qne5v vd4GU6iwXK9iudf6/mOVqAbdPSbMtFm1ANBBbYj5HHUy0M6X3mtgb4LMBFtWX8scU8PR Ad9FOFuKRowitYA2nAxkqTi8vG/9U34BWV/2o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VDvnNzuVZRF1OQ+owZ2HapaaeoLU1qYO7HZNkHLtFHQ=; b=ZqaUHp5IKEWxK/qME0Ib6UWMeN/5vlvGcVRF+cqBcXD4pb5KFm9Ugq5xc/IZ3btdl1 f4QEgCBKahvJwrkGQN0Eu2E5eLd7of5kg0+/VHbhMxzw24gjlhHlNA16JrtEf5VxDOQW muTVHLr4VvulZnzesRUt6lSB1ml6Io3NLDPkL64o1ZCt2xhyEdDtkrTgLcfG3crD5IVk uQ2pTcWqX1kmeyFo+5J0ZiNBDb3l4y5I4Y6Rjba9x0gTL7YzqnS50FOHSZ2UT0a+SmHu W0e2BXdjlXVYqSp1vMEO3k/u+z3bPe0AJigKdkv3L1yzq03MR4XUPpXOLg+Y6seNA3bI 75XQ== X-Gm-Message-State: ANhLgQ3eAn6lADfVTiqurJJDSpjcXuWdjEKf1ywgMKRsO5ZkMB9ZTqjr p8HWDtoJEmL5xmFIHg9pfZdzaQ== X-Received: by 2002:a62:cdcc:: with SMTP id o195mr2111873pfg.323.1583952832074; Wed, 11 Mar 2020 11:53:52 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i13sm431770pfd.180.2020.03.11.11.53.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 11:53:51 -0700 (PDT) Date: Wed, 11 Mar 2020 11:53:50 -0700 From: Kees Cook To: Bernd Edlinger Cc: "Eric W. Biederman" , Christian Brauner , Jann Horn , Jonathan Corbet , Alexander Viro , Andrew Morton , Alexey Dobriyan , Thomas Gleixner , Oleg Nesterov , Frederic Weisbecker , Andrei Vagin , Ingo Molnar , "Peter Zijlstra (Intel)" , Yuyang Du , David Hildenbrand , Sebastian Andrzej Siewior , Anshuman Khandual , David Howells , James Morris , Greg Kroah-Hartman , Shakeel Butt , Jason Gunthorpe , Christian Kellner , Andrea Arcangeli , Aleksa Sarai , "Dmitry V. Levin" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "stable@vger.kernel.org" , "linux-api@vger.kernel.org" Subject: Re: [PATCH 3/4] mm: docs: Fix a comment in process_vm_rw_core Message-ID: <202003111153.A77D048@keescook> References: <878sk94eay.fsf@x220.int.ebiederm.org> <87r1y12yc7.fsf@x220.int.ebiederm.org> <87k13t2xpd.fsf@x220.int.ebiederm.org> <87d09l2x5n.fsf@x220.int.ebiederm.org> <871rq12vxu.fsf@x220.int.ebiederm.org> <877dzt1fnf.fsf@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 02:44:10PM +0100, Bernd Edlinger wrote: > This removes a duplicate "a" in the comment in process_vm_rw_core. > > Signed-off-by: Bernd Edlinger Reviewed-by: Kees Cook -Kees > --- > mm/process_vm_access.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c > index 357aa7b..b3e6eb5 100644 > --- a/mm/process_vm_access.c > +++ b/mm/process_vm_access.c > @@ -204,7 +204,7 @@ static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, > if (!mm || IS_ERR(mm)) { > rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH; > /* > - * Explicitly map EACCES to EPERM as EPERM is a more a > + * Explicitly map EACCES to EPERM as EPERM is a more > * appropriate error code for process_vw_readv/writev > */ > if (rc == -EACCES) > -- > 1.9.1 -- Kees Cook