~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: usr.sbin.mdnsd 90 2006-08-04 19:13:59Z seth_arnold $
 
2
# vim:syntax=apparmor
 
3
# ------------------------------------------------------------------
 
4
#
 
5
#    Copyright (C) 2002-2005 Novell/SUSE
 
6
#
 
7
#    This program is free software; you can redistribute it and/or
 
8
#    modify it under the terms of version 2 of the GNU General Public
 
9
#    License published by the Free Software Foundation.
 
10
#
 
11
# ------------------------------------------------------------------
 
12
 
 
13
#include <tunables/global>
 
14
 
 
15
/usr/sbin/mdnsd {
 
16
  #include <abstractions/base>
 
17
  #include <abstractions/consoles>
 
18
  #include <abstractions/nameservice>
 
19
 
 
20
  capability net_bind_service,
 
21
  capability setgid,
 
22
  capability setuid,
 
23
  capability sys_chroot,
 
24
  capability sys_resource,
 
25
 
 
26
  /usr/sbin/mdnsd rmix,
 
27
 
 
28
  /proc/net r,
 
29
  /proc/net/unix r,
 
30
  /proc/sys/kernel/ngroups_max r,
 
31
  /var/run/mdnsd lw,
 
32
  /var/run/mdnsd.pid w,
 
33
}