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

« back to all changes in this revision

Viewing changes to profiles/apparmor/profiles/extras/bin.netstat

  • 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
# ------------------------------------------------------------------
 
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
# evolution, amongst other things, calls this program. I didn't want to
 
12
# give evolution access to significant chunks of /proc
 
13
#
 
14
 
 
15
#include <tunables/global>
 
16
 
 
17
/bin/netstat {
 
18
  #include <abstractions/base>
 
19
  #include <abstractions/consoles>
 
20
  #include <abstractions/nameservice>
 
21
 
 
22
  capability dac_override,
 
23
  capability dac_read_search,
 
24
 
 
25
  /bin/netstat rmix,
 
26
  /etc/networks r,
 
27
  @{PROC} r,
 
28
  @{PROC}/[0-9]*/cmdline r,
 
29
  @{PROC}/[0-9]*/fd r,
 
30
  @{PROC}/net r,
 
31
  @{PROC}/net/* r,
 
32
}