apparmor.d/apparmor.d/groups/whonix/timesanitycheck

26 lines
528 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/timesanitycheck
profile timesanitycheck @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@{bin}/cat rix,
@{bin}/date rix,
/usr/share/timesanitycheck/{,**} r,
owner /dev/tty rw,
include if exists <local/timesanitycheck>
}
# vim:syntax=apparmor