mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-30 13:28:09 +00:00
Merge "hal_wifi: Allow wifi hal to access /proc/debug"
This commit is contained in:
committed by
Android (Google) Code Review
commit
99c674b714
@@ -9,6 +9,9 @@ type sysfs_msm_subsys_restart, sysfs_type, fs_type;
|
||||
|
||||
type debugfs_rmt_storage, debugfs_type, fs_type;
|
||||
|
||||
# /proc
|
||||
type proc_wifi_dbg, fs_type;
|
||||
|
||||
type qmuxd_socket, file_type;
|
||||
type netmgrd_socket, file_type;
|
||||
type thermal_socket, file_type;
|
||||
|
||||
2
sepolicy/genfs_contexts
Normal file
2
sepolicy/genfs_contexts
Normal file
@@ -0,0 +1,2 @@
|
||||
genfscon proc /debug/fwdump u:object_r:proc_wifi_dbg:s0
|
||||
genfscon proc /debugdriver/driverdump u:object_r:proc_wifi_dbg:s0
|
||||
@@ -5,3 +5,6 @@ allow hal_wifi location_data_file:sock_file write;
|
||||
# write to files owned by location daemon
|
||||
allow hal_wifi location_data_file:dir create_dir_perms;
|
||||
allow hal_wifi location_data_file:{ file fifo_file } create_file_perms;
|
||||
|
||||
# Allow wifi hal to read debug info from the driver.
|
||||
r_dir_file(hal_wifi, proc_wifi_dbg)
|
||||
|
||||
Reference in New Issue
Block a user