diff --git a/apparmor.d/groups/apps/imv-wayland b/apparmor.d/groups/apps/imv-wayland new file mode 100644 index 00000000..bd727a31 --- /dev/null +++ b/apparmor.d/groups/apps/imv-wayland @@ -0,0 +1,29 @@ +# apparmor.d - Full set of apparmor profiles +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/imv-wayland +profile imv @{exec_path} { + include + include + include + include + include + include + include + + @{exec_path} mr, + + /etc/imv_config r, + /usr/share/X11/xkb/** r, + /tmp/ r, + + owner @{user_config_dirs}/imv/config r, + + owner @{run}/user/@{uid}/imv-*.sock w, + + include if exists +} diff --git a/apparmor.d/groups/apps/zathura b/apparmor.d/groups/apps/zathura new file mode 100644 index 00000000..8a59be64 --- /dev/null +++ b/apparmor.d/groups/apps/zathura @@ -0,0 +1,32 @@ +# apparmor.d - Full set of apparmor profiles +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/zathura +profile zathura @{exec_path} { + include + include + include + include + include + include + include + include + + @{exec_path} mr, + + /usr/share/file/{,**} r, + /usr/share/X11/xkb/{,**} r, + /etc/xdg/{,**} r, + /etc/zathurarc r, + + owner @{user_config_dirs}/zathura/** r, + owner @{user_share_dirs}/zathura/** rwk, + + owner /tmp/gtkprint* rw, + + include if exists +}