mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Add sepolicy rule to dump IPC related info
Required to collect IPC port/service ID information from
debugfs when bugreport is generated.
BUG: 36859850
Test: Collected bugreport and verified that this information is
present in dumpstate-board.txt
Change-Id: I3573fe4b219218816b51c8171412d6f99b18e554
This commit is contained in:
@@ -17,6 +17,7 @@ type debugfs_rpm, debugfs_type, fs_type;
|
||||
type debugfs_rmt_storage, debugfs_type, fs_type;
|
||||
type debugfs_usb, debugfs_type, fs_type;
|
||||
type debugfs_wlan, debugfs_type, fs_type;
|
||||
type debugfs_ipc, debugfs_type, fs_type;
|
||||
|
||||
# /proc
|
||||
type proc_wifi_dbg, fs_type;
|
||||
|
||||
@@ -168,6 +168,7 @@
|
||||
/sys/kernel/debug/tcpm/usbpd0 u:object_r:debugfs_usb:s0
|
||||
/sys/kernel/debug/pd_engine/usbpd0 u:object_r:debugfs_usb:s0
|
||||
/sys/kernel/debug/ipc_logging/smblib/log u:object_r:debugfs_usb:s0
|
||||
/sys/kernel/debug/msm_ipc_router(/.*)? u:object_r:debugfs_ipc:s0
|
||||
|
||||
# files in /system
|
||||
/system/bin/init\.power\.sh u:object_r:init_power_exec:s0
|
||||
|
||||
@@ -19,6 +19,8 @@ userdebug_or_eng(`
|
||||
allow hal_dumpstate_impl radio_data_file:file r_file_perms;
|
||||
allow hal_dumpstate_impl radio_vendor_data_file:file r_file_perms;
|
||||
allow hal_dumpstate_impl netmgr_data_file:file r_file_perms;
|
||||
allow hal_dumpstate_impl debugfs_ipc:dir r_dir_perms;
|
||||
allow hal_dumpstate_impl debugfs_ipc:file r_file_perms;
|
||||
|
||||
set_prop(hal_dumpstate_impl, modem_diag_prop)
|
||||
')
|
||||
|
||||
Reference in New Issue
Block a user