diff --git a/te_macros b/te_macros index ecdf8b4f8dbd0cd1941b92b87fe9b3b6f53369f1..aa5932d7a43111ed3075c595d929ad1d1a84b5b3 100644 --- a/te_macros +++ b/te_macros @@ -321,10 +321,7 @@ define(`permissive_or_unconfined', ifelse(force_permissive_to_unconfined, `false # daemon via sockets define(`write_logd', ` userdebug_or_eng(` - # Debug output - type_transition $1 device:file logd_debug; - allow $1 device:dir rw_dir_perms; - allow $1 logd_debug:file create_file_perms; + allow $1 logd_debug:file w_file_perms; ') unix_socket_send($1, logdw, logd) ')