mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profiles): add iio-sensor-proxy
This commit is contained in:
parent
af1eda51bd
commit
1424fb5493
33
apparmor.d/groups/freedesktop/iio-sensor-proxy
Normal file
33
apparmor.d/groups/freedesktop/iio-sensor-proxy
Normal file
@ -0,0 +1,33 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/iio-sensor-proxy
|
||||
profile iio-sensor-proxy @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{run}/udev/data/+platform* r,
|
||||
@{run}/udev/data/+input* r,
|
||||
@{run}/udev/data/c13:[0-9]* r, # For /dev/input/*
|
||||
@{run}/udev/data/c3[0-9]*:[0-9]* r, # For dynamic assignment range 384 to 511
|
||||
@{run}/udev/data/c4[0-9]*:[0-9]* r,
|
||||
@{run}/udev/data/c5[0-9]*:[0-9]* r,
|
||||
|
||||
@{sys}/bus/ r,
|
||||
@{sys}/bus/iio/devices/ r,
|
||||
@{sys}/class/ r,
|
||||
@{sys}/devices/**/uevent r,
|
||||
@{sys}/devices/pci[0-9]*/**/iio:*/** rw,
|
||||
|
||||
/dev/iio:* r,
|
||||
|
||||
include if exists <local/iio-sensor-proxy>
|
||||
}
|
@ -163,6 +163,7 @@ gvfsd-dav complain
|
||||
hostnamectl complain
|
||||
ibus-engine-table complain
|
||||
ibus-memconf complain
|
||||
iio-sensor-proxy complain
|
||||
im-launch complain
|
||||
install-info complain
|
||||
irqbalance complain
|
||||
|
Loading…
Reference in New Issue
Block a user