mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
36 lines
999 B
Text
36 lines
999 B
Text
# $Id$
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# If you wish to use /etc/sysconfig/network/scripts/dhcpcd-hook, be sure
|
|
# to configure a subdomain profile for it.
|
|
#
|
|
# Note that dhcpcd (at least as distributed by SuSE) offers to rewrite
|
|
# ntp.conf and yp.conf in addition to resolv.conf.
|
|
#
|
|
# vim:syntax=apparmor
|
|
|
|
#include <tunables/global>
|
|
|
|
/sbin/dhcpcd {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability net_raw,
|
|
capability net_admin,
|
|
|
|
/etc/dhcpc/* rwl,
|
|
/etc/resolv.conf{,.sv} rwl,
|
|
/etc/ntp.conf{,.sv} rwl,
|
|
/etc/yp.conf{,.sv} rwl,
|
|
/sbin/dhcpcd rmix,
|
|
/sbin/modify_resolvconf rmix,
|
|
/var/run/dhcpcd-*.pid rwl,
|
|
}
|