kernel: refine syscall_hook_manager

- Don't unmark process when setuid if syscall tracepoint is in use
- Remark process when app profile updated
- Ensure zygote is marked on first boot
This commit is contained in:
5ec1cff
2025-11-13 19:50:54 +08:00
committed by ShirkNeko
parent 490cc39180
commit 9203006028
7 changed files with 68 additions and 28 deletions

View File

@@ -21,6 +21,8 @@ bool is_ksu_domain(void);
bool is_zygote(const struct cred* cred);
bool is_init(const struct cred* cred);
void apply_kernelsu_rules(void);
u32 ksu_get_ksu_file_sid(void);