blob: 4b62d7f5830bdf7a3c6b7a06cdf178dc8a46c6ca [file] [log] [blame]
Amit Pundire0b877a2023-07-19 10:17:38 +05301type set_ethaddr, domain, coredomain;
2type set_ethaddr_exec, exec_type, system_file_type, file_type;
3init_daemon_domain(set_ethaddr);
4
5allow set_ethaddr proc_cmdline:file { open read };
6allow set_ethaddr proc_bootconfig:file { open read };
7allow set_ethaddr rootfs:dir { open read };
8allow set_ethaddr self:capability net_admin;
9allow set_ethaddr self:netlink_route_socket { bind create getattr nlmsg_read nlmsg_readpriv nlmsg_write read setopt write };
10allow set_ethaddr self:udp_socket { create ioctl };
11allow set_ethaddr shell_exec:file { execute getattr map read };
12allow set_ethaddr system_file:file execute_no_trans;
13allow set_ethaddr toolbox_exec:file { execute execute_no_trans getattr map open read };