Fix restorecon

This commit is contained in:
vvb2060
2023-03-15 00:24:33 +08:00
committed by John Wu
parent a18a440236
commit 69529ac59c
8 changed files with 16 additions and 21 deletions

View File

@@ -159,7 +159,7 @@ rm -f $APK
)EOF";
void install_apk(const char *apk) {
setfilecon(apk, "u:object_r:" SEPOL_FILE_TYPE ":s0");
setfilecon(apk, MAGISK_FILE_CON);
exec_t exec {
.fork = fork_no_orphan
};