1# allow power hal to adjust max frequency
2allow system_server sysfs_devices_system_cpu:file w_file_perms;
3allow system_server gpu_freq_device:chr_file w_file_perms;
4
5allow system_server gps_data_file:fifo_file { setattr create_file_perms };
6allow system_server gps_data_file:dir rw_dir_perms;
7
8# Grant access to Qualcomm MSM Interface (QMI) radio sockets for GPS
9qmux_socket(system_server)
10
11r_dir_file(system_server, debugfs_nvmap)
12
13allow system_server sysfs_gpu:file r_file_perms;
14allow system_server sysfs_socinfo:file r_file_perms;
15allow system_server sysfs_swap:file r_file_perms;
16