Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9118958pxu; Mon, 28 Dec 2020 07:06:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrmFGcIhMVH1RqlOY7z4r56ybbZvppf6StAAVfUmIw2ZNUmpQu2ectADvwfTs2dwh+grZW X-Received: by 2002:a17:906:c045:: with SMTP id bm5mr35714098ejb.190.1609168001643; Mon, 28 Dec 2020 07:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609168001; cv=none; d=google.com; s=arc-20160816; b=oHeio7c+GMrodjrsr81CqDWg1KMBOegrEG+7sV34Tfjn84tvbF5kSIZG1oaXKBBK/L j6S940opHXoWVSxdrbi7J4veewF4G2Q1Tu5VmPYUywKt4RZolD9AjOgpKO8tJwqazN9M gVrEAxkRSFMdhoyjqTwE1tRpURYVs/4IIQ27WWa9zCj+iL+rkSSvRBeG/k8Wq5Sy/ZZk XzoyRCAGkcdBxd8Zn/uryHXfA2tWM3Vfe0thcNt9CnGHDh4bCiXcvXx3pfr4l6QdHza3 1fpLbtyU6nTw5ffTJm2dMBeBuOKpVDobP7t92QG5sdfU7roFqlu3+TnQo3bxHq0xcLbe c1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Mw3P4lLLVf8TEPczuHLZTP3Z6h1MBEnYQVEyVKZ01cI=; b=yT5w0JKNytA5iGsTddxNuX5zQ/Na1VDpkWoyvAimySubx/Rxti3r5rgBYE7rXGHJ2x ybZXioForGP9FkMycwFTJ+Xk2SVYy6E8mRW8ERaanKMZ/eUdBnWdoknQUr8WWfWENqtY jN5ZZt3i/vsSHzD9+ez5wZT5j8FPP0f4azuq6iwxKgJcPApj4aYRiJ4nlHD2QkX2o+xG hBwsmMuTgUlQFbI4uVfnZ1jMJNzCSZEdVHm9nKu5N5zKckYVZblo4m5FkNhBvPgXgOyW E83hHrTIvQh9g7lUzGNbnqpj9VI9fvb0RtZA71PX3TJypbUHh2KQsRC4ip90Igxp5M5Y wZQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zC7eGyqv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si19212322ejo.364.2020.12.28.07.06.18; Mon, 28 Dec 2020 07:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zC7eGyqv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439362AbgL1PDP (ORCPT + 99 others); Mon, 28 Dec 2020 10:03:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:47362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439925AbgL1OMm (ORCPT ); Mon, 28 Dec 2020 09:12:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E2D3F207B7; Mon, 28 Dec 2020 14:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164722; bh=R42JxnFrbs1I+2TTAWOh7qtqeUJOqTTKC4NDAD4O8Sk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zC7eGyqvu0bOPB/fVe6JBQYJpnxuwmhIgBATAKnTEjZHH/6iq7DKKyAklPxULoezE 1Ag+lMQ1Shcqvo5ZiuTncRN7P3rFmBnxLsgLyPlQ3p0vM+ygYXTaaOThH1MLxsQn2q lKkzIkANOlrtvPNsdCOWCvK7mTkNVl9OdIdHVvZo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kees Cook , Shuah Khan , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Tycho Andersen , Sasha Levin Subject: [PATCH 5.10 273/717] selftests/seccomp: Update kernel config Date: Mon, 28 Dec 2020 13:44:31 +0100 Message-Id: <20201228125034.096155803@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mickaël Salaün [ Upstream commit 2c07343abd8932200a45ff7b10950e71081e9e77 ] seccomp_bpf.c uses unshare(CLONE_NEWPID), which requires CONFIG_PID_NS to be set. Cc: Kees Cook Cc: Shuah Khan Fixes: 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace") Signed-off-by: Mickaël Salaün Acked-by: Tycho Andersen Signed-off-by: Kees Cook Link: https://lore.kernel.org/r/20201202162643.249276-1-mic@digikod.net Signed-off-by: Sasha Levin --- tools/testing/selftests/seccomp/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/seccomp/config b/tools/testing/selftests/seccomp/config index 64c19d8eba795..ad431a5178fbe 100644 --- a/tools/testing/selftests/seccomp/config +++ b/tools/testing/selftests/seccomp/config @@ -1,3 +1,4 @@ +CONFIG_PID_NS=y CONFIG_SECCOMP=y CONFIG_SECCOMP_FILTER=y CONFIG_USER_NS=y -- 2.27.0