mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-09 02:41:03 +01:00

oftc_ftw reported on IRC that Arch Linux has a symlink /bin -> /usr/bin. This means we have to update paths for /bin/ in several profiles to also allow /usr/bin/ Acked-by: John Johansen <john.johansen@canonical.com> for trunk and 2.9
27 lines
785 B
Text
27 lines
785 B
Text
# ------------------------------------------------------------------
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
#include <tunables/global>
|
|
/{usr/,}bin/ping {
|
|
#include <abstractions/base>
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability net_raw,
|
|
capability setuid,
|
|
network inet raw,
|
|
|
|
/{,usr/}bin/ping mixr,
|
|
/etc/modules.conf r,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/bin.ping>
|
|
}
|