mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
275d6b6e62
Beware some [0-9]* glob are actually not proper @{int}.
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
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}/kaccess
|
|
profile kaccess @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dri-common>
|
|
include <abstractions/mesa>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/qt5>
|
|
include <abstractions/vulkan>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/gsettings rPx,
|
|
|
|
/usr/share/hwdata/pnp.ids r,
|
|
/usr/share/icons/{,**} r,
|
|
/usr/share/icu/@{int}.@{int}/*.dat r,
|
|
/usr/share/mime/{,**} r,
|
|
|
|
/etc/xdg/kdeglobals r,
|
|
/etc/xdg/kwinrc r,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
|
|
owner @{user_cache_dirs}/icon-cache.kcache rw,
|
|
|
|
owner @{user_config_dirs}/kdedefaults/* r,
|
|
owner @{user_config_dirs}/kdeglobals r,
|
|
owner @{user_config_dirs}/kwinrc r,
|
|
owner @{user_config_dirs}/kaccessrc r,
|
|
|
|
owner @{user_share_dirs}/mime/generic-icons r,
|
|
|
|
owner /tmp/xauth_@{rand6} r,
|
|
|
|
owner @{run}/user/@{uid}/xauth_@{rand6} r,
|
|
|
|
@{sys}/devices/pci[0-9]*/**/{device,subsystem_device,subsystem_vendor,uevent,vendor} r,
|
|
|
|
/dev/tty r,
|
|
|
|
include if exists <local/kaccess>
|
|
}
|