Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4045158pxf; Tue, 23 Mar 2021 00:45:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGRofbNHp/HjcfGgM9SDc4H7ULqRPQ8hGSvXnCpErqxnX2dMXAVS6/PwZrlo/9jYM3529M X-Received: by 2002:a17:906:f247:: with SMTP id gy7mr3694214ejb.183.1616485556224; Tue, 23 Mar 2021 00:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616485556; cv=none; d=google.com; s=arc-20160816; b=D0/gpFUhf28GF2tmPujWBn2kBleF3rryP4WtwuyODpCm2LPH6eqbAAAcMp320mG5s/ dm5ALQKTIb5xMkE1lQYQTd67G9EOIGiOe1wyV3YvoA7exGjF5meZ3z1pYfv3FRhNX/s+ 2u7iosZ9Ql0Lt2u9MhC4iLGmoJ47LexU9AjApZhrhoIM0hGvw9Icz91sy1crxy0LVSXA 39+/7MVK4piACFcnCDqxnPsScsiOCX4mVwXIhBFjcOXsyIeBXU68YMSykaEIQfWG65tS 5lnwfwWTeCKi86u3T+kiP4xZ4+Z+TugQLfsWVoopAeSt7Rm92sUUoSpvk8oAOmpN550u s2Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jZ8O9HW5IIQoJnCMuDYTUYenFaWgk4SuWyznvM7QwLA=; b=DaMqCQcbqZoDSnqtHS1tDFhSeMfdFuw+B1/QH0a0oDmd+85nKwaVwZcCLWgcq0slig KlDx0XV5yOFaciaTnYkRtLJwP1BkSW+/LFh4Ns7SqY4gtVHtXYQV4M+1ibP3cu9XTegM rKmfK58zkoD7jwkQ5GgijS3j/KbXlqQJEmm4uLstAvZnTO5lvyO2wkQ2Q1PYNhQp5KXV CtpQsEpgyL4718rlg4znc3yFn0zG8mA8s+jCnDapJhJb8tFPhZ1bDaM3FvPDfpHcBrZx wXXAPahOu1/zdhdsZqYvV7NxIiFgoV9qCX3T/V0Nl4O7DBdhrxWLB65qkAKZFS7ZbeC+ f8sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QXvvixWm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a23si13150720ejx.146.2021.03.23.00.45.32; Tue, 23 Mar 2021 00:45:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QXvvixWm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhCWHme (ORCPT + 99 others); Tue, 23 Mar 2021 03:42:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbhCWHmL (ORCPT ); Tue, 23 Mar 2021 03:42:11 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB760C061574; Tue, 23 Mar 2021 00:42:10 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id c17so6520492pfn.6; Tue, 23 Mar 2021 00:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jZ8O9HW5IIQoJnCMuDYTUYenFaWgk4SuWyznvM7QwLA=; b=QXvvixWmQ5A4SI/WmqRAb3RBse5on6JPxiZz2bjr/L4KSNI4koe1B7kuXKATQ7p4KY 8B/fJV9ZiGxjyxzvstZZioPoDcc554Upm8O89uVESfH93OzLoCgRmJx+tZvJJM9EhGkV lWr4+OwGO69eZUxESu5ILYCD0n5X8N6IqxBNQKcjSsvNM4XQXa5G9cw1Rml2JFmAJxja AgcZcSQbDmIgS99EFfGlek9gAudiorFSH4oUj48UgQjDluqaQxxPzity5yIFcg5KJdos ii13JZiaC6PYEGYo7GDoqMyj0QILHtCxrMYFQlvNGh5j/inWi3DNvX56D24mjPxmHh98 zT9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jZ8O9HW5IIQoJnCMuDYTUYenFaWgk4SuWyznvM7QwLA=; b=tWIcfm3Uy900oyWAAEasWs43maYRlElgkb8gUsC6WOaytztEjuFjJijVfg9ipEDH0Q qXK1OWh1gbWzCFkHXDUwKp5lHGOGf4mCW1dTnJ5ptsawC9aplOFiqdo98i1SC9a7Meie T1xmFgQC7cSYG7a0+F1jh6t9GP4NXovlv5b4dMgzsCsU34aJFRKOIbrLieCBwMSRS/gF mtj0iBRbyri10ia58qlia+xfQOPeHQwFCjALuWp7QtUIj1kqNKA4wdbYPjXsDdkX0Qz2 DE+lxaTZJn9P+jEuIpOySDilzPA7XMITcZroJ7ZUFeww5YcllTWGijyNqK8BvW5rraw+ oouQ== X-Gm-Message-State: AOAM530dhKdul0YRMv9r/PmIeBUDGB5b28Tgl/d+ihzWxeJpHs8LJbuM Qzehsd0CV9PW6i3QXMt4m7g= X-Received: by 2002:a62:fc06:0:b029:21d:17f7:31c4 with SMTP id e6-20020a62fc060000b029021d17f731c4mr743118pfh.61.1616485330523; Tue, 23 Mar 2021 00:42:10 -0700 (PDT) Received: from DESKTOP-4V60UBS.ccdomain.com ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id g3sm8985067pfi.31.2021.03.23.00.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 00:42:10 -0700 (PDT) From: Xiaofeng Cao X-Google-Original-From: Xiaofeng Cao To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Xiaofeng Cao Subject: [PATCH v2] fs/exec: fix typos and sentence disorder Date: Tue, 23 Mar 2021 15:42:12 +0800 Message-Id: <20210323074212.15444-1-caoxiaofeng@yulong.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org change 'backwords' to 'backwards' change 'and argument' to 'an argument' change 'visibile' to 'visible' change 'wont't' to 'won't' reorganize sentence Signed-off-by: Xiaofeng Cao --- v2: resume the right boundary fs/exec.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index 18594f11c31f..5e23101f9259 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -536,7 +536,7 @@ static int copy_strings(int argc, struct user_arg_ptr argv, if (!valid_arg_len(bprm, len)) goto out; - /* We're going to work our way backwords. */ + /* We're going to work our way backwards. */ pos = bprm->p; str += len; bprm->p -= len; @@ -603,7 +603,7 @@ static int copy_strings(int argc, struct user_arg_ptr argv, } /* - * Copy and argument/environment string from the kernel to the processes stack. + * Copy an argument/environment string from the kernel to the processes stack. */ int copy_string_kernel(const char *arg, struct linux_binprm *bprm) { @@ -718,9 +718,9 @@ static int shift_arg_pages(struct vm_area_struct *vma, unsigned long shift) } else { /* * otherwise, clean from old_start; this is done to not touch - * the address space in [new_end, old_start) some architectures + * the address space in [new_end, old_start). Some architectures * have constraints on va-space that make this illegal (IA64) - - * for the others its just a little faster. + * for the others it's just a little faster. */ free_pgd_range(&tlb, old_start, old_end, new_end, vma->vm_next ? vma->vm_next->vm_start : USER_PGTABLES_CEILING); @@ -1120,7 +1120,7 @@ static int de_thread(struct task_struct *tsk) */ /* Become a process group leader with the old leader's pid. - * The old leader becomes a thread of the this thread group. + * The old leader becomes a thread of this thread group. */ exchange_tids(tsk, leader); transfer_pid(leader, tsk, PIDTYPE_TGID); @@ -1142,7 +1142,7 @@ static int de_thread(struct task_struct *tsk) /* * We are going to release_task()->ptrace_unlink() silently, * the tracer can sleep in do_wait(). EXIT_DEAD guarantees - * the tracer wont't block again waiting for this thread. + * the tracer won't block again waiting for this thread. */ if (unlikely(leader->ptrace)) __wake_up_parent(leader, leader->parent); @@ -1270,7 +1270,7 @@ int begin_new_exec(struct linux_binprm * bprm) /* * Must be called _before_ exec_mmap() as bprm->mm is - * not visibile until then. This also enables the update + * not visible until then. This also enables the update * to be lockless. */ set_mm_exe_file(bprm->mm, bprm->file); -- 2.25.1