~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to profiles/enabled/usr.sbin.ntpd

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# vim:syntax=apparmor
2
 
# Last Modified: Sun Jan 22 00:11:27 2006
3
 
# $Id: usr.sbin.ntpd 307 2007-01-19 12:05:05Z seth_arnold $
4
 
# ------------------------------------------------------------------
5
 
#
6
 
#    Copyright (C) 2002-2005 Novell/SUSE
7
 
#
8
 
#    This program is free software; you can redistribute it and/or
9
 
#    modify it under the terms of version 2 of the GNU General Public
10
 
#    License published by the Free Software Foundation.
11
 
#
12
 
# ------------------------------------------------------------------
13
 
 
14
 
#include <tunables/global>
15
 
 
16
 
/usr/sbin/ntpd {
17
 
  #include <abstractions/base>
18
 
  #include <abstractions/nameservice>
19
 
  #include <abstractions/xad>
20
 
 
21
 
  capability ipc_lock,
22
 
  capability net_bind_service,
23
 
  capability setgid,
24
 
  capability setuid,
25
 
  capability sys_chroot,
26
 
  capability sys_resource,
27
 
  capability sys_time,
28
 
 
29
 
  /drift/ntp.drift rwl,
30
 
  /drift/ntp.drift.TEMP rwl,
31
 
  /etc/ntpd.conf r,
32
 
  /etc/ntp.conf r,
33
 
  /etc/ntp/drift* rwl,
34
 
  /etc/ntp/keys r,
35
 
  /etc/ntp/step-tickers r,
36
 
  /proc/net/if_inet6 r,
37
 
  /tmp/ntp* rwl,
38
 
  /usr/sbin/ntpd rmix,
39
 
  /var/lib/ntp/etc/ntp.conf.iburst  r,
40
 
  /var/lib/ntp/drift rwl,
41
 
  /var/lib/ntp/drift.TEMP rwl,
42
 
  /var/lib/ntp/drift/ntp.drift r,
43
 
  /var/lib/ntp/var/run/ntp/ntpd.pid w,
44
 
  /var/log/ntp w,
45
 
  /var/log/ntp.log w,
46
 
  /var/opt/novell/xad/rpc/xadsd rw,
47
 
  /var/run/ntpd.pid w,
48
 
  /var/tmp/ntp* rwl,
49
 
}