feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-02-06 21:25:09 +00:00
parent 1ff3636fb5
commit a8808d3da6
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 58 additions and 25 deletions

View file

@ -70,6 +70,8 @@ profile geoclue @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/etc/geoclue/{,**} r,
@{run}/systemd/journal/socket rw,

View file

@ -0,0 +1,21 @@
# 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/xdg-user-dir
profile xdg-user-dir @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/env rix,
owner @{user_config_dirs}/user-dirs.dirs r,
include if exists <local/xdg-user-dir>
}