* 'tunables' of https://github.com/nobody43/apparmor.d: dbus temp tails Update apparmor.d Update gdm-runtime-config more unrelated changes adjust date-time random tails rename to int, convert more profiles fixes tunables
35 lines
728 B
Text
35 lines
728 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/scrot
|
|
profile scrot @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/user-download-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
# "mv" is needed to change the image dir
|
|
@{bin}/{,ba,da}sh rix,
|
|
@{bin}/mv rix,
|
|
|
|
# The image dir
|
|
owner @{HOME}/*.png rw,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
|
|
/dev/shm/#@{int} rw,
|
|
|
|
owner @{HOME}/.icons/default/index.theme r,
|
|
/usr/share/icons/*/index.theme r,
|
|
/usr/share/icons/*/cursors/* r,
|
|
|
|
# file_inherit
|
|
owner @{HOME}/.xsession-errors w,
|
|
|
|
include if exists <local/scrot>
|
|
}
|