Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1062381lqs; Wed, 6 Mar 2024 05:25:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWBF45za8O/hyVKRqmxhLc2e+m2sIhOORhDl2wpUVVfyqQbyTzo3h0FEnPgtrfFH0hEaDHf7HxObiHZLlbSk0+PWg1fmo8qVs3jqRKblA== X-Google-Smtp-Source: AGHT+IEFA8s2shpVIFOWTOycmWO/dJT34Q1FOozjmSyj6KWDgut1v7/3R4tNM1DfMrWEeGjFKaMc X-Received: by 2002:ad4:43c1:0:b0:690:99ac:e6f1 with SMTP id o1-20020ad443c1000000b0069099ace6f1mr717558qvs.25.1709731538636; Wed, 06 Mar 2024 05:25:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709731538; cv=pass; d=google.com; s=arc-20160816; b=g78hPqKpidm8oWxiZmJQQBWAOBvhxpYrVvDvSbXeqnRWnzXc8Yi8UgFj7YAyOY4/Hv l4wlhDpKFPropCYQWvXKr2HW9wExt69kNQvCtYX9bibhgwPNcmuG0g6tfa8Fgw1pPVT3 ILSZVDpHmbZXrEe486bpJLp7WgOcW/odRpSq8triiArsTJntKv8zFneX6pnt8ixeFvUc 5AitIvy3kQAIO2n7Nv+NUo6PCavyrFVL6DALwEKRX+RZqepR/0YfbZjo9uVMMVUnDm/Y k3mgXwZJRXeaXuOvH1/dED7pyM1rnx9eH+5FHcqWW29p3t0rD9DEzx408ozCqkpArGAB +2bQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yDqMkHjPc5+obopw05NWy4GhrFIDPZLcrZhaJuWr/nI=; fh=mYDEEsI5SntAfYR+juth2Ft2yxlMPg9MAEn87OpEDvo=; b=tgE9AUzUiGxHjkTd9x5QtzGbThTD96NsO8r2/pEnC4IoeyivA3xkVrMHaFvvzV4Rfw 6YvAAb+LsP0vtn8zKfVDqJarR596NbYIe14Ag7B2gk8Ozu1Kt8gg76/b9+dGr88teIeY x1bIZ/TWVXiFLbdF7Tv9DdEqpVlRQKAeh8+FMP5tQh6jifu+uUsagz5s44vY38pyL4KG Vc16e27NJRB7oB6sI8kvN6oFvBKKWHuijDUq5kqOAnz9rB3nDuKbvAVRaAgd/3DtS8W/ XigQqokPdWciYZZkmny0a94rvlTd0gsgIwgk1Vopw2FYwIOL7yDVNz1NyTYnfXc04mFo Cx6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t/ph4DFX"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 1-20020a05621420a100b0068f07ff2506si14039633qvd.223.2024.03.06.05.25.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 05:25:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93972-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=@kernel.org header.s=k20201202 header.b="t/ph4DFX"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 5CF691C20832 for ; Wed, 6 Mar 2024 13:25:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF5E1130E4F; Wed, 6 Mar 2024 13:25:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="t/ph4DFX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0110612D1FC; Wed, 6 Mar 2024 13:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709731528; cv=none; b=cq4hUFUlQeAx1QULfcdVsT2MM0j+jgti3POOskFaGQOXqo2Ti+TMoUCFJHQGpdf6g+B9iJePOQS0BEQqcHm/3xlmTOEbNvTBrZTz1mSQ/+vJbCflb2M2bH/AGWyqVpaXUZ4ThIMl2FBeH1sqP0ET5WpGecqCskC9OLb7VTF8y2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709731528; c=relaxed/simple; bh=Kh2Ebket9d7as8vvmamHqBCPWWX5EhjBSevupRPlaz4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g+Nl2C4d2h6AuaAsAIXmG5cdkMWrq+bYALxVwz18z80BHs48bAtD8CzzFWaRGFhGqSuDVfdy7o5etMFWcwQ1pnSQynQGpgj70IqA2xU6g6u3pIP0U7BregWFIvtaUrZ+7H7FoZKaFDTw8jZwppQHL22/dKUBk1LJR0jN1Y4+HPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=t/ph4DFX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC03EC433F1; Wed, 6 Mar 2024 13:25:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709731527; bh=Kh2Ebket9d7as8vvmamHqBCPWWX5EhjBSevupRPlaz4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t/ph4DFXRJayQ2ild59MfAIg4bBwulm8dokY6du0gkP38qfJjeNu9e3M4CnsQQrSn 7ZCclJa2ZKqZVGrnx+laqKhPQ1Ei8UDVONnDK9Xl+gZjSDKsiD0+2JlyC6ad2jACsP JWGaTYNXyM1zNdO01MKlxZZK22MADH2pJMtNapy9b8HlS1tLZiyho6miaiK8qOU8kb 7JnwL0eRsAe3sMq3STq1wWaCq3DgvusO0vzVRK67kxhawc2W3K3JRZMTzuX+j2NLfc fKTcZ2KYBWSCwwbvCwTa2ctAnbXLQlGQRKeSbyIkjy0dEPvzV9QSrDHQUucg5JwOvD LC5vuGPTGFoVQ== Date: Wed, 6 Mar 2024 13:25:21 +0000 From: Mark Brown To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: "David S . Miller" , Jakub Kicinski , Kees Cook , Shuah Khan , =?iso-8859-1?Q?G=FCnther?= Noack , Will Drewry , edumazet@google.com, jakub@cloudflare.com, pabeni@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-security-module@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] selftests/harness: Fix TEST_F()'s vfork handling Message-ID: <56384a64-2570-41b2-b76e-cc57fe76710a@sirena.org.uk> References: <20240305.sheeF9yain1O@digikod.net> <20240305201029.1331333-1-mic@digikod.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zxX3NQjSxvpOqvOM" Content-Disposition: inline In-Reply-To: <20240305201029.1331333-1-mic@digikod.net> X-Cookie: Have at you! --zxX3NQjSxvpOqvOM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 05, 2024 at 09:10:29PM +0100, Micka=EBl Sala=FCn wrote: > Always run fixture setup in the grandchild process, and by default also > run the teardown in the same process. However, this change makes it > possible to run the teardown in a parent process when > _metadata->teardown_parent is set to true (e.g. in fixture setup). This fixes the seccomp isues for me, thanks: Tested-by: Mark Brown --zxX3NQjSxvpOqvOM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXobsEACgkQJNaLcl1U h9DG3wf+MinaM5BXBAhG5DvbveKvr85agXlt4D40zkDCyRFyyvHtX2j333Z67i/M 421U3rDVDcc+MEs2MgTMuMtNjC47gWyuj8/OUcEYr/1iYTRVNWbWyCYky7Ex3tqh gJxcqOKdU92AOPM7tNnQtp96fQvhR5QKfW5uQYFr9m4o5Ou/ROr5+EqSD2PohUBr k7YO7qnnR4IObGoVh6IClvYfvFjRmJcPsgJMtvIUbxb4wbbhhfEITSv7wGorKw2Y uHheAKDk7LnOLfFx+nUHIZrNeZ+lg2WWt8/gYZNv3YRUIzQ3OkEsW2XbgezOze+z 9L9tGVrWqEcMsu9RNjQCk6wU0vBfMQ== =zkdw -----END PGP SIGNATURE----- --zxX3NQjSxvpOqvOM--