mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): initial dbus integration (no dbus rule yet).
This commit is contained in:
parent
aa606bbdc4
commit
a6a72cd5c3
46 changed files with 64 additions and 11 deletions
|
@ -9,8 +9,9 @@ include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /{usr/,}lib/accountsservice/accounts-daemon
|
@{exec_path} = /{usr/,}lib/accountsservice/accounts-daemon
|
||||||
@{exec_path} += @{libexec}/accounts-daemon
|
@{exec_path} += @{libexec}/accounts-daemon
|
||||||
profile accounts-daemon @{exec_path} {
|
profile accounts-daemon @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/wutmp>
|
include <abstractions/wutmp>
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/at-spi-bus-launcher
|
@{exec_path} += @{libexec}/at-spi-bus-launcher
|
||||||
profile at-spi-bus-launcher @{exec_path} flags=(attach_disconnected) {
|
profile at-spi-bus-launcher @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-session>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
# Copyright (C) 2018-2022 Mikhail Morfikov
|
||||||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021-2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
@ -11,11 +11,18 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/colord
|
@{exec_path} += @{libexec}/colord
|
||||||
profile colord @{exec_path} flags=(attach_disconnected) {
|
profile colord @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
|
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
|
dbus send
|
||||||
|
bus=system
|
||||||
|
path=/org/freedesktop/ColorManager/devices/xrandr_*
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/{usr/,}lib/colord/colord-sane rPx,
|
/{usr/,}lib/colord/colord-sane rPx,
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
profile pipewire @{exec_path} {
|
profile pipewire @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
ptrace (read),
|
ptrace (read),
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
profile pipewire-media-session @{exec_path} {
|
profile pipewire-media-session @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2018-2021 Mikhail Morfikov
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
||||||
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/polkitd
|
@{exec_path} += @{libexec}/polkitd
|
||||||
profile polkitd @{exec_path} {
|
profile polkitd @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability setuid,
|
capability setuid,
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/upowerd
|
@{exec_path} += @{libexec}/upowerd
|
||||||
profile upowerd @{exec_path} flags=(attach_disconnected) {
|
profile upowerd @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
|
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/xdg-desktop-portal
|
@{exec_path} = @{libexec}/xdg-desktop-portal
|
||||||
profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
|
profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/xdg-desktop-portal-gnome
|
@{exec_path} = @{libexec}/xdg-desktop-portal-gnome
|
||||||
profile xdg-desktop-portal-gnome @{exec_path} {
|
profile xdg-desktop-portal-gnome @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fontconfig-cache-write>
|
include <abstractions/fontconfig-cache-write>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/xdg-desktop-portal-gtk
|
@{exec_path} = @{libexec}/xdg-desktop-portal-gtk
|
||||||
profile xdg-desktop-portal-gtk @{exec_path} {
|
profile xdg-desktop-portal-gtk @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fontconfig-cache-write>
|
include <abstractions/fontconfig-cache-write>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/evolution-addressbook-factory
|
@{exec_path} = @{libexec}/evolution-addressbook-factory
|
||||||
profile evolution-addressbook-factory @{exec_path} {
|
profile evolution-addressbook-factory @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/ssl_certs>
|
include <abstractions/ssl_certs>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/evolution-calendar-factory
|
@{exec_path} = @{libexec}/evolution-calendar-factory
|
||||||
profile evolution-calendar-factory @{exec_path} {
|
profile evolution-calendar-factory @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/ssl_certs>
|
include <abstractions/ssl_certs>
|
||||||
|
|
|
@ -9,8 +9,10 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}{s,}bin/gdm{3,}
|
@{exec_path} = /{usr/,}{s,}bin/gdm{3,}
|
||||||
profile gdm @{exec_path} flags=(attach_disconnected) {
|
profile gdm @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/wutmp>
|
include <abstractions/dbus-session-strict>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/wutmp>
|
||||||
|
|
||||||
capability chown,
|
capability chown,
|
||||||
capability fsetid,
|
capability fsetid,
|
||||||
|
|
|
@ -10,6 +10,8 @@ include <tunables/global>
|
||||||
profile gdm-session-worker @{exec_path} flags=(attach_disconnected) {
|
profile gdm-session-worker @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/authentication>
|
include <abstractions/authentication>
|
||||||
|
include <abstractions/dbus-session-strict>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability audit_write,
|
capability audit_write,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /usr/share/gnome-shell/extensions/ding@rastersoft.com/ding.js
|
@{exec_path} = /usr/share/gnome-shell/extensions/ding@rastersoft.com/ding.js
|
||||||
profile gnome-extension-ding @{exec_path} {
|
profile gnome-extension-ding @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}bin/gnome-keyring-daemon
|
@{exec_path} = /{usr/,}bin/gnome-keyring-daemon
|
||||||
profile gnome-keyring-daemon @{exec_path} flags=(attach_disconnected) {
|
profile gnome-keyring-daemon @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/openssl>
|
include <abstractions/openssl>
|
||||||
|
|
||||||
capability ipc_lock,
|
capability ipc_lock,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gnome-session-binary
|
@{exec_path} = @{libexec}/gnome-session-binary
|
||||||
profile gnome-session-binary @{exec_path} flags=(attach_disconnected) {
|
profile gnome-session-binary @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/dri-common>
|
include <abstractions/dri-common>
|
||||||
include <abstractions/dri-enumerate>
|
include <abstractions/dri-enumerate>
|
||||||
|
|
|
@ -11,6 +11,8 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app-launcher-user>
|
include <abstractions/app-launcher-user>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
|
include <abstractions/dbus-session-strict>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/dri-common>
|
include <abstractions/dri-common>
|
||||||
include <abstractions/dri-enumerate>
|
include <abstractions/dri-enumerate>
|
||||||
|
@ -68,9 +70,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
/.flatpak-info r,
|
/.flatpak-info r,
|
||||||
/etc/fstab r,
|
/etc/fstab r,
|
||||||
/etc/machine-id r,
|
|
||||||
/etc/xdg/menus/gnome-applications.menu r,
|
/etc/xdg/menus/gnome-applications.menu r,
|
||||||
/var/lib/dbus/machine-id r,
|
|
||||||
|
|
||||||
/var/lib/gdm{3,}/.cache/ w,
|
/var/lib/gdm{3,}/.cache/ w,
|
||||||
/var/lib/gdm{3,}/.cache/mesa_shader_cache/ rw,
|
/var/lib/gdm{3,}/.cache/mesa_shader_cache/ rw,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/goa-daemon
|
@{exec_path} = @{libexec}/goa-daemon
|
||||||
profile goa-daemon @{exec_path} {
|
profile goa-daemon @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/opencl>
|
include <abstractions/opencl>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-color
|
@{exec_path} = @{libexec}/gsd-color
|
||||||
profile gsd-color @{exec_path} flags=(attach_disconnected) {
|
profile gsd-color @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fontconfig-cache-read>
|
include <abstractions/fontconfig-cache-read>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-disk-utility-notify
|
@{exec_path} = @{libexec}/gsd-disk-utility-notify
|
||||||
profile gsd-disk-utility-notify @{exec_path} {
|
profile gsd-disk-utility-notify @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-keyboard
|
@{exec_path} = @{libexec}/gsd-keyboard
|
||||||
profile gsd-keyboard @{exec_path} flags=(attach_disconnected) {
|
profile gsd-keyboard @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fontconfig-cache-read>
|
include <abstractions/fontconfig-cache-read>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
|
profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/gtk>
|
include <abstractions/gtk>
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
profile gsd-power @{exec_path} flags=(attach_disconnected) {
|
profile gsd-power @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/audio>
|
include <abstractions/audio>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
include <abstractions/gtk>
|
include <abstractions/gtk>
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-print-notifications
|
@{exec_path} = @{libexec}/gsd-print-notifications
|
||||||
profile gsd-print-notifications @{exec_path} flags=(attach_disconnected) {
|
profile gsd-print-notifications @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
network inet stream,
|
network inet stream,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-printer
|
@{exec_path} = @{libexec}/gsd-printer
|
||||||
profile gsd-printer @{exec_path} flags=(attach_disconnected) {
|
profile gsd-printer @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
signal (receive) set=(term, hup) peer=gdm*,
|
signal (receive) set=(term, hup) peer=gdm*,
|
||||||
signal (receive) set=(hup) peer=gsd-print-notifications,
|
signal (receive) set=(hup) peer=gsd-print-notifications,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-rfkill
|
@{exec_path} = @{libexec}/gsd-rfkill
|
||||||
profile gsd-rfkill @{exec_path} flags=(attach_disconnected) {
|
profile gsd-rfkill @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
signal (receive) set=(term, hup) peer=gdm*,
|
signal (receive) set=(term, hup) peer=gdm*,
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-sharing
|
@{exec_path} = @{libexec}/gsd-sharing
|
||||||
profile gsd-sharing @{exec_path} flags=(attach_disconnected) {
|
profile gsd-sharing @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
|
|
||||||
signal (receive) set=(term, hup) peer=gdm*,
|
signal (receive) set=(term, hup) peer=gdm*,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/gsd-xsettings
|
@{exec_path} = @{libexec}/gsd-xsettings
|
||||||
profile gsd-xsettings @{exec_path} {
|
profile gsd-xsettings @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/dri-common>
|
include <abstractions/dri-common>
|
||||||
include <abstractions/dri-enumerate>
|
include <abstractions/dri-enumerate>
|
||||||
|
|
|
@ -9,7 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/tracker-miner-fs-{,control-}3
|
@{exec_path} = @{libexec}/tracker-miner-fs-{,control-}3
|
||||||
profile tracker-miner @{exec_path} {
|
profile tracker-miner @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/dbus-session-strict> # TODO: FIXME: See if we keep them like this.
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/disks-read>
|
include <abstractions/disks-read>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/gvfs-udisks2-volume-monitor
|
@{exec_path} += @{libexec}/gvfs-udisks2-volume-monitor
|
||||||
profile gvfs-udisks2-volume-monitor @{exec_path} {
|
profile gvfs-udisks2-volume-monitor @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
include <abstractions/disks-read>
|
include <abstractions/disks-read>
|
||||||
|
|
|
@ -9,6 +9,8 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}{,s}bin/NetworkManager
|
@{exec_path} = /{usr/,}{,s}bin/NetworkManager
|
||||||
profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-network-manager-strict>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/openssl>
|
include <abstractions/openssl>
|
||||||
include <abstractions/ssl_certs>
|
include <abstractions/ssl_certs>
|
||||||
|
|
|
@ -16,6 +16,7 @@ include <tunables/global>
|
||||||
profile child-systemctl flags=(attach_disconnected) {
|
profile child-systemctl flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/wutmp>
|
include <abstractions/wutmp>
|
||||||
|
|
||||||
capability net_admin,
|
capability net_admin,
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}bin/networkctl
|
@{exec_path} = /{usr/,}bin/networkctl
|
||||||
profile networkctl @{exec_path} flags=(complain) {
|
profile networkctl @{exec_path} flags=(complain) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
capability net_admin,
|
capability net_admin,
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}lib/systemd/systemd-hostnamed
|
@{exec_path} = /{usr/,}lib/systemd/systemd-hostnamed
|
||||||
profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
|
profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/systemd-common>
|
include <abstractions/systemd-common>
|
||||||
|
|
||||||
# To set a hostname
|
# To set a hostname
|
||||||
|
|
|
@ -10,8 +10,9 @@ include <tunables/global>
|
||||||
profile systemd-logind @{exec_path} flags=(attach_disconnected,complain) {
|
profile systemd-logind @{exec_path} flags=(attach_disconnected,complain) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/dbus-strict>
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/disks-write>
|
|
||||||
include <abstractions/devices-usb>
|
include <abstractions/devices-usb>
|
||||||
|
include <abstractions/disks-write>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/systemd-common>
|
include <abstractions/systemd-common>
|
||||||
|
|
||||||
capability chown,
|
capability chown,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}lib/systemd/systemd-user-runtime-dir
|
@{exec_path} = /{usr/,}lib/systemd/systemd-user-runtime-dir
|
||||||
profile systemd-user-runtime-dir @{exec_path} {
|
profile systemd-user-runtime-dir @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/systemd-common>
|
include <abstractions/systemd-common>
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
||||||
profile packagekitd @{exec_path} {
|
profile packagekitd @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/apt-common>
|
include <abstractions/apt-common>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability sys_nice,
|
capability sys_nice,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}lib/update-notifier/ubuntu-advantage-notification
|
@{exec_path} = /{usr/,}lib/update-notifier/ubuntu-advantage-notification
|
||||||
profile ubuntu-advantage-notification @{exec_path} {
|
profile ubuntu-advantage-notification @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-session>
|
||||||
include <abstractions/dconf>
|
include <abstractions/dconf>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}{s,}bin/kerneloops
|
@{exec_path} = /{usr/,}{s,}bin/kerneloops
|
||||||
profile kerneloops @{exec_path} {
|
profile kerneloops @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability syslog,
|
capability syslog,
|
||||||
|
|
|
@ -10,9 +10,10 @@ include <tunables/global>
|
||||||
profile pkexec @{exec_path} flags=(complain) {
|
profile pkexec @{exec_path} flags=(complain) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/authentication>
|
include <abstractions/authentication>
|
||||||
include <abstractions/wutmp>
|
|
||||||
include <abstractions/nameservice-strict>
|
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/wutmp>
|
||||||
|
|
||||||
signal (send) set=(term, kill) peer=polkit-agent-helper,
|
signal (send) set=(term, kill) peer=polkit-agent-helper,
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /{usr/,}bin/pkttyagent
|
@{exec_path} = /{usr/,}bin/pkttyagent
|
||||||
profile pkttyagent @{exec_path} {
|
profile pkttyagent @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
capability sys_nice,
|
capability sys_nice,
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/power-profiles-daemon
|
@{exec_path} = @{libexec}/power-profiles-daemon
|
||||||
profile power-profiles-daemon @{exec_path} flags=(attach_disconnected) {
|
profile power-profiles-daemon @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability sys_nice,
|
capability sys_nice,
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/rtkit-daemon
|
@{exec_path} = @{libexec}/rtkit-daemon
|
||||||
profile rtkit-daemon @{exec_path} {
|
profile rtkit-daemon @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
capability dac_read_search,
|
capability dac_read_search,
|
||||||
|
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{libexec}/switcheroo-control
|
@{exec_path} = @{libexec}/switcheroo-control
|
||||||
profile switcheroo-control @{exec_path} flags=(attach_disconnected) {
|
profile switcheroo-control @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
|
|
||||||
capability sys_nice,
|
capability sys_nice,
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ include <tunables/global>
|
||||||
@{exec_path} += @{libexec}/udisks2/udisksd
|
@{exec_path} += @{libexec}/udisks2/udisksd
|
||||||
profile udisksd @{exec_path} flags=(attach_disconnected) {
|
profile udisksd @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/dbus-strict>
|
||||||
include <abstractions/disks-write>
|
include <abstractions/disks-write>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue