Make log pipe a FIFO instead of anonymous pipe

This commit is contained in:
topjohnwu
2023-10-30 03:14:25 -07:00
parent a177846044
commit a6e50d3648
6 changed files with 76 additions and 29 deletions
+3
View File
@@ -131,4 +131,7 @@ void restore_tmpcon() {
for (dirent *entry; (entry = xreaddir(dir.get()));)
setfilecon_at(dfd, entry->d_name, SYSTEM_CON);
string logd = MAGISKTMP + "/" LOG_PIPE;
setfilecon(logd.data(), MAGISK_FILE_CON);
}