Initial pacman profiles.

This commit is contained in:
Alexandre Pujol 2021-08-22 15:38:14 +01:00
parent 020eb0daf6
commit 3c1a201e4a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
12 changed files with 403 additions and 1 deletions

View file

@ -0,0 +1,22 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/libalpm/scripts/dconf-update
profile pacman-hook-dconf @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/{usr/,}bin/bash rix,
/{usr/,}bin/rm rix,
/{usr/,}bin/dconf rPx,
/etc/dconf/db/{,**} rw,
include if exists <local/pacman-hook-dconf>
}