mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 14:55:15 +01:00
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2018-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/at-spi2-core/at-spi-bus-launcher
|
|
@{exec_path} += /usr/libexec/at-spi-bus-launcher
|
|
profile at-spi-bus-launcher @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/deny-root-dir-access>
|
|
|
|
# Needed?
|
|
deny capability sys_nice,
|
|
|
|
signal (send) set=(term, kill) peer=dbus-daemon,
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/dbus-daemon rPUx,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
/var/lib/lightdm/.Xauthority r,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
include <abstractions/dconf>
|
|
owner @{run}/user/[0-9]*/dconf/ rw,
|
|
owner @{run}/user/[0-9]*/dconf/user rw,
|
|
|
|
# file_inherit
|
|
owner /dev/tty[0-9]* rw,
|
|
owner @{HOME}/.xsession-errors w,
|
|
/var/log/lightdm/seat[0-9]*-greeter.log w,
|
|
|
|
include if exists <local/at-spi-bus-launcher>
|
|
}
|