mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
29 lines
745 B
Plaintext
29 lines
745 B
Plaintext
# 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>
|
|
}
|