-
Notifications
You must be signed in to change notification settings - Fork 4
/
usr.sbin.dhcpd
37 lines (32 loc) · 950 Bytes
/
usr.sbin.dhcpd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ------------------------------------------------------------------
#
# 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.
#
# ------------------------------------------------------------------
#include <tunables/global>
/usr/sbin/dhcpd {
#include <abstractions/base>
#include <abstractions/nameservice>
capability dac_override,
capability net_bind_service,
capability net_raw,
capability setgid,
capability setuid,
capability sys_chroot,
network inet raw,
network packet raw,
/db/dhcpd.leases* lrw,
/etc/dhcpd.conf r,
/etc/named.d/* r,
/etc/hosts.allow r,
/etc/hosts.deny r,
@{PROC}/net/dev r,
/usr/sbin/dhcpd rmix,
/var/lib/dhcp/{db/,}dhcpd.leases* rwl,
/var/lib/dhcp/etc/dhcpd.conf r,
/{,var/}run/dhcpd.pid wl,
}