mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Fixes after review
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
parent
c8856f6383
commit
0fb3706bbd
3 changed files with 3 additions and 5 deletions
|
@ -17,7 +17,7 @@
|
|||
member={Get,GetAll}
|
||||
peer=(name=:*, label=upowerd),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/UPower/devices/{mouse_hidpp_battery_0,battery_BAT0}
|
||||
dbus receive bus=system path=/org/freedesktop/UPower/devices/*
|
||||
interface=org.freedesktop.DBus.Properties
|
||||
member=PropertiesChanged
|
||||
peer=(name=:*, label=upowerd),
|
||||
|
|
|
@ -80,7 +80,7 @@ profile dolphin @{exec_path} {
|
|||
owner @{PROC}/@{pid}/mountinfo r,
|
||||
owner @{PROC}/@{pid}/mounts r,
|
||||
|
||||
@{sys}/devices/virtual/block/dm-0/uevent r,
|
||||
@{sys}/devices/virtual/block/dm-@{int}/uevent r,
|
||||
|
||||
/dev/tty r,
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@ profile konsole @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/dri>
|
||||
include <abstractions/kde-strict>
|
||||
include <abstractions/mesa>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ubuntu-xterm>
|
||||
|
||||
ptrace (read),
|
||||
|
||||
|
@ -44,7 +44,6 @@ profile konsole @{exec_path} flags=(attach_disconnected) {
|
|||
owner @{user_config_dirs}/konsolerc.@{rand6} rwl -> @{user_config_dirs}/#@{int},
|
||||
|
||||
owner @{user_cache_dirs}/icon-cache.kcache rw,
|
||||
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
|
||||
|
||||
owner @{user_share_dirs}/konsole/{,**} rw,
|
||||
|
||||
|
@ -60,7 +59,6 @@ profile konsole @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
|
||||
@{PROC}/sys/kernel/core_pattern r,
|
||||
|
||||
include if exists <local/konsole>
|
||||
|
|
Loading…
Reference in a new issue