Move some profiles.

This commit is contained in:
Alexandre Pujol 2021-05-11 22:03:28 +01:00
parent a2dc24f61d
commit dfcafbe472
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 0 additions and 0 deletions

View file

@ -1,28 +0,0 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /etc/cron.{hourly,daily,weekly,monthly}/apt-compat
profile cron-apt-compat @{exec_path} {
include <abstractions/base>
@{exec_path} r,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}sbin/on_ac_power rPx,
/{usr/,}bin/apt-config rPx,
/{usr/,}lib/apt/apt.systemd.daily rPx,
/{usr/,}bin/dd rix,
/{usr/,}bin/cksum rix,
/{usr/,}bin/cut rix,
/{usr/,}bin/which rix,
/{usr/,}bin/sleep rix,
include if exists <local/cron-apt-compat>
}