apparmor.d/apparmor.d/profiles-g-l/hbbr
2023-01-28 15:25:01 +00:00

25 lines
537 B
Text

# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{,usr/}{,local/}bin/hbbr
profile hbbr @{exec_path} {
include <abstractions/base>
network inet stream,
network inet6 stream,
@{exec_path} mr,
owner @{PROC}/@{pid}/cgroup r,
owner /var/lib/rustdesk-server/ r,
owner /var/lib/rustdesk-server/id_ed25519.pub r,
# Unknown non-essential purpose
# owner /var/lib/rustdesk-server/id_ed25519 r,
include if exists <local/hbbr>
}