]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: rc: bpf attach/detach requires write permission
authorSean Young <sean@mess.org>
Thu, 13 Apr 2023 08:50:32 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:51:42 +0000 (09:51 +0100)
commitcaf2da1d4562de4e35eedec0be2b7f1ee25d83be
tree77fc5e1c17bdfbf4d51cd58ccf6edfa25bf1343b
parent3cd1d92ee1dbf3e8f988767eb75f26207397792b
media: rc: bpf attach/detach requires write permission

commit 6a9d552483d50953320b9d3b57abdee8d436f23f upstream.

Note that bpf attach/detach also requires CAP_NET_ADMIN.

Cc: stable@vger.kernel.org
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/bpf-lirc.c
drivers/media/rc/lirc_dev.c
drivers/media/rc/rc-core-priv.h