Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 1 | allow shell serial_device:chr_file rw_file_perms; |
| 2 | |
| 3 | # allow to use ndc command to enable dns work |
| 4 | allow shell netd_socket:sock_file write; |
| 5 | |
| 6 | # hack for running netcfg eth0 dhcp/ifconfig/ping on console session |
| 7 | allow shell self:packet_socket create_socket_perms; |
| 8 | allow shell system_prop:property_service set; |
| 9 | |
| 10 | # hack for running start adbd/stop adbd on console session |
| 11 | allow shell ctl_default_prop:property_service set; |
| 12 | |
| 13 | # hack for reading the mkshrc file after lava modified |
| 14 | allow shell unlabeled:file r_file_perms; |
| 15 | |
| 16 | allow shell kernel:system module_request; |