Add firecfg.

This commit is contained in:
Alexandre Pujol 2021-09-15 20:43:17 +01:00
parent 1eead1e773
commit 204ff035e7
Failed to generate hash of commit
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# 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/,}bin/firecfg
profile firecfg @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
capability dac_read_search,
capability mknod,
capability setgid,
capability setuid,
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/apparmor_parser rPx,
/etc/login.defs r,
/etc/firejail/firejail.users r,
/usr/local/bin/ r,
/usr/local/bin/* rw,
/usr/share/applications/ r,
/usr/share/applications/*.desktop r,
/dev/tty rw,
include if exists <local/firecfg>
}

View file

@ -24,6 +24,7 @@ fatlabel complain
fc-cache complain
fc-list complain
fdisk complain
firecfg complain
fsck-ext4 complain
gdisk complain
gdk-pixbuf-query-loaders complain