mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-16 08:23:47 +01:00
57 lines
1.5 KiB
Plaintext
57 lines
1.5 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/gdm-wayland-session
|
|
profile gdm-wayland-session @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bash>
|
|
include <abstractions/consoles>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/zsh>
|
|
|
|
signal (receive) set=term peer=gdm{,-session-worker},
|
|
signal (send) set=(term) peer=dbus-run-session,
|
|
signal (send) set=(term) peer=dbus-daemon,
|
|
signal (send) set=(term) peer=gnome-session-binary,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/zsh rix,
|
|
/{usr/,}bin/tty rix,
|
|
/{usr/,}bin/grep rix,
|
|
/{usr/,}bin/gnome-session rix,
|
|
/{usr/,}bin/gsettings rix,
|
|
|
|
/{usr/,}bin/dbus-daemon rPx,
|
|
/{usr/,}bin/dbus-run-session rPx,
|
|
/{usr/,}bin/flatpak rPUx,
|
|
/{usr/,}lib/gnome-session-binary rPx,
|
|
|
|
/etc/gdm/custom.conf r,
|
|
/etc/machine-id r,
|
|
/etc/shells r,
|
|
|
|
/usr/share/gdm/gdm.schemas r,
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
@{run}/gdm/custom.conf r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
owner @{PROC}/@{pid}/loginuid r,
|
|
|
|
include <abstractions/dconf>
|
|
owner @{run}/user/@{uid}/dconf/ rw,
|
|
owner @{run}/user/@{uid}/dconf/user rw,
|
|
|
|
# file_inherit
|
|
/dev/tty[0-9]* rw,
|
|
|
|
include if exists <local/gdm-wayland-session>
|
|
}
|