mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
feat(profile): apply profile guideline on secure-time-sync.
This commit is contained in:
parent
c3e92b3408
commit
9a65da3605
@ -1,4 +1,5 @@
|
|||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
@ -17,13 +18,16 @@ profile secure-time-sync @{exec_path} flags=(attach_disconnected) {
|
|||||||
network inet dgram,
|
network inet dgram,
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{bin}/{,ba,da}sh rix,
|
||||||
|
@{bin}/curl rix,
|
||||||
|
@{bin}/date rix,
|
||||||
|
@{bin}/grep rix,
|
||||||
|
@{bin}/id rPx,
|
||||||
|
@{bin}/sed rix,
|
||||||
|
|
||||||
owner /dev/tty rw,
|
owner /dev/tty rw,
|
||||||
|
|
||||||
/usr/bin/bash ix,
|
include if exists <local/secure-time-sync>
|
||||||
/usr/bin/curl mrix,
|
|
||||||
/usr/bin/date mrix,
|
|
||||||
/usr/bin/grep mrix,
|
|
||||||
/usr/bin/id mrix,
|
|
||||||
/usr/bin/sed mrix,
|
|
||||||
@{exec_path} r,
|
|
||||||
}
|
}
|
||||||
|
@ -291,6 +291,7 @@ runuser complain
|
|||||||
s3fs complain
|
s3fs complain
|
||||||
sdcv complain
|
sdcv complain
|
||||||
sddm attach_disconnected,mediate_deleted,complain
|
sddm attach_disconnected,mediate_deleted,complain
|
||||||
|
secure-time-sync attach_disconnected,complain
|
||||||
sftp-server complain
|
sftp-server complain
|
||||||
sing-box complain
|
sing-box complain
|
||||||
slirp4netns attach_disconnected,complain
|
slirp4netns attach_disconnected,complain
|
||||||
|
Loading…
Reference in New Issue
Block a user