Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2551096ybc; Mon, 18 Nov 2019 00:29:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzsvO1cQdw6+1GK0e/EMxpGDe7lOdJxLKZ4e2hwjPVdFzqe1t7oeILWeNEeKS+vJeCxebpQ X-Received: by 2002:a17:906:344c:: with SMTP id d12mr23986564ejb.227.1574065745507; Mon, 18 Nov 2019 00:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574065745; cv=none; d=google.com; s=arc-20160816; b=vWggrFv9JWnnj0z7objGjoXBenjeLKUctMIKz7cbxh8Aui2UlqFP4KlXizPIuhDHKt 1UPQA9Rwb7EIPJKQ0Va2TKSIJxbKwD+XzZqurKsGNYEJesX1kfEWKTUVKop2VT/ndGTk 5Ta9o9L1YlCqDzOwA3Ec57r+saMRWTvxy1qRAafmGKYoQXLhmnB9yNhu+6LkbYbI8CvJ wtdJo74hkj7FLZs2fbl8mHAYT266oaifCtV4spAdklkTz37/cHxyiyUr5WCWMRISmRVi ZHTwuCv0GMRWEavj4cymL5XdcHiZWLWx/kQ6SwovZfTEMImwbMOY5L+TgMb9aNBMtU5r pzMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mKWF13bVnpHQt91RccJqtGKL4XwZU9GIcfBAsiMOqLE=; b=NuJlDvjH+sfOMSTdi+9qquuSSa++N70sVSua9wiPgWjgqqZwFz7dqMLWzS7i+OiBPV FjLcZv24cIMbgYWuIVLNd1QUWvGOazYx0ltPmIh3eOnBePfKP0YlLMlXpsCOyKaZaoR6 K/P5GKuS+QCBFEs64f0OrowOr8wYYJTR+DBso21akJb/YfCqjiUB/Mg5/dmRUYOUn7JS QXwGMPmZimEtPf0tpCd9XXGkS9dulh0ms7s5aGF/oJtdV8MfjJCZ8hw1GOEhegFQjEWI 9Tupmk30k6PXG5+461eSrCLsS2HQfMPPSlOTS/U7yHyf0D7LgUe6fJ1WGNpVJLcBcq+b j4Eg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y14si11714669edu.250.2019.11.18.00.28.42; Mon, 18 Nov 2019 00:29:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbfKRIYz (ORCPT + 99 others); Mon, 18 Nov 2019 03:24:55 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:49811 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbfKRIYz (ORCPT ); Mon, 18 Nov 2019 03:24:55 -0500 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iWcL5-0000FM-Mr; Mon, 18 Nov 2019 08:24:51 +0000 Date: Mon, 18 Nov 2019 09:24:51 +0100 From: Christian Brauner To: Andrei Vagin Cc: Adrian Reber , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] selftests/clone3: flush stdout and stderr before clone3() and _exit() Message-ID: <20191118082450.5gd65af3o7lttp4r@wittgenstein> References: <20191118064750.408003-1-avagin@gmail.com> <20191118073747.i2kc2vk6opmx4jei@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191118073747.i2kc2vk6opmx4jei@wittgenstein> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 18, 2019 at 08:37:47AM +0100, Christian Brauner wrote: > On Sun, Nov 17, 2019 at 10:47:48PM -0800, Andrei Vagin wrote: > > Buffers have to be flushed before clone3() to avoid double messages in > > the log. > > > > Signed-off-by: Andrei Vagin > > Thanks, Andrei! > Acked-by: Christian Brauner I pushed another small change on top of your changes which takes care to skip clone3() tests whenever the syscall is not supported: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?h=pidfd&id=11fde161ab37f2938504bf896b48afbd18ea71cd Christian