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