add profile for swayimg (#612)
Some checks are pending
Ubuntu / check (push) Waiting to run
Ubuntu / build (default, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (default, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Blocked by required conditions
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Blocked by required conditions
Ubuntu / tests (push) Blocked by required conditions

* add profile for swayimg

* fix exec
This commit is contained in:
valoq 2024-11-23 22:03:42 +01:00 committed by GitHub
parent 7acd9079a2
commit e5ed979ce1
Failed to generate hash of commit

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