mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
42 lines
No EOL
909 B
Text
42 lines
No EOL
909 B
Text
# 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} flags=(attach_disconnected) {
|
|
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,
|
|
/etc/firejail/firecfg.config r,
|
|
|
|
/usr/local/bin/ r,
|
|
/usr/local/bin/* rw,
|
|
|
|
/usr/share/applications/ r,
|
|
/usr/share/applications/*.desktop r,
|
|
|
|
@{user_share_dirs}/applications/ r,
|
|
@{user_share_dirs}/applications/*.desktop rw,
|
|
|
|
/dev/tty rw,
|
|
|
|
deny /apparmor/.null rw,
|
|
|
|
include if exists <local/firecfg>
|
|
} |