Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp908736ybl; Wed, 11 Dec 2019 09:21:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxQ25aE+NCJBmPrMtKDG3TSySH4Ex2wGgIh1WZIPJTN1KaPAl2L7S6crV1Df0R1dPanFa4z X-Received: by 2002:a9d:7a56:: with SMTP id z22mr3124918otm.44.1576084901563; Wed, 11 Dec 2019 09:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576084901; cv=none; d=google.com; s=arc-20160816; b=gxDf9OzDImBKR5ChxYO5aNCFm6Oia65nz/8BDxy9u2/y4HXLNYR4bdgmXckjuLpNLi qIi/Yuby0kWvjz2rUgzUXCmSQwyHCe9UTGaw9zj7CIgMoMfYWUlV/4UmECMz2H5z0nhO P3/860/eRjjszQRBltn6RZtB1Y0aOxGOKtpcoY57HXli82wMi3dwqCXoNAOf0KW7fA4O wBKds7NZ10iVR+O+G3oW/5PJVXfik92FDjxPg5XLD1gg6GPmjHuBsvA0aqDq7FTvv1UQ 8bMJxNw0vqg8io305FEQjbxYky2127me/g3hrBVDajk62DQljQ0AD2kRyV52q27/GJGG K0eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6F092yHkIn9YTix+Mb3qipxFuvqaabKBGrXLoH5QsFQ=; b=E40aNEGu2IABj5FbQrSoNSPlKSZ9hIMm9A/SytgNKkniYiPasTbfJr13W47d94cf1R myggUIQzK62tyjZN9WYlraror/nhy12n6pjNEBn4RfaNJw/rzO2Iy36e1Ki7TLU8ys6j B8SJU9SESEGs6fctHmhyu6ubP18feFdONuIfQwoyiANQkYNyyqk3DG6nzGVGA7SsKBMw weWYE7kMzfd9dzFaXySV24Le0P+c1qw+A3r9QdKs09+T7wVK5wJH7lVzaOm+iWfPm2og puaM41JFKxN0kjDqLAGlBv4+qZoMWjWxbgM/O2vF1JTY4b/lEQwsEHrsUxz0EMpWBWN2 2sfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L5buTqSp; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si1500515otj.82.2019.12.11.09.21.17; Wed, 11 Dec 2019 09:21:41 -0800 (PST) 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=@kernel.org header.s=default header.b=L5buTqSp; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731037AbfLKRU2 (ORCPT + 99 others); Wed, 11 Dec 2019 12:20:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:52544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730823AbfLKRU2 (ORCPT ); Wed, 11 Dec 2019 12:20:28 -0500 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 296862073D; Wed, 11 Dec 2019 17:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576084827; bh=JHuvTlW3jgbnrHg+UAFqzVHC4Yp7D0o0CKpG2cSfsDs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=L5buTqSpIyBJ5O27cxhTPHfsjWBHU/TFDWCSzbb/yFLNAwYdIwIMK43SuH3x0pMCh Iy18U2IRquRRZaQcgJ/G9xR4YD5/fol2nJTeh3Ulq+Eyq1Ftfb7zqGIkTa1dZwzOc4 ku9cwf+9MRwdPFkJqJjC9RJi+GrGq/RlFEh/9TRw= Subject: Re: [PATCH 2/2] kselftest: Support old perl versions To: Kees Cook , SeongJae Park Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, sj38.park@gmail.com, SeongJae Park , shuah References: <20191202114221.827-1-sjpark@amazon.com> <20191202114221.827-2-sjpark@amazon.com> <201912071047.D7BDF3DD9F@keescook> From: shuah Message-ID: <5e9eb477-6889-e85a-5d4e-a10bfaf8966b@kernel.org> Date: Wed, 11 Dec 2019 10:20:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <201912071047.D7BDF3DD9F@keescook> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/7/19 11:47 AM, Kees Cook wrote: > On Mon, Dec 02, 2019 at 12:42:21PM +0100, SeongJae Park wrote: >> From: SeongJae Park >> >> On an old perl such as v5.10.1, `kselftest/prefix.pl` gives below error >> message: >> >> Can't locate object method "autoflush" via package "IO::Handle" at kselftest/prefix.pl line 10. >> >> This commit fixes the error by explicitly specifying the use of the >> `IO::Handle` package. >> >> Signed-off-by: SeongJae Park > > Good catch! > > Acked-by: Kees Cook > > -Kees > >> --- >> tools/testing/selftests/kselftest/prefix.pl | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/tools/testing/selftests/kselftest/prefix.pl b/tools/testing/selftests/kselftest/prefix.pl >> index ec7e48118183..31f7c2a0a8bd 100755 >> --- a/tools/testing/selftests/kselftest/prefix.pl >> +++ b/tools/testing/selftests/kselftest/prefix.pl >> @@ -3,6 +3,7 @@ >> # Prefix all lines with "# ", unbuffered. Command being piped in may need >> # to have unbuffering forced with "stdbuf -i0 -o0 -e0 $cmd". >> use strict; >> +use IO::Handle; >> >> binmode STDIN; >> binmode STDOUT; >> -- >> 2.17.1 >> > Applying to fixes for next 5.5-rc thanks, -- Shuah