49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/gsd-xsettings
|
|
profile gsd-xsettings @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dri-common>
|
|
include <abstractions/dri-enumerate>
|
|
include <abstractions/fontconfig-cache-read>
|
|
include <abstractions/fonts>
|
|
include <abstractions/gtk>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
/{usr/,}bin/xrdb rPx,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
/etc/xdg/Xwayland-session.d/ r,
|
|
/etc/xdg/Xwayland-session.d/00-xrdb rix,
|
|
|
|
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
|
|
|
|
include <abstractions/dconf>
|
|
owner @{run}/user/@{uid}/dconf/ rw,
|
|
owner @{run}/user/@{uid}/dconf/user rw,
|
|
/usr/share/dconf/profile/gdm r,
|
|
/var/lib/gdm/.config/dconf/user r,
|
|
|
|
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.[a-zA-z0-9]* r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
/dev/tty rw,
|
|
/dev/tty[0-9]* rw,
|
|
|
|
include if exists <local/gsd-xsettings>
|
|
}
|