* 'tunables' of https://github.com/nobody43/apparmor.d: dbus temp tails Update apparmor.d Update gdm-runtime-config more unrelated changes adjust date-time random tails rename to int, convert more profiles fixes tunables
38 lines
945 B
Text
38 lines
945 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{,usr/}{,s}bin/yadifad
|
|
profile yadifad @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/openssl>
|
|
include <abstractions/nis>
|
|
|
|
capability dac_override,
|
|
capability chown,
|
|
capability setgid,
|
|
capability setuid,
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/yadifa/yadifad.conf r,
|
|
|
|
/var/lib/yadifa/** r,
|
|
owner /var/lib/yadifa/ydf.@{rand6} rw,
|
|
owner /var/lib/yadifa/keys/ydf.@{rand6} rw,
|
|
owner /var/lib/yadifa/xfr/ydf.@{rand6} rw,
|
|
|
|
/var/log/yadifa/*.log rw,
|
|
/var/log/yadifa/ydf.@{rand6} rw,
|
|
|
|
owner @{run}/yadifa/yadifad.pid rwk,
|
|
owner @{run}/yadifa/ydf.@{rand6} rw,
|
|
|
|
include if exists <local/yadifad>
|
|
}
|