diff --git a/property.te b/property.te index a7370aec612edebb573e5905553a66505de3bfe1..d2a238bc1dee1743410e45a132f5373fb646fb0d 100644 --- a/property.te +++ b/property.te @@ -12,6 +12,7 @@ type net_radio_prop, property_type, core_property_type; type system_radio_prop, property_type, core_property_type; type system_prop, property_type, core_property_type; type vold_prop, property_type, core_property_type; +type wifi_log_prop, property_type, log_property_type; type ctl_bootanim_prop, property_type; type ctl_default_prop, property_type; type ctl_dumpstate_prop, property_type; diff --git a/property_contexts b/property_contexts index e634165540f3782c44496cc720c21199158633ce..70a80803b7f950f16abcfd268fb9ee55880e2b52 100644 --- a/property_contexts +++ b/property_contexts @@ -33,6 +33,7 @@ debug. u:object_r:debug_prop:s0 debug.db. u:object_r:debuggerd_prop:s0 dumpstate. u:object_r:dumpstate_prop:s0 log. u:object_r:log_prop:s0 +log.tag.WifiHAL u:object_r:wifi_log_prop:s0 service.adb.root u:object_r:shell_prop:s0 service.adb.tcp.port u:object_r:shell_prop:s0 diff --git a/shell.te b/shell.te index ad610b42c9491b4a1f05370163b2b0caea948e85..d8c6dd49b74a0cc5f5b0beb869b21d23ad4b0154 100644 --- a/shell.te +++ b/shell.te @@ -64,6 +64,7 @@ set_prop(shell, dumpstate_prop) set_prop(shell, debug_prop) set_prop(shell, powerctl_prop) userdebug_or_eng(`set_prop(shell, log_prop)') +userdebug_or_eng(`set_prop(shell, wifi_log_prop)') # systrace support - allow atrace to run allow shell debugfs_tracing:dir r_dir_perms; diff --git a/system_server.te b/system_server.te index 1d2677eaaa2e519f7636d8fb683054addc3d37d4..3c45981dc7c57d333f1ece327205ffcc2184f4b6 100644 --- a/system_server.te +++ b/system_server.te @@ -319,6 +319,7 @@ set_prop(system_server, debug_prop) set_prop(system_server, powerctl_prop) set_prop(system_server, fingerprint_prop) set_prop(system_server, device_logging_prop) +userdebug_or_eng(`set_prop(system_server, wifi_log_prop)') # ctl interface set_prop(system_server, ctl_default_prop)