apparmor.d/apparmor.d/profiles-s-z/yadifad
Alexandre Pujol 557d905543
Merge branch 'tunables' of https://github.com/nobody43/apparmor.d into nobody43-tunables
* '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
2023-08-17 20:01:53 +01:00

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>
}