Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 2269aee0328d979d9de644b78b94e558 > files > 1

net-tools-1.60-36.mga3.src.rpm

# $Id: bin.netstat 697 2007-05-25 03:09:30Z steve-beattie $
# vim:syntax=apparmor
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2005 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# evolution, amongst other things, calls this program. I didn't want to
# give evolution access to significant chunks of /proc
#

#include <tunables/global>

/bin/netstat {
  #include <abstractions/base>
  #include <abstractions/consoles>
  #include <abstractions/nameservice>

  capability dac_override,
  capability dac_read_search,
  capability sys_ptrace,

  /bin/netstat rmix,
  /etc/networks r,
  @{PROC} r,
  @{PROC}/[0-9]*/cmdline r,
  @{PROC}/[0-9]*/fd r,
  @{PROC}/[0-9]*/fd/ r,
  @{PROC}/net r,
  @{PROC}/net/* r,
}