mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-26 23:19:26 +01:00
39 lines
934 B
Text
39 lines
934 B
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2017-2021 Mikhail Morfikov
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}sbin/ddclient
|
|
profile ddclient @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/perl>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/openssl>
|
|
include <abstractions/ssl_certs>
|
|
|
|
@{exec_path} r,
|
|
/{usr/,}bin/perl r,
|
|
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/logger rix,
|
|
|
|
/etc/ddclient.conf r,
|
|
|
|
@{run}/ddclient.pid rw,
|
|
|
|
/var/cache/ddclient/ddclient.cache rw,
|
|
|
|
/ r,
|
|
|
|
include if exists <local/ddclient>
|
|
}
|