abi <abi/4.0>,

include <tunables/global>

# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2009 Novell/SUSE
#    Copyright (C) 2010 Canonical Ltd.
#
#    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.
#
# ------------------------------------------------------------------


profile ping /{usr/,}bin/{,iputils-}ping {
  include <abstractions/base>
  include <abstractions/consoles>
  include <abstractions/nameservice>
  include if exists <local/bin.ping>

  capability net_raw,
  capability setuid,

  network inet raw,
  network inet6 raw,

  /etc/modules.conf r,
  /proc/21622/cmdline r,
  /{,usr/}bin/{,iputils-}ping mrix,

}
