]> 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:25:07 +0000 (09:25 +0100)
commit93136132d1b5792bf44151e3494ae3691cd738e8
treed0b73612139571fd81a36308ad2872811ae3e60c
parentf83b9abee9faa4868a6fac4669b86f4c215dae25
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