mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
feat: add uptimed.
This commit is contained in:
parent
53682c678d
commit
26cb8f6b86
22
apparmor.d/profiles-s-z/uptimed
Normal file
22
apparmor.d/profiles-s-z/uptimed
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = /{usr/,}{s,}bin/uptimed
|
||||||
|
profile uptimed @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/etc/uptimed.conf r,
|
||||||
|
|
||||||
|
/var/spool/uptimed/records* rw,
|
||||||
|
|
||||||
|
@{run}/uptimed/uptimed.pid rw,
|
||||||
|
|
||||||
|
include if exists <local/uptimed>
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user