diff --git a/property.te b/property.te index 6f2b280504559bba5e4577cb55ebcdb5feafad85..3195caf84514ac81f707785b78eb8a81f8f77175 100644 --- a/property.te +++ b/property.te @@ -14,6 +14,7 @@ type ctl_mdnsd_prop, property_type; type ctl_rildaemon_prop, property_type; type ctl_bugreport_prop, property_type; type audio_prop, property_type; +type logd_prop, property_type; type security_prop, property_type; type bluetooth_prop, property_type; type powerctl_prop, property_type; diff --git a/property_contexts b/property_contexts index cd8be69a354d5902b7bc812dbd1565432364994e..4640d56feaa59f960ee758beb646a0aa69e55c8f 100644 --- a/property_contexts +++ b/property_contexts @@ -34,6 +34,7 @@ service.adb.root u:object_r:shell_prop:s0 service.adb.tcp.port u:object_r:shell_prop:s0 persist.audio. u:object_r:audio_prop:s0 +persist.logd. u:object_r:logd_prop:s0 persist.sys. u:object_r:system_prop:s0 persist.service. u:object_r:system_prop:s0 persist.service.bdroid. u:object_r:bluetooth_prop:s0 diff --git a/system_app.te b/system_app.te index 42f7f7edf5bb008b5ce95d5ca34062be24054265..5b9f8a0745bf863abae699c6ccec0aff947541be 100644 --- a/system_app.te +++ b/system_app.te @@ -33,6 +33,7 @@ allow system_app debug_prop:property_service set; allow system_app radio_prop:property_service set; allow system_app system_prop:property_service set; allow system_app ctl_bugreport_prop:property_service set; +allow system_app logd_prop:property_service set; # Create /data/anr/traces.txt. allow system_app anr_data_file:dir ra_dir_perms;