You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00: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