mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
34 lines
930 B
Plaintext
34 lines
930 B
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} = @{bin}/gnome-disks
|
|
profile gnome-disks @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/disks-write>
|
|
include <abstractions/gnome>
|
|
include <abstractions/user-download-strict>
|
|
|
|
dbus bind bus=session name=org.gnome.DiskUtility,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{lib}/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open,
|
|
@{lib}/gio-launch-desktop rPx -> child-open,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
/usr/share/X11/xkb/{,**} r,
|
|
|
|
owner @{user_cache_dirs}/gnome-disks/{,**} rw,
|
|
|
|
@{PROC}/1/cgroup r,
|
|
owner @{PROC}/@{pid}/cgroup r,
|
|
|
|
include if exists <local/gnome-disks>
|
|
} |