mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
30 lines
696 B
Plaintext
30 lines
696 B
Plaintext
# 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-spi2-registryd
|
|
@{exec_path} += /usr/libexec/at-spi2-registryd
|
|
profile at-spi2-registryd @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/deny-root-dir-access>
|
|
|
|
# Needed?
|
|
deny capability sys_nice,
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
/var/lib/lightdm/.Xauthority r,
|
|
|
|
# file_inherit
|
|
owner @{HOME}/.xsession-errors w,
|
|
owner /dev/tty[0-9]* rw,
|
|
|
|
include if exists <local/at-spi2-registryd>
|
|
}
|