mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 14:36:33 +01:00
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
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:
parent
7acd9079a2
commit
e5ed979ce1
1 changed files with 23 additions and 0 deletions
23
apparmor.d/profiles-s-z/swayimg
Normal file
23
apparmor.d/profiles-s-z/swayimg
Normal 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
|
Loading…
Reference in a new issue