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

« back to all changes in this revision

Viewing changes to profiles/extras/sbin.dhcpcd

  • 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
 
# $Id: sbin.dhcpcd 99 2006-08-21 23:11:47Z seth_arnold $
2
 
# ------------------------------------------------------------------
3
 
#
4
 
#    Copyright (C) 2002-2005 Novell/SUSE
5
 
#
6
 
#    This program is free software; you can redistribute it and/or
7
 
#    modify it under the terms of version 2 of the GNU General Public
8
 
#    License published by the Free Software Foundation.
9
 
#
10
 
# ------------------------------------------------------------------
11
 
#
12
 
# If you wish to use /etc/sysconfig/network/scripts/dhcpcd-hook, be sure
13
 
# to configure a subdomain profile for it.
14
 
#
15
 
# Note that dhcpcd (at least as distributed by SuSE) offers to rewrite
16
 
# ntp.conf and yp.conf in addition to resolv.conf.
17
 
#
18
 
# vim:syntax=apparmor
19
 
 
20
 
#include <tunables/global>
21
 
 
22
 
/sbin/dhcpcd {
23
 
  #include <abstractions/base>
24
 
  #include <abstractions/nameservice>
25
 
 
26
 
  capability net_raw,
27
 
  capability net_admin,
28
 
 
29
 
  /etc/dhcpc/* rwl,
30
 
  /etc/resolv.conf{,.sv} rwl,
31
 
  /etc/ntp.conf{,.sv} rwl,
32
 
  /etc/yp.conf{,.sv} rwl,
33
 
  /sbin/dhcpcd rmix,
34
 
  /sbin/modify_resolvconf rmix,
35
 
  /var/run/dhcpcd-*.pid rwl,
36
 
}