From nobody Fri Oct 2 02:30:52 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 D98C73ED10F for ; Wed, 5 Aug 2026 21:33:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785965637; cv=none; b=GiAmhS7RmDbmodwspHq/dryCfxNONwmgy1LCq5lB4uIfeA8yVvshFuGNHwCs1VDcZ/0TpJ1KmHuK2wXKf+Mp7804nt2WZK1VNYj5ovyeHFNkwt13U3pmsp5zmEnYUG+Tvc6F+5qgEJdTgcvIKpeebndLJreeJMkSvwo/XVdufQ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785965637; c=relaxed/simple; bh=TDMvv8K0Op1te0I9Iv7+BTV9qR9g/7cEZdwQd8o2muE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Q3TnnndJR4UHp0oakhuqUj2Kc4O6g/tAgGy6T2bZx0uieO0E2Gwq93CnJswkyikBMBTXfx/OUPI3i49THTsrrh4hye2h40Y0ucYLHObuOxkAFdSv2GQicLzcYlKEaJrlFzue1YfdLOIZ3a8ATykhJ1ymWuecMnFiQ7TZCigr8dw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fYOuaaSG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fYOuaaSG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96F691F000E9; Wed, 5 Aug 2026 21:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785965635; bh=Dm0UYyFHV+UnDdfSgwXNF6VO4sFMr/Yoe8Q66agRcWs=; h=From:Date:Subject:To:Cc; b=fYOuaaSGvpCnQB18dQ2kxtF1VPi8CkZsTYVIkNOz1I7HK1RwkmdjiJYTYdYoPDqds ihwQFW5B0KHTVowEKR2ZLa2oh0AaveRYAvmkLZOWWY9lhO7f1M0r+OAfh3JfaLVxLv Qk2VW4dD/DPTwUxE06XHX3wULZv20W47Sos13vsoBGQebuIT3h1J6LYLfbcuyANe2d M7bFgnxW+1nhoGiZUGgJEtp0/nZRUzLrLW+SULMBpdKZdKWqAQQBPxIxvSmp1X/SZf QdQWpvU0rGiXXV6Tv0WZqUkOv5mXDr/FFtdk3I+YVKGJagNtIu8486zM6u6hnZJZl4 gvMoQxIHsjUJA== From: Mark Brown Date: Wed, 05 Aug 2026 22:32:23 +0100 Subject: [PATCH] tools: Ensure tools copy of linux/filter.h exports the UAPI Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260805-arm64-selftest-fix-filter-h-build-v1-1-c29648ee3126@kernel.org> X-B4-Tracking: v=1; b=H4sIAOarc2oC/yWNQQrCMBBFr1Jm7cAYbCJeRVwkzdSOxCozqQild zfq4i8efN5bwViFDU7dCsovMXnMDfa7DoYpzldGyY3BkfN0pB6j3v0BjctY2SqO8m4rlRUnTIu UjNHnGByFnlKA5nkqt9evcb782ZZ046F+xbBtH/MzoNSFAAAA X-Change-ID: 20260805-arm64-selftest-fix-filter-h-build-a6da720750b7 To: He Kuang , Wang Nan , Arnaldo Carvalho de Melo , Jinjie Ruan , Will Deacon , "Peter Zijlstra (Intel)" , Alexei Starovoitov Cc: Aishwarya TCV , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1297; i=broonie@kernel.org; h=from:subject:message-id; bh=TDMvv8K0Op1te0I9Iv7+BTV9qR9g/7cEZdwQd8o2muE=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBqc6xA9K8rPu/1e8CNqM2WCFWyGrMhb0SxZzcbS V8JdRbgmIuJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCanOsQAAKCRAk1otyXVSH 0Br8B/43OcvEDXSjZ9e7+D8qlKFmMDggLGoNBqNhQSuCL/iLsyQrrDMdgLMdWtUshSDUZSl6qOy jtIqN9mnhCuaAdQOGa4x+M9JZ+ZZyp3KZEOq7youl2lqz+7+da1EtwO4+mX0ZGNf5/sCoua3nBL dX97HEJReq0k0KEoA4SF10DNYOt/hYvxHBCTz/HbOJypBrCAwnJbKRPW/z+9D8+jvKhx9vFiY+b KwP9pRJM3hJrwqRvUNu7ratE/ydR+asxT8P7TuSTSaFt3RZJ53LrKzaoncyNI76dr4RMlfRO6Jn c/mcADz6hBQDp47WTa/o/VvZHavODlhACalJZpHXdEch7PZj X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Normally when there is an include/foo.h and an include/uapi/foo.h the non-UAPI copy includes the UAPI copy. This is the case for the in kernel copy of linux/filter.h but not for the copy in tools/ which results in build breaks for the newly added arm64 seccomp_ptrace_x0_bypass selftest. Add an explicit include of the uapi to fix the test and avoid future surprises. Fixes: 2fcbc4adf997 ("kselftest/arm64: Add seccomp ptrace x0 bypass test") Fixes: f143c11bb7b9 ("tools: bpf: Use local copy of headers including uapi/= linux/filter.h") Signed-off-by: Mark Brown --- tools/include/linux/filter.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/linux/filter.h b/tools/include/linux/filter.h index bcc6df79301a..4ead4e72097c 100644 --- a/tools/include/linux/filter.h +++ b/tools/include/linux/filter.h @@ -6,6 +6,7 @@ #define __TOOLS_LINUX_FILTER_H =20 #include +#include =20 /* ArgX, context and stack frame pointer register positions. Note, * Arg1, Arg2, Arg3, etc are used as argument mappings of function --- base-commit: 2fcbc4adf99790564b83381b2f239294185603d5 change-id: 20260805-arm64-selftest-fix-filter-h-build-a6da720750b7 Best regards, -- =20 Mark Brown