v4l2-ctl
This commit is contained in:
parent
7c46ed2dd1
commit
d69acd6b49
1 changed files with 23 additions and 0 deletions
23
apparmor.d/profiles-s-z/v4l2-ctl
Normal file
23
apparmor.d/profiles-s-z/v4l2-ctl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Roman Beslik <me@beroal.in.ua>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/v4l2-ctl
|
||||
profile v4l2-ctl @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/devices-usb>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/dev/media@{int} rw,
|
||||
/dev/video@{int} rw,
|
||||
|
||||
include if exists <local/v4l2-ctl>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue