Initial pacman profiles.
This commit is contained in:
parent
020eb0daf6
commit
3c1a201e4a
12 changed files with 403 additions and 1 deletions
22
apparmor.d/groups/pacman/pacman-hook-dconf
Normal file
22
apparmor.d/groups/pacman/pacman-hook-dconf
Normal 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>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue