• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# DHCP client
2type dhcpclient, domain;
3type dhcpclient_exec, exec_type, vendor_file_type, file_type;
4
5init_daemon_domain(dhcpclient)
6net_domain(dhcpclient)
7
8dontaudit dhcpclient kernel:system module_request;
9allow dhcpclient self:capability { net_admin net_raw };
10allow dhcpclient self:udp_socket create;
11allow dhcpclient self:netlink_route_socket { write nlmsg_write };
12allow dhcpclient varrun_file:dir search;
13allow dhcpclient self:packet_socket { create bind write read };
14allowxperm dhcpclient self:udp_socket ioctl { SIOCSIFFLAGS
15                                              SIOCSIFADDR
16                                              SIOCSIFNETMASK
17                                              SIOCSIFMTU
18                                              SIOCGIFHWADDR };
19