media: rc: bpf attach/detach requires write permission

commit 6a9d552483 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>
This commit is contained in:
Sean Young 2023-04-13 10:50:32 +02:00 • committed by Greg Kroah-Hartman
commit 9f6087851e
3 changed files with 8 additions and 5 deletions