mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 00:13:48 +01:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# 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-housekeeping
|
|
profile gsd-housekeeping @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/app-launcher-user>
|
|
include <abstractions/thumbnails-cache-read>
|
|
|
|
signal (receive) set=(term, hup) peer=gdm*,
|
|
signal (receive) set=(term, hup) peer=gnome*,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/fstab r,
|
|
|
|
/usr/share/gdm/greeter-dconf-defaults r,
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
owner @{user_cache_dirs}/thumbnails/{,**} rw,
|
|
owner @{user_share_dirs}/applications/ 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 @{PROC}/@{pids}/mountinfo r,
|
|
|
|
@{run}/mount/utab r,
|
|
|
|
owner /dev/tty[0-9]* rw,
|
|
|
|
include if exists <local/gsd-housekeeping>
|
|
}
|