feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-10-01 16:06:28 +01:00
parent 3372593fc2
commit 352c444ae6
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 23 additions and 12 deletions

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -9,14 +10,10 @@ include <tunables/global>
@{exec_path} = @{bin}/xrandr
profile xrandr @{exec_path} {
include <abstractions/base>
include <abstractions/X-strict>
@{exec_path} mr,
owner @{HOME}/.Xauthority r,
/usr/share/X11/XErrorDB r,
# file_inherit
owner /dev/tty@{int} rw,
include if exists <local/xrandr>