]> 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 07:42:27 +0000 (08:42 +0100)
commit93d8109bf182510629bbefc8cd45296d2393987f
treebfd361f27eed9d0a9574830f48e820fa5f039e09
parenta98ccbcddbb5735710fb051005b09e9e8639f1de
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