mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 17:00:39 +00:00
Integrate sepolicy patching with MagiskSU fixed
This commit is contained in:
@@ -178,3 +178,8 @@ void unlock_blocks() {
|
||||
|
||||
closedir(dir);
|
||||
}
|
||||
|
||||
void unblock_boot_process() {
|
||||
int fd = open("/dev/.magisk.unblock", O_RDONLY | O_CREAT);
|
||||
close(fd);
|
||||
}
|
||||
|
@@ -62,5 +62,6 @@ void ps(void (*func)(int));
|
||||
void ps_filter_proc_name(const char *filter, void (*func)(int));
|
||||
int create_links(const char *bin, const char *path);
|
||||
void unlock_blocks();
|
||||
void unblock_boot_process();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user