blob: bcab339091b7bebaf665687e7e240e8f4798e16e [file] [log] [blame]
rpcraigd49f7e62012-08-20 06:13:28 -04001# Point to Point Protocol daemon
2type ppp, domain;
Stephen Smalleycc65fe82013-10-29 14:42:38 -04003permissive_or_unconfined(ppp)
rpcraigd49f7e62012-08-20 06:13:28 -04004type ppp_device, dev_type;
5type ppp_exec, exec_type, file_type;
rpcraigd49f7e62012-08-20 06:13:28 -04006domain_auto_trans(mtp, ppp_exec, ppp)
Stephen Smalleycc65fe82013-10-29 14:42:38 -04007
Stephen Smalley16011322014-02-24 15:06:11 -05008net_domain(ppp)
9
Stephen Smalleycc65fe82013-10-29 14:42:38 -040010allow ppp mtp:socket rw_socket_perms;
11allow ppp ppp_device:chr_file rw_file_perms;
12allow ppp self:capability net_admin;
Stephen Smalleycc65fe82013-10-29 14:42:38 -040013allow 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;