92bc3717 |
1 | # ------------------------------------------------------------------ |
2 | # |
3 | # Copyright (C) 2002-2005 Novell/SUSE |
4 | # |
5 | # This program is free software; you can redistribute it and/or |
6 | # modify it under the terms of version 2 of the GNU General Public |
7 | # License published by the Free Software Foundation. |
8 | # |
9 | # ------------------------------------------------------------------ |
10 | |
11 | #include <tunables/global> |
12 | |
13 | /usr/sbin/dhcpd { |
14 | #include <abstractions/base> |
15 | #include <abstractions/nameservice> |
16 | |
17 | capability dac_override, |
18 | capability net_bind_service, |
19 | capability net_raw, |
20 | capability setgid, |
21 | capability setuid, |
22 | capability sys_chroot, |
23 | |
24 | network inet raw, |
25 | network packet raw, |
26 | |
27 | /db/dhcpd.leases* lrw, |
28 | /etc/dhcpd.conf r, |
29 | /etc/named.d/* r, |
30 | /etc/hosts.allow r, |
31 | /etc/hosts.deny r, |
32 | @{PROC}/net/dev r, |
33 | /usr/sbin/dhcpd rmix, |
34 | /var/lib/dhcp/{db/,}dhcpd.leases* rwl, |
35 | /var/lib/dhcp/etc/dhcpd.conf r, |
36 | /{,var/}run/dhcpd.pid wl, |
37 | } |