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

« back to all changes in this revision

Viewing changes to profiles/apparmor.d/usr.sbin.mdnsd

  • 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
# ------------------------------------------------------------------
 
2
#
 
3
#    Copyright (C) 2002-2009 Novell/SUSE
 
4
#    Copyright (C) 2010 Canonical Ltd.
 
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
#include <tunables/global>
 
13
 
 
14
/usr/sbin/mdnsd {
 
15
  #include <abstractions/base>
 
16
  #include <abstractions/consoles>
 
17
  #include <abstractions/nameservice>
 
18
 
 
19
  capability net_bind_service,
 
20
  capability setgid,
 
21
  capability setuid,
 
22
  capability sys_chroot,
 
23
  capability sys_resource,
 
24
 
 
25
  /usr/sbin/mdnsd rmix,
 
26
 
 
27
  @{PROC}/net/ r,
 
28
  @{PROC}/net/unix r,
 
29
  /var/run/mdnsd lw,
 
30
  /var/run/mdnsd.pid w,
 
31
 
 
32
  # Site-specific additions and overrides. See local/README for details.
 
33
  #include <local/usr.sbin.mdnsd>
 
34
}