-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/update' of https://github.com/Jeroen0494/apparmor.d …
…into Jeroen0494-feat/update * 'feat/update' of https://github.com/Jeroen0494/apparmor.d: signal to socket Add kstart, XDG KDE updates Plank profile containerd and KDE updates
- Loading branch information
Showing
8 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Jeroen Rijken | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
abi <abi/3.0>, | ||
|
||
include <tunables/global> | ||
|
||
@{exec_path} = /{usr/,}bin/kstart | ||
profile kstart @{exec_path} flags=(complain,attach_disconnected) { | ||
include <abstractions/base> | ||
include <abstractions/nameservice-strict> | ||
include <abstractions/fontconfig-cache-read> | ||
include <abstractions/fonts> | ||
|
||
unix (connect, send, receive) type=stream peer=(addr="@/tmp/.ICE-unix/4979"), | ||
|
||
@{exec_path} mr, | ||
/{usr/,}bin/** rPUx, | ||
/{usr/,}bin/konsole rUx, | ||
|
||
@{HOME}.Xauthority r, | ||
|
||
include if exists <local/kstart> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# apparmor.d - Full set of apparmor profiles | ||
# Copyright (C) 2023 Jeroen Rijken | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
abi <abi/3.0>, | ||
|
||
include <tunables/global> | ||
|
||
@{exec_path} = /{usr/,}bin/plank | ||
profile plank @{exec_path} flags=(complain) { | ||
include <abstractions/base> | ||
include <abstractions/app-launcher-user> | ||
include <abstractions/dbus-session-strict> | ||
include <abstractions/dconf> | ||
include <abstractions/freedesktop.org> | ||
include <abstractions/fontconfig-cache-read> | ||
include <abstractions/fonts> | ||
include <abstractions/gtk> | ||
|
||
@{exec_path} rm, | ||
|
||
unix (send, receive, connect) type=stream peer=(addr="@/tmp/.X11-unix/X[0-9]*", label="{xorg,xkbcomp}"), | ||
|
||
@{user_config_dirs}/plank/{,**} rw, | ||
/usr/{,local/}share/plank/{,**} r, | ||
|
||
/usr/{,local/}share/mime/mime.cache r, | ||
/var/lib/flatpak/exports/share/icons/{,**} r, | ||
/var/lib/flatpak/exports/share/mime/mime.cache r, | ||
|
||
include if exists <local/plank> | ||
} |