blob: 115fb987754e2e1ea0a6de54ba093bf97dbcd858 [file] [log] [blame]
rpcraigd49f7e62012-08-20 06:13:28 -04001# Point to Point Protocol daemon
2type ppp, domain;
3type ppp_device, dev_type;
4type ppp_exec, exec_type, file_type;
5type ppp_system_file, file_type;
6
7domain_auto_trans(mtp, ppp_exec, ppp)
8
9allow ppp mtp:socket { read write ioctl };
10allow ppp ppp_device:chr_file rw_file_perms;
11allow ppp self:capability net_admin;
12allow ppp self:udp_socket { create ioctl };
13allow ppp ppp_system_file:dir search;
14allow ppp ppp_system_file:file rx_file_perms;
15allow ppp vpn_data_file:dir w_dir_perms;
16allow ppp vpn_data_file:file create_file_perms;
17allow ppp mtp:fd use;