From nobody Sun Jun 28 05:30:28 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8EA5C433F5 for ; Fri, 11 Feb 2022 16:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351016AbiBKQKT (ORCPT ); Fri, 11 Feb 2022 11:10:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349016AbiBKQKH (ORCPT ); Fri, 11 Feb 2022 11:10:07 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B042ADAF for ; Fri, 11 Feb 2022 08:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644595793; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Yo4Sk1DNzPgxEb2veYDAeixTMuiv+VmABtkS2yiJEuI=; b=FyPJ3zssOC6h+Jy6OB1f/qaeax+fHarEoCZpkvsCkIoAr5U2I9J5aeGOHQFe1kkAibn0XD x2f8HuR36x9NqpCrKwAj1ANF4tkyNZXc0yFjlMkWQCon6sS7bmQamHhGjVKVcVfMgCZWCB bakPA8Z6IcCMBErwGEKnva9mBBrkHWA= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-410-6SfmewpMPo-srShf8OX22w-1; Fri, 11 Feb 2022 11:09:52 -0500 X-MC-Unique: 6SfmewpMPo-srShf8OX22w-1 Received: by mail-oo1-f69.google.com with SMTP id c124-20020a4a4f82000000b002fb4087a29fso5853391oob.20 for ; Fri, 11 Feb 2022 08:09:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Yo4Sk1DNzPgxEb2veYDAeixTMuiv+VmABtkS2yiJEuI=; b=Wn9Vv7kLhBskpwpP/Mxb8fqyNQUtxLPm9J90TphkVUGntfgsBvZQi0LjWYWxWnsIk8 M9ImyWIcovql2VRuICfOszFDO3EKbkzH0sF7mbaqc8V7/mtLaJNnullpML0HHmBqTP0y VkqQsmGgUxCd1blUx7825AceTg6L+P7T0P2YFVC5bFefUSEYh9/sG6xVbUT9A58wIMpY BgzbA6RDXMjEfZFaj5l4jECRaP204HX7mSlY9ZORQrrwpRd8ByIkDSMH+KRtvbA8AhbO 3T3UpGeIztBvLURrBbSqOS6b47vlVL24wS53SDwxJd7cKfnGr56phObSpF6+/uww8mLU CYdQ== X-Gm-Message-State: AOAM531px9LcD1wiJ2jqg3fjL1AOnbgKQW71dXk3wSZTwy9eUGVT8aU5 UG6nELrhATFR7373cTAEu1EySUBCwD/UWMWUCtS/cWv8xdYml6Jwcq7FyUevFY3zHzRBucHX0gq xCGjtL2S7/Qd/JR2on3E/P/cE X-Received: by 2002:a05:6870:12d0:: with SMTP id 16mr369563oam.317.1644595791754; Fri, 11 Feb 2022 08:09:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpB1h3el2cw+8MNyOUZeHsQWg8geBveybUftGpXm91hOunXzNp9BtY4zlGnmoPSTmuLr2jUQ== X-Received: by 2002:a05:6870:12d0:: with SMTP id 16mr369549oam.317.1644595791477; Fri, 11 Feb 2022 08:09:51 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id bf15sm10173664oib.32.2022.02.11.08.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 08:09:51 -0800 (PST) From: trix@redhat.com To: ebiederm@xmission.com, keescook@chromium.org, viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] exec: cleanup comments Date: Fri, 11 Feb 2022 08:09:40 -0800 Message-Id: <20220211160940.2516243-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Tom Rix Remove the second 'from'. Replace 'backwords' with 'backwards'. Replace 'visibile' with 'visible'. Signed-off-by: Tom Rix Acked-by: Randy Dunlap --- fs/exec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index 40b1008fb0f7..8256e8bb9ad3 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -118,7 +118,7 @@ bool path_noexec(const struct path *path) * Note that a shared library must be both readable and executable due to * security reasons. * - * Also note that we take the address to load from from the file itself. + * Also note that we take the address to load from the file itself. */ SYSCALL_DEFINE1(uselib, const char __user *, library) { @@ -542,7 +542,7 @@ static int copy_strings(int argc, struct user_arg_ptr a= rgv, if (!valid_arg_len(bprm, len)) goto out; =20 - /* We're going to work our way backwords. */ + /* We're going to work our way backwards. */ pos =3D bprm->p; str +=3D len; bprm->p -=3D len; @@ -1275,7 +1275,7 @@ int begin_new_exec(struct linux_binprm * bprm) =20 /* * 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. */ retval =3D set_mm_exe_file(bprm->mm, bprm->file); --=20 2.26.3