mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
feat(profile): minor improvment for kde.
This commit is contained in:
parent
04683eeccb
commit
9cbeb127a3
4 changed files with 10 additions and 1 deletions
|
@ -20,7 +20,12 @@ profile kauth-backlighthelper @{exec_path} {
|
|||
|
||||
@{sys}/class/backlight/ r,
|
||||
@{sys}/class/leds/ r,
|
||||
@{sys}/devices/@{pci}/backlight/**/{max_brightness,actual_brightness} r,
|
||||
@{sys}/devices/@{pci}/backlight/**/{uevent,type} r,
|
||||
@{sys}/devices/@{pci}/backlight/**/brightness rw,
|
||||
@{sys}/devices/@{pci}/drm/card@{int}/**/{max_brightness,actual_brightness} r,
|
||||
@{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type,enabled} r,
|
||||
@{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw,
|
||||
|
||||
/dev/tty r,
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ profile kauth-chargethresholdhelper @{exec_path} {
|
|||
/usr/share/icu/@{int}.@{int}/*.dat r,
|
||||
|
||||
@{sys}/class/power_supply/ r,
|
||||
@{sys}/devices/@{pci}/power_supply/** r,
|
||||
@{sys}/devices/**/power_supply/** r,
|
||||
|
||||
include if exists <local/kauth-chargethresholdhelper>
|
||||
}
|
|
@ -61,6 +61,8 @@ profile kded5 @{exec_path} {
|
|||
@{user_cache_dirs}/ksycoca5_* rwlk -> @{user_cache_dirs}/#@{int},
|
||||
owner @{user_cache_dirs}/#@{int} rw,
|
||||
owner @{user_cache_dirs}/icon-cache.kcache rw,
|
||||
owner @{user_cache_dirs}/plasmashell/ rw,
|
||||
owner @{user_cache_dirs}/plasmashell/** rwlk -> @{user_cache_dirs}/plasmashell/**,
|
||||
|
||||
@{user_config_dirs}/kcookiejarrc.lock rwk,
|
||||
@{user_config_dirs}/kcookiejarrc{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int},
|
||||
|
|
|
@ -88,7 +88,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
|
|||
owner @{user_config_dirs}/kwinrulesrc r,
|
||||
owner @{user_config_dirs}/kxkbrc r,
|
||||
owner @{user_config_dirs}/menus/{,applications-merged/} r,
|
||||
# owner @{user_config_dirs}/session/* r,
|
||||
owner @{user_config_dirs}/session/* r,
|
||||
|
||||
owner @{user_share_dirs}/kscreen/* r,
|
||||
owner @{user_share_dirs}/kwin/scripts/{,**} r,
|
||||
|
|
Loading…
Reference in a new issue