2006-04-11 21:52:54 +00:00
|
|
|
# vim:syntax=apparmor
|
|
|
|
# Last Modified: Sun Jan 22 00:11:27 2006
|
2006-04-12 20:35:41 +00:00
|
|
|
# $Id$
|
2006-04-11 21:52:54 +00:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# 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>
|
2007-01-19 12:05:05 +00:00
|
|
|
#include <abstractions/xad>
|
2006-04-11 21:52:54 +00:00
|
|
|
|
|
|
|
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,
|
2006-11-14 11:17:22 +00:00
|
|
|
/etc/ntpd.conf r,
|
2006-04-11 21:52:54 +00:00
|
|
|
/etc/ntp.conf r,
|
|
|
|
/etc/ntp/drift* rwl,
|
|
|
|
/etc/ntp/keys r,
|
|
|
|
/etc/ntp/step-tickers r,
|
2007-05-25 02:09:30 +00:00
|
|
|
@{PROC}/net/if_inet6 r,
|
2007-01-05 12:38:13 +00:00
|
|
|
/tmp/ntp* rwl,
|
2006-08-04 18:13:59 +00:00
|
|
|
/usr/sbin/ntpd rmix,
|
2006-05-18 21:32:29 +00:00
|
|
|
/var/lib/ntp/etc/ntp.conf.iburst r,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/lib/ntp/drift rwl,
|
|
|
|
/var/lib/ntp/drift.TEMP rwl,
|
2007-05-16 22:47:40 +00:00
|
|
|
/var/lib/ntp/drift/ntp.drift.TEMP rw,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/lib/ntp/drift/ntp.drift r,
|
2007-06-01 21:17:42 +00:00
|
|
|
/var/lib/ntp/ntp.drift.TEMP rw,
|
|
|
|
/var/lib/ntp/ntp.drift rw,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/lib/ntp/var/run/ntp/ntpd.pid w,
|
|
|
|
/var/log/ntp w,
|
|
|
|
/var/log/ntp.log w,
|
2007-01-19 12:05:05 +00:00
|
|
|
/var/opt/novell/xad/rpc/xadsd rw,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/run/ntpd.pid w,
|
2007-01-05 12:38:13 +00:00
|
|
|
/var/tmp/ntp* rwl,
|
2006-04-11 21:52:54 +00:00
|
|
|
}
|