diff --git a/usr.sbin.yadifad b/usr.sbin.yadifad new file mode 100644 index 0000000..97a2d0a --- /dev/null +++ b/usr.sbin.yadifad @@ -0,0 +1,31 @@ +# vim:syntax=apparmor + +#include + +profile yadifad /usr/sbin/yadifad { + #include + #include +# #include + #include + #include + + 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 +}