mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: sepolicy: Address denial
This commit is contained in:
parent
0979b84da5
commit
ba5f36d48c
3 changed files with 3 additions and 7 deletions
|
|
@ -160,6 +160,7 @@ genfscon sysfs /devices/platform/17000070.devfreq_fsys/devfreq/17000070.devfreq_
|
|||
genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-charger/power_supply/s2mu004-charger u:object_r:sysfs_charger:s0
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-muic/power_supply/muic-manager u:object_r:sysfs_charger:s0
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-9/9-003d/s2mu004-charger/power_supply/otg u:object_r:sysfs_charger:s0
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu005-charger/power_supply/otg/type u:object_r:sysfs_charger:s0
|
||||
|
||||
# S2MU106 CHARGER (A20e)
|
||||
genfscon sysfs /devices/platform/13840000.i2c/i2c-8/8-003d/s2mu106-powermeter/power_supply/s2mu106_pmeter u:object_r:sysfs_charger:s0
|
||||
|
|
|
|||
|
|
@ -10,5 +10,4 @@ allow system_app sysfs_battery_info:dir { search };
|
|||
allow system_app sysfs_battery_info:file { read open getattr };
|
||||
|
||||
r_dir_file(system_app, sysfs_battery_info)
|
||||
|
||||
|
||||
r_dir_file(system_app, sysfs_zram)
|
||||
|
|
|
|||
|
|
@ -17,12 +17,8 @@ allow system_server sysfs_rtc:file r_file_perms;
|
|||
allow system_server sysfs_battery_writable:dir r_dir_perms;
|
||||
allow system_server sysfs_battery_writable:file rw_file_perms;
|
||||
|
||||
# get_prop(system_server, vendor_radio_prop)
|
||||
|
||||
r_dir_file(system_server, sysfs_virtual)
|
||||
|
||||
get_prop(system_server, exported_camera_prop)
|
||||
get_prop(system_server, userspace_reboot_config_prop)
|
||||
get_prop(system_server, userspace_reboot_exported_prop)
|
||||
allow system_server self:capability sys_module;
|
||||
# allow system_server unlabeled:file { write setattr };
|
||||
allow system_server shell:unix_stream_socket getopt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue