mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Use rust to implement collect/reset overlay context
This commit is contained in:
@@ -132,8 +132,7 @@ bool MagiskInit::hijack_sepolicy() {
|
||||
sepol->to_file(SELINUX_LOAD);
|
||||
|
||||
// restore mounted files' context after sepolicy loaded
|
||||
void reset_overlay_contexts();
|
||||
reset_overlay_contexts();
|
||||
rust::reset_overlay_contexts();
|
||||
|
||||
// Write to the enforce node ONLY after sepolicy is loaded. We need to make sure
|
||||
// the actual init process is blocked until sepolicy is loaded, or else
|
||||
|
||||
Reference in New Issue
Block a user