mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-12 13:05:30 -08:00
Guard log FIFO with SELinux
This commit is contained in:
@@ -135,5 +135,5 @@ void restore_tmpcon() {
|
||||
setfilecon_at(dfd, entry->d_name, SYSTEM_CON);
|
||||
|
||||
string logd = tmp + "/"s LOG_PIPE;
|
||||
setfilecon(logd.data(), MAGISK_FILE_CON);
|
||||
setfilecon(logd.data(), MAGISK_LOG_CON);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user