apparmor.d/apparmor.d/cron-apt-show-versions

27 lines
711 B
Text
Raw Normal View History

# vim:syntax=apparmor
# ------------------------------------------------------------------
#
# Copyright (C) 2019-2020 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} = /etc/cron.daily/apt-show-versions
profile cron-apt-show-versions @{exec_path} {
#include <abstractions/base>
@{exec_path} r,
/{usr/,}bin/dash r,
/{usr/,}bin/apt-show-versions rPx,
#include if exists <local/cron-apt-show-versions>
}