Skip to content

Commit

Permalink
feat(profile): better kde integration.
Browse files Browse the repository at this point in the history
See #237
  • Loading branch information
roddhjav committed Nov 30, 2023
1 parent c27ec45 commit 796cf32
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apparmor.d/groups/kde/baloorunner
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ profile baloorunner @{exec_path} {

@{exec_path} mr,

@{bin}/dolphin rPx,

/usr/share/hwdata/*.ids r,
/usr/share/icu/@{int}.@{int}/*.dat r,

Expand Down
3 changes: 3 additions & 0 deletions apparmor.d/groups/kde/dolphin
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ profile dolphin @{exec_path} {
include <abstractions/nameservice-strict>
include <abstractions/qt5>
include <abstractions/vulkan>
include <abstractions/X-strict>

network netlink raw,

Expand All @@ -27,6 +28,8 @@ profile dolphin @{exec_path} {

@{bin}/konsole rPUx,
@{bin}/ldd rix,
@{bin}/net rPUx,
@{bin}/testparm rPUx,
@{lib}/kf5/kioslave5 rPx,

/usr/share/kf5/kmoretools/{,**} r,
Expand Down
1 change: 1 addition & 0 deletions apparmor.d/groups/kde/kauth-backlighthelper
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ profile kauth-backlighthelper @{exec_path} {

@{sys}/class/backlight/ r,
@{sys}/class/leds/ r,
@{sys}/devices/@{pci}/backlight/**/brightness rw,

/dev/tty r,

Expand Down
4 changes: 4 additions & 0 deletions apparmor.d/groups/kde/kiod5
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ profile kiod5 @{exec_path} {
include <abstractions/openssl>
include <abstractions/vulkan>

network netlink raw,

@{exec_path} mr,

/usr/share/icons/breeze/index.theme r,
Expand All @@ -33,6 +35,8 @@ profile kiod5 @{exec_path} {
owner @{user_config_dirs}/ksslcertificatemanager.lock rwk,
owner @{user_config_dirs}/kwinrc r,

owner @{PROC}/@{pid}/mounts r,

/dev/tty r,

include if exists <local/kiod5>
Expand Down
1 change: 1 addition & 0 deletions apparmor.d/groups/kde/kioslave5
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ profile kioslave5 @{exec_path} {
include <abstractions/freedesktop.org>
include <abstractions/mesa>
include <abstractions/nameservice-strict>
include <abstractions/nvidia>
include <abstractions/openssl>
include <abstractions/qt5>
include <abstractions/ssl_certs>
Expand Down

0 comments on commit 796cf32

Please sign in to comment.