mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Normalize system and shared-UID (< 10000) processes to their app ID when evaluating su policies and uid_granted_root so policies stored by PolicyDao.normalizeUid match across non-zero users on HSUM devices. - Normalize eval_uid in build_su_info and uid in uid_granted_root when app_id < AID_APP_START. - Ensure SECURE_DIR exists before writing settings in boot_complete(), seed SuMultiuserMode on HSUM, and check isHeadlessSystemUser in Info.showSuperUser. - Normalize UID comparisons in PackageManager.getPackageInfo(uid, pid). - Simplify ManagerInfo to track a single TrackedFile instead of a per-user BTreeMap. - Skip negative parse_int results in deny collect_users. Assisted-by: Gemini 4 Argon