Create profile for secure-time-sync (#274)

* Create profile for secure-time-sync

Related to https://gitlab.com/madaidan/secure-time-sync

* Update secure-time-sync

* Update secure-time-sync

* Update secure-time-sync
This commit is contained in:
npwc 2024-01-24 21:00:08 +00:00 committed by GitHub
parent 8f825473c6
commit c3e92b3408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,29 @@
# apparmor.d - Full set of apparmor profiles
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/secure-time-sync
profile secure-time-sync @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/ssl_certs>
capability sys_time,
network raw,
network inet dgram,
network inet6 dgram,
owner /dev/tty rw,
/usr/bin/bash ix,
/usr/bin/curl mrix,
/usr/bin/date mrix,
/usr/bin/grep mrix,
/usr/bin/id mrix,
/usr/bin/sed mrix,
@{exec_path} r,
}