blob: af7062b0e572f8e3777a8b9e2c906699e209be5e [file] [log] [blame]
rpcraigd49f7e62012-08-20 06:13:28 -04001# Point to Point Protocol daemon
2type ppp, domain;
rpcraigd49f7e62012-08-20 06:13:28 -04003type ppp_device, dev_type;
4type ppp_exec, exec_type, file_type;
rpcraigd49f7e62012-08-20 06:13:28 -04005domain_auto_trans(mtp, ppp_exec, ppp)
Stephen Smalleycc65fe82013-10-29 14:42:38 -04006
Stephen Smalley16011322014-02-24 15:06:11 -05007net_domain(ppp)
8
Stephen Smalleycc65fe82013-10-29 14:42:38 -04009allow ppp mtp:socket rw_socket_perms;
Stephen Smalleyb3007652014-05-13 08:24:38 -040010allow ppp mtp:unix_dgram_socket rw_socket_perms;
Stephen Smalleycc65fe82013-10-29 14:42:38 -040011allow 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;