parent
45ae8f5d27
commit
bb772167f0
7 changed files with 94 additions and 9 deletions
22
apparmor.d/profiles-g-l/highlight
Normal file
22
apparmor.d/profiles-g-l/highlight
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/highlight
|
||||
profile highlight @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/user-read-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/machine-id r,
|
||||
/etc/highlight/{,**} r,
|
||||
/usr/share/highlight/{,**} r,
|
||||
|
||||
include if exists <local/highlight>
|
||||
}
|
||||
29
apparmor.d/profiles-g-l/imv-wayland
Normal file
29
apparmor.d/profiles-g-l/imv-wayland
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 valoq <valoq@mailbox.org>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/imv-wayland
|
||||
profile imv @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/desktop>
|
||||
include <abstractions/fontconfig-cache-read>
|
||||
include <abstractions/graphics>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/user-read-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/imv_config r,
|
||||
|
||||
/tmp/ r,
|
||||
|
||||
owner @{user_config_dirs}/imv/config r,
|
||||
|
||||
owner @{run}/user/@{uid}/imv-*.sock w,
|
||||
|
||||
include if exists <local/imv-wayland>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue