mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
35 lines
No EOL
855 B
Text
35 lines
No EOL
855 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/kglobalaccel5
|
|
profile kglobalaccel5 @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/freedesktop.org>
|
|
include <abstractions/qt5>
|
|
include <abstractions/X-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/hwdata/*.ids r,
|
|
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
|
|
/usr/share/kglobalaccel/{,**} r,
|
|
/usr/share/mime/{,**} r,
|
|
|
|
/etc/machine-id r,
|
|
|
|
owner @{user_config_dirs}/kglobalshortcutsrc* rwl,
|
|
owner @{user_config_dirs}/kglobalshortcutsrc.lock rwk,
|
|
owner @{user_config_dirs}/#[0-9]* rw,
|
|
|
|
@{PROC}/sys/kernel/random/boot_id r,
|
|
@{PROC}/sys/kernel/core_pattern r,
|
|
|
|
/dev/tty r,
|
|
|
|
include if exists <local/kglobalaccel5>
|
|
} |