mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
![]() |
# vim:syntax=apparmor
|
||
|
# Last Modified: Sun Jan 22 00:11:27 2006
|
||
|
# $Id: usr.sbin.ntpd 6222 2006-02-03 23:42:57Z sarnold $
|
||
|
# ------------------------------------------------------------------
|
||
|
#
|
||
|
# Copyright (C) 2002-2005 Novell/SUSE
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or
|
||
|
# modify it under the terms of version 2 of the GNU General Public
|
||
|
# License published by the Free Software Foundation.
|
||
|
#
|
||
|
# ------------------------------------------------------------------
|
||
|
|
||
|
#include <tunables/global>
|
||
|
|
||
|
/usr/sbin/ntpd {
|
||
|
#include <abstractions/base>
|
||
|
#include <abstractions/nameservice>
|
||
|
|
||
|
capability ipc_lock,
|
||
|
capability net_bind_service,
|
||
|
capability setgid,
|
||
|
capability setuid,
|
||
|
capability sys_chroot,
|
||
|
capability sys_resource,
|
||
|
capability sys_time,
|
||
|
|
||
|
/drift/ntp.drift rwl,
|
||
|
/drift/ntp.drift.TEMP rwl,
|
||
|
/etc/ntp.conf r,
|
||
|
/etc/ntp/drift* rwl,
|
||
|
/etc/ntp/keys r,
|
||
|
/etc/ntp/step-tickers r,
|
||
|
/tmp/ntp* rwl,
|
||
|
/usr/sbin/ntpd rix,
|
||
|
/var/lib/ntp/drift rwl,
|
||
|
/var/lib/ntp/drift.TEMP rwl,
|
||
|
/var/lib/ntp/drift/ntp.drift r,
|
||
|
/var/lib/ntp/var/run/ntp/ntpd.pid w,
|
||
|
/var/log/ntp w,
|
||
|
/var/log/ntp.log w,
|
||
|
/var/run/ntpd.pid w,
|
||
|
}
|