feat(profiles): add gsettings.

This commit is contained in:
Alexandre Pujol 2023-03-12 15:30:33 +00:00
parent 8bdce8bd62
commit 98a1a00a14
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 31 additions and 6 deletions

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/gsettings
profile gsettings @{exec_path} {
include <abstractions/base>
include <abstractions/dconf-write>
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/dconf/profile/gdm r,
/usr/share/gdm/greeter-dconf-defaults r,
owner /dev/tty[0-9]* rw,
include if exists <local/gsettings>
}