Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp64948lqn; Thu, 11 Apr 2024 14:04:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbd1Elkw0RcYw84F3h0HgrH/B++RD/DuWgyCXkkKfKYYpPG0orO9ecBRbHtevoL1u8HGEe0EkKrysR2KlsgMWmZ5ilqGyvTSbytWm1+g== X-Google-Smtp-Source: AGHT+IEmuciPFNtocat7scWzGuciPqsRZP5SujVhkUBZdWdbsKoDscIry0UmipkzO9rqtodOCmtZ X-Received: by 2002:a05:6122:3c84:b0:4d4:2931:7d4d with SMTP id fy4-20020a0561223c8400b004d429317d4dmr1078968vkb.5.1712869447068; Thu, 11 Apr 2024 14:04:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712869447; cv=pass; d=google.com; s=arc-20160816; b=AsHRb82vycx1dbOhszx9ohskJHyzMA8OFa+lHH8Y0ehkxCtkU/rQAJIU+ceDfHt+81 uE4DVk5JR8AkecpSU7AZnHWwEGQOpVwhi5dZHl4TuxB0u5hzxlLU1rLUb7TGOD20chOQ bSh33tXkcGndXwtDB6+Z7HinEb47GkhQ1HZ7mf+ByzwDZomA18HPYZmDdVAe81Mm6PC2 NuVn36VdeAcQc3OOI2DDz5hJ/8kNffAgO7zYhfkkTVLP8Fl6WgALhM0bagH/Uk+Si+8w eagLcjxfOmdbHYSth3M4HwFLopRYTCe06uIRVRc6cMdeJaZhxyTs/Oc4v5idWAF8ySxz 9bXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=xKSNhAEAUoGr18OfXzKlJNw9tSZ1pFsX9+MsxZurOGo=; fh=gfAh78o7pzufveZHBFF00XPS+kG1nbXNdecUCrGaeOk=; b=OyB+qSus80FGTcUAsVT9b+dguQIRmju9EaJSW8XzCPGcDlh3+BCAYydLVHHK4ivlm4 TYkAl60s5k1n+ajxJcMND7fRHanUzf31XkqjBiP8hHo44YaDMefC2KRvDElu7p2hx/RH VdtdFRRGzyxbJzwhaXzE16lctK+bZGJB/eZB+1vvzysDsy+j4YomE151dpA5qYunAWcL PDrK+0IHGhGwc7pKh0uzUVkzBhNI3gq3OI5ykjWyTJGN1X2w6s9aLHSqM15NH2d94cmy D9/BdRFh2bGISI63+ohTaFLp/FYXge1+b3wWUFsfcU0R17shzInP3k1ooTXe6IEgWYyY jWDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=DccNodpL; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m15-20020a0561023e8f00b00479e7bd4bdasi398643vsv.143.2024.04.11.14.04.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 14:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=DccNodpL; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AB68D1C2178C for ; Thu, 11 Apr 2024 21:04:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AB3A2E3EF; Thu, 11 Apr 2024 21:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DccNodpL" Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AD153D963 for ; Thu, 11 Apr 2024 21:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712869420; cv=none; b=ioXk3LZ3bX+wH3VQOPKBTUWjA6WTzzll+1mnEL3zmbrL8dB57J1Nke5Xt7u8kiw5K/94NQxZXlo7be/mE6TJMOz0VjwMYrN/KD8WQE4P+nxLjAqLm9LI1q1dRjax5Gf2jSjuuyrRWeq6OoFxLtBXFWK4m/zb/5v+iC6S5J3m5iw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712869420; c=relaxed/simple; bh=USS40zQsBMhtx3Ma6IF6kBjkQLS4UZzF4Q8diqd0fBk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gvLndY0b1v1M9NSGETNlA1kKcH+RKIvSxamUSUgaZD6uhbksluS71vGHtuGUQtEzrmtuHnjkDuWZSL6EAxFAJlJE3TBFbhsp+yS3MTRhr8ZLdJ3DcuxoN01tHjdDz+1ywSx9Kzt8JGtsyUh31uuSZehyXYfhEuGra/H/gK+RwYo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DccNodpL; arc=none smtp.client-ip=209.85.166.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-7d67d1073easo4780439f.0 for ; Thu, 11 Apr 2024 14:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1712869418; x=1713474218; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xKSNhAEAUoGr18OfXzKlJNw9tSZ1pFsX9+MsxZurOGo=; b=DccNodpL1nCZSZFcDj776zauWCm3gS/MmS9z49DddHaoIKA0Gam85vX4B3Bqgb+3i0 UD0CbvB39icRexDOmASqdhPu6gOrd3WDUdaHqt7+EL8kc5ih7a6OhTPLTdtYxooyovmo 2nZaHK39Y/jGe9nLP0r3dsRfUCHIJLkZw/X5U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712869418; x=1713474218; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xKSNhAEAUoGr18OfXzKlJNw9tSZ1pFsX9+MsxZurOGo=; b=UUqqCnWZxFYfQmFPSo3Jb00QT3gLd05AEmlnndqdpTOhc+uV9WmDZvD5qlW5jRKBg8 PVMyFY3pbjh0yl6E2yOYtBix2nW+5RCgf2HUuQR+50UxSXHuGS0q7BXAzGosNusU8Khy cqXjV/JiQBJpCtSowipvYZ6Dfm60+pi3t6eqF72AkpF0wLJ5+z69u7So9p1pvkjEm3F2 FnaAwbjv6nEOTYESwMTCg1bbaPIOeYsfF2me992yCAznxoP6/oTHmmqQIORKuWFI6ujO CgX8WXAsHnlF/jFgOoShOqFBx0Phdmk2RQI3LPNEcROKLtjoUWy3WRtHMPNj+x0wiINJ 3htw== X-Gm-Message-State: AOJu0YxeYXIdJ0bHZM2yg72rd2xo4afV5Q7XyM5zAxPOXBAnNcM8BvgG qUwhCzRSugme37PwkmVnJUBles0ASiaXZXsR0xr4Gu+HwlSWirvohsN+my34FXA= X-Received: by 2002:a92:4b01:0:b0:368:80b8:36fa with SMTP id m1-20020a924b01000000b0036880b836famr657225ilg.2.1712869418258; Thu, 11 Apr 2024 14:03:38 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id a18-20020a927f12000000b0036a3636ec23sm582207ild.10.2024.04.11.14.03.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Apr 2024 14:03:37 -0700 (PDT) Message-ID: Date: Thu, 11 Apr 2024 15:03:37 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] selftests/clone3: Correct log message for waitpid() failures To: Mark Brown , Christian Brauner , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan References: <20240409-kselftest-clone3-waitpid-v1-1-2b31e4aaac16@kernel.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240409-kselftest-clone3-waitpid-v1-1-2b31e4aaac16@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/9/24 14:40, Mark Brown wrote: > When logging an error from calling waitpid() on the child we print a > misleading error message saying that the error we report was returned by > the chilld. Fix this to say the error is from waitpid(). > > Signed-off-by: Mark Brown > --- > tools/testing/selftests/clone3/clone3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c > index 3c9bf0cd82a8..eb108727c35c 100644 > --- a/tools/testing/selftests/clone3/clone3.c > +++ b/tools/testing/selftests/clone3/clone3.c > @@ -95,7 +95,7 @@ static int call_clone3(uint64_t flags, size_t size, enum test_mode test_mode) > getpid(), pid); > > if (waitpid(-1, &status, __WALL) < 0) { > - ksft_print_msg("Child returned %s\n", strerror(errno)); > + ksft_print_msg("waitpid() returned %s\n", strerror(errno)); > return -errno; > } > if (WEXITSTATUS(status)) > > --- > base-commit: 8cb4a9a82b21623dbb4b3051dd30d98356cf95bc > change-id: 20240405-kselftest-clone3-waitpid-68c4833cf5ff > > Best regards, Applied to linux-kselftest next for Linux 6.10-rc1. thanks, -- Shuah