Setup logging infra in the Rust side

This commit is contained in:
topjohnwu
2022-07-01 04:53:41 -07:00
parent 3817167ba1
commit b4863eb51b
20 changed files with 194 additions and 48 deletions

View File

@@ -311,7 +311,7 @@ void su_daemon_handler(int client, const sock_cred *cred) {
LOGD("su: fork handler\n");
// Abort upon any error occurred
log_cb.ex = exit;
exit_on_error(true);
// ack
write_int(client, 0);