add profile for swayimg (#612)

* add profile for swayimg

* fix exec
This commit is contained in:
valoq 2024-11-23 22:03:42 +01:00 committed by nobody43
parent 5a05744352
commit 4ba9706742

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 valoq <valoq@mailbox.org>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/swayimg
profile swayimg @{exec_path} {
include <abstractions/base>
include <abstractions/desktop>
include <abstractions/fontconfig-cache-read>
include <abstractions/user-read-strict>
@{exec_path} mr,
owner @{user_config_dirs}/swayimg/** r,
include if exists <local/swayimg>
}
# vim:syntax=apparmor