mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
37 lines
832 B
Text
37 lines
832 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}lib/ring/dring
|
|
profile dring @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/audio>
|
|
include <abstractions/video>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{HOME}/.config/ring/ rw,
|
|
owner @{HOME}/.config/jami/dring.yml rw,
|
|
owner @{HOME}/.config/jami/dring.yml.bak w,
|
|
owner @{HOME}/.local/share/jami/ r,
|
|
|
|
@{sys}/class/ r,
|
|
@{sys}/bus/ r,
|
|
@{sys}/devices/system/node/ r,
|
|
@{sys}/devices/system/node/node[0-9]*/meminfo r,
|
|
|
|
/var/lib/dbus/machine-id r,
|
|
/etc/machine-id r,
|
|
|
|
|
|
include if exists <local/dring>
|
|
}
|