mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-06 10:15:08 +01:00
Add firecfg.
This commit is contained in:
parent
1eead1e773
commit
204ff035e7
2 changed files with 37 additions and 0 deletions
36
apparmor.d/profiles-a-f/firecfg
Normal file
36
apparmor.d/profiles-a-f/firecfg
Normal 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>
|
||||||
|
}
|
|
@ -24,6 +24,7 @@ fatlabel complain
|
||||||
fc-cache complain
|
fc-cache complain
|
||||||
fc-list complain
|
fc-list complain
|
||||||
fdisk complain
|
fdisk complain
|
||||||
|
firecfg complain
|
||||||
fsck-ext4 complain
|
fsck-ext4 complain
|
||||||
gdisk complain
|
gdisk complain
|
||||||
gdk-pixbuf-query-loaders complain
|
gdk-pixbuf-query-loaders complain
|
||||||
|
|
Loading…
Reference in a new issue