Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Mark Brown
Mon, 16 Nov 2026 15:22
linux-next: manual merge of the bpf tree with the origin tree
Author: Mark Brown
Date: Mon, 16 Nov 2026 15:22
Date: Mon, 16 Nov 2026 15:22
64 lines
9571 bytes
9571 bytes
--fvrkY8uIEiwoI8vX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
Today's linux-next merge of the bpf tree got a conflict in:
kernel/bpf/bpf_lsm.c
between commit:
ea8c4b37b8809 ("bpf: don't mark namespace_init and namespace_free argumen=
ts as trusted")
=66rom the origin tree and commit:
ab86b62012b9e ("bpf, lsm: Mark backing_file_alloc/free LSM hooks as untru=
sted")
=66rom the bpf tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc kernel/bpf/bpf_lsm.c
index 468e63dbd922d,f39a3766f2245..0000000000000
--- a/kernel/bpf/bpf_lsm.c
+++ b/kernel/bpf/bpf_lsm.c
@@@ -411,8 -411,8 +411,10 @@@ BTF_ID(func, bpf_lsm_bpf_map_free
BTF_ID(func, bpf_lsm_bpf_prog_free)
BTF_ID(func, bpf_lsm_file_alloc_security)
BTF_ID(func, bpf_lsm_file_free_security)
+BTF_ID(func, bpf_lsm_namespace_init)
+BTF_ID(func, bpf_lsm_namespace_free)
+ BTF_ID(func, bpf_lsm_backing_file_alloc)
+ BTF_ID(func, bpf_lsm_backing_file_free)
#ifdef CONFIG_SECURITY_NETWORK
BTF_ID(func, bpf_lsm_sk_alloc_security)
BTF_ID(func, bpf_lsm_sk_free_security)
--fvrkY8uIEiwoI8vX
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmr7H6MACgkQJNaLcl1U
h9ArJwf/eJ7v7poUUl6J4nNn9ZaW7mYmlyQgaI/TcpTK1dKXNNV62yXgBEVDCQ9C
BzIB0VFocK7OwmWM1lSxF5vi3847m6l9QPrpjSgV1hUVtA4VX7S0lnwsDc62LF93
/wpb/iNbJ1+CjlVxD6i33j6vEd8rjG8JGfDp7DinSYOmDT7XRzPMinL9yVa/jRAS
xcJPnchoAVOM3mj7dejmRuSqxvRVc4WzAAztR2lBcIuExxhkszDHWS5tGVJfHfL3
iGRPzZ36ehECqGrHjAbxR4yy2FKVCywRQrKnZHE+EFAxBJ9x9CNWU1YUk1iKSyob
d4Ogb58Sr3nVc4O6FzdlRh3NXb8keg==
=Mgdt
-----END PGP SIGNATURE-----
--fvrkY8uIEiwoI8vX--
Re: linux-next: manual merge of the bpf tree with the origin tree
Author: Alexei Starovoitov
Date: Mon, 16 Nov 2026 16:02
Date: Mon, 16 Nov 2026 16:02
42 lines
13355 bytes
13355 bytes
On Mon, Nov 16, 2026 at 07:22 AM Mark Brown <broonie@kernel.org> wrote:
> Hi all,
>
> Today's linux-next merge of the bpf tree got a conflict in:
>
> kernel/bpf/bpf_lsm.c
>
> between commit:
>
> ea8c4b37b8809 ("bpf: don't mark namespace_init and namespace_free arguments as trusted")
>
> from the origin tree and commit:
>
> ab86b62012b9e ("bpf, lsm: Mark backing_file_alloc/free LSM hooks as untrusted")
>
> from the bpf tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> diff --cc kernel/bpf/bpf_lsm.c
> index 468e63dbd922d,f39a3766f2245..0000000000000
> --- a/kernel/bpf/bpf_lsm.c
> +++ b/kernel/bpf/bpf_lsm.c
> @@@ -411,8 -411,8 +411,10 @@@ BTF_ID(func, bpf_lsm_bpf_map_free
> BTF_ID(func, bpf_lsm_bpf_prog_free)
> BTF_ID(func, bpf_lsm_file_alloc_security)
> BTF_ID(func, bpf_lsm_file_free_security)
> +BTF_ID(func, bpf_lsm_namespace_init)
> +BTF_ID(func, bpf_lsm_namespace_free)
> + BTF_ID(func, bpf_lsm_backing_file_alloc)
> + BTF_ID(func, bpf_lsm_backing_file_free)
> #ifdef CONFIG_SECURITY_NETWORK
> BTF_ID(func, bpf_lsm_sk_alloc_security)
> BTF_ID(func, bpf_lsm_sk_free_security)
Thanks. The resolution is correct.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads