Create profile for tickrs

This commit is contained in:
doublez13 2025-09-18 08:21:38 -06:00 committed by GitHub
parent 9db6bf4a35
commit 701bb4ce0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,32 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 Zane Zakraisek <zz@eng.utah.edu>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/tickrs
profile tickrs @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/ssl_certs>
network inet dgram,
network inet6 dgram,
network inet stream,
network inet6 stream,
network netlink raw,
@{exec_path} mr,
owner @{HOME}/.config/tickrs/{,**} rw,
@{sys}/fs/cgroup/**/cpu.max r,
owner @{PROC}/@{pid}/cgroup r,
include if exists <local/tickrs>
}
# vim:syntax=apparmor