-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nobodysu
committed
Aug 19, 2021
1 parent
f30f88c
commit 9a0bd3c
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# vim:syntax=apparmor | ||
|
||
#include <tunables/global> | ||
|
||
profile yadifad /usr/sbin/yadifad { | ||
#include <abstractions/base> | ||
#include <abstractions/nameservice> | ||
# #include <abstractions/3rd/nameservice-strict> | ||
#include <abstractions/openssl> | ||
#include <abstractions/nis> | ||
|
||
capability dac_override, | ||
capability chown, | ||
capability setgid, | ||
capability setuid, | ||
|
||
/etc/yadifa/yadifad.conf r, | ||
|
||
/var/lib/yadifa/** r, | ||
owner /var/lib/yadifa/ydf.?????? rw, | ||
owner /var/lib/yadifa/keys/ydf.?????? rw, | ||
owner /var/lib/yadifa/xfr/ydf.?????? rw, | ||
|
||
owner /{,var/}run/yadifa/yadifad.pid rwk, | ||
owner /{,var/}run/yadifa/ydf.?????? rw, | ||
|
||
/var/log/yadifa/*.log rw, | ||
/var/log/yadifa/ydf.?????? rw, | ||
|
||
# #include <local/usr.sbin.yadifad> | ||
} |