Re: [PATCH v3 1/2] kselftest/arm64: Add seccomp ptrace x0 bypass test

Mark Brown <[email protected]> Thu, 6 Aug 2026 12:58:39 +0100
Newsgroups org.kernel.vger.linux-kselftest,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Aug 06, 2026 at 04:22:31PM +0800, Jinjie Ruan wrote:
> 在 2026/8/5 23:04, Mark Brown 写道:
> > On Tue, Jul 28, 2026 at 10:11:21AM +0800, Jinjie Ruan wrote:

> > The relevant definitions ought to be being picked up from here, there's
> > a copy of a current version in tools/include and has been for a while
> > (since at least v6.18) but there's no Makefile update to ensure that
> > gets picked up.

> Will add -I$(top_srcdir)/tools/include to CFLAGS for this test.

It turns out that's actually getting pulled in already - the issue is
that linux/filter.h doesn't include uapi/linux/filter.h and the
definition is in the uapi header.  I sent a fix for this yesterday.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp0du8ACgkQJNaLcl1U
h9AvDwf/fQZl+XgNBHgNp8Whb+LhD5qXRzfbnZn8Rj+a1RP0C6qrKxHB0clVOlWg
UDkOIK3qALyXI2VivsHf3CLJPVVD9vGRnqvYe3ZFH88KcHsQGvsKYjo3OB50Iw3u
4sqjREgnWhdVBWQIbUDudgV5o71l7EDuzCqEo9t7cnbYdcOwMVITaqMp1p6hzWIi
LyvcB4XiayAsGcUIFjOQctHLVpfOxleL0JAGSTeHEqMWjDLtJfuebUUqvK29hT6I
RUIdoxwdtivcwZN9hWUN56+1sJKFWFZbn+w6qY00iIy6drwLKafX78E5CgUyUcyc
qLov6Jd+xvES3sJpZ4MaV6p4X84mgQ==
=dtmO
-----END PGP SIGNATURE-----