mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
40b171ee94
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
34 lines
788 B
Plaintext
34 lines
788 B
Plaintext
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022 Jeroen Rijken
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}{local/,}{s,}bin/syncoid
|
|
profile syncoid @{exec_path} flags=(complain) {
|
|
include <abstractions/base>
|
|
include <abstractions/consoles>
|
|
include <abstractions/perl>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
@{bin}/grep rix,
|
|
@{bin}/mbuffer rix,
|
|
@{bin}/perl rix,
|
|
@{bin}/ps rPx,
|
|
@{bin}/pv rix,
|
|
/{usr/,}{local/,}{s,}bin/zfs rPx,
|
|
/{usr/,}{local/,}{s,}bin/zpool rPx,
|
|
|
|
/etc/mbuffer.rc r,
|
|
|
|
owner /tmp/** rw,
|
|
|
|
@{PROC}/@{pids}/maps r,
|
|
|
|
include if exists <local/syncoid>
|
|
}
|