mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-06 16:28:06 -04:00
universal7870: import sepolicy from 7580-common
thanks to @danwood76
This commit is contained in:
parent
9ce97a0bfb
commit
0cfeb0ec4f
61 changed files with 507 additions and 425 deletions
|
@ -1,7 +1,3 @@
|
|||
# /dev/mbin0
|
||||
allow system_server emmcblk_device:dir search;
|
||||
allow system_server emmcblk_device:blk_file { read write open ioctl getattr };
|
||||
|
||||
# /efs
|
||||
allow system_server efs_file:dir r_dir_perms;
|
||||
|
||||
|
@ -26,12 +22,13 @@ allow system_server app_efs_file:dir r_dir_perms;
|
|||
allow system_server app_efs_file:file r_file_perms;
|
||||
|
||||
# WifiMachine
|
||||
allow system_server self:capability { sys_module };
|
||||
allow system_server self:capability sys_module;
|
||||
allow system_server wifi_efs_file:dir r_dir_perms;
|
||||
allow system_server wifi_efs_file:file r_file_perms;
|
||||
|
||||
# mDNIE
|
||||
allow system_server sysfs_mdnie:lnk_file rw_file_perms;
|
||||
#allow system_server sysfs_mdnie:dir rw_dir_perms;
|
||||
allow system_server sysfs_mdnie:file rw_file_perms;
|
||||
|
||||
# memtrack HAL
|
||||
|
@ -41,17 +38,20 @@ allow system_server debugfs:dir r_dir_perms;
|
|||
allow system_server sensor_device:chr_file rw_file_perms;
|
||||
allow system_server baro_delta_factoryapp_efs_file:file r_file_perms;
|
||||
allow system_server sensor_factoryapp_efs_file:file r_file_perms;
|
||||
|
||||
# sysfs
|
||||
allow system_server sysfs_brightness:file write;
|
||||
allow system_server sysfs_input:file write;
|
||||
allow system_server sysfs_sec:file write;
|
||||
allow system_server sysfs_devices_system_cpu:file write;
|
||||
allow system_server sysfs_virtual:file write;
|
||||
allow system_server sysfs_sensors:file rw_file_perms;
|
||||
|
||||
# /data/system/gps/xtraee.bin
|
||||
allow system_server gps_data_file:file create_file_perms;
|
||||
|
||||
unix_socket_connect(system_server, property, gpsd)
|
||||
# Bluetooth buildprop
|
||||
get_prop(system_server, bluetooth_prop)
|
||||
|
||||
allow system_server proc:file { read open getattr };
|
||||
# Grpahics sysfs
|
||||
allow system_server sysfs_graphics:file rw_file_perms;
|
||||
|
||||
# Input sysfs
|
||||
allow system_server sysfs_input:file rw_file_perms;
|
||||
|
||||
allow system_server proc_input_devices:file r_file_perms;
|
||||
|
||||
unix_socket_connect(system_server, property, gpsd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue