1# Point to Point Protocol daemon
2type ppp, domain;
3type ppp_device, dev_type;
4type ppp_exec, exec_type, file_type;
5domain_auto_trans(mtp, ppp_exec, ppp)
6
7net_domain(ppp)
8
9allow ppp mtp:socket rw_socket_perms;
10allow ppp mtp:unix_dgram_socket rw_socket_perms;
11allow ppp ppp_device:chr_file rw_file_perms;
12allow ppp self:capability net_admin;
13allow ppp system_file:file rx_file_perms;
14allow ppp vpn_data_file:dir w_dir_perms;
15allow ppp vpn_data_file:file create_file_perms;
16allow ppp mtp:fd use;
17