mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 03:26:29 +00:00
Enable SSRestartDetector in Muskie
BUG=35138780 Change-Id: I0712462afa800880efbd4d646cd6d3f713318772
This commit is contained in:
@@ -78,6 +78,8 @@ PRODUCT_PACKAGES += \
|
||||
update_engine \
|
||||
update_verifier
|
||||
|
||||
PRODUCT_PACKAGES += SSRestartDetector
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
bootctrl.msm8998
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@ type sysfs_rmtfs, sysfs_type, fs_type;
|
||||
type sysfs_net, sysfs_type, fs_type;
|
||||
type sysfs_fingerprint, sysfs_type, fs_type;
|
||||
|
||||
type sysfs_msm_subsys, sysfs_type, fs_type;
|
||||
type sysfs_msm_subsys_restart, sysfs_type, fs_type;
|
||||
|
||||
type qmuxd_socket, file_type;
|
||||
type netmgrd_socket, file_type;
|
||||
type thermal_socket, file_type;
|
||||
@@ -20,3 +23,5 @@ type persist_display_file, file_type;
|
||||
type persist_sensors_file, file_type;
|
||||
|
||||
type netmgr_data_file, file_type, data_file_type;
|
||||
|
||||
type ramdump_data_file, file_type, data_file_type, mlstrustedobject;
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
/sys/devices/soc0(/.*)? u:object_r:sysfs_soc:s0
|
||||
/sys/devices/soc/caa0000\.qcom,jpeg(/.*)? u:object_r:sysfs_camera:s0
|
||||
/sys/devices/soc/caa4000\.qcom,fd(/.*)? u:object_r:sysfs_camera:s0
|
||||
/sys/bus/msm_subsys(/.*)? u:object_r:sysfs_msm_subsys:s0
|
||||
|
||||
# files in /system
|
||||
/system/bin/init\.power\.sh u:object_r:init_power_exec:s0
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
type wc_prop, property_type;
|
||||
type camera_prop, property_type;
|
||||
type ssr_prop, property_type;
|
||||
|
||||
6
sepolicy/system_app.te
Normal file
6
sepolicy/system_app.te
Normal file
@@ -0,0 +1,6 @@
|
||||
r_dir_file(system_app, sysfs_msm_subsys)
|
||||
userdebug_or_eng(`
|
||||
allow system_app ramdump_data_file:dir r_dir_perms;
|
||||
allow system_app ramdump_data_file:file r_file_perms;
|
||||
get_prop(system_app, ssr_prop)
|
||||
')
|
||||
Reference in New Issue
Block a user