mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
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:
parent
8f825473c6
commit
c3e92b3408
1 changed files with 29 additions and 0 deletions
29
apparmor.d/profiles-s-z/secure-time-sync
Normal file
29
apparmor.d/profiles-s-z/secure-time-sync
Normal 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,
|
||||
}
|
Loading…
Reference in a new issue