kernel: Prune allowlist only after boot completed

For unknown reason, packages.list is not reliable during boot for oplus
devices, so we have to disable pruning and re-run pruning after boot.
This commit is contained in:
Wang Han
2025-11-12 21:43:02 +08:00
committed by ShirkNeko
parent 906c4bdb01
commit 01ac06c3fd
5 changed files with 15 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ static int ksu_handle_inode_event(struct fsnotify_mark *mark, u32 mask,
if (ksu_uid_scanner_enabled) {
ksu_request_userspace_scan();
}
track_throne();
track_throne(false);
}
return 0;
}