kernel: Use the prctl command to provide switches for scanning functionality in user space

This commit is contained in:
ShirkNeko
2025-09-27 19:33:20 +08:00
parent 07320d9e11
commit 27fba0d48b
5 changed files with 174 additions and 9 deletions

View File

@@ -30,6 +30,7 @@
#define CMD_HOOK_TYPE 101
#define CMD_DYNAMIC_MANAGER 103
#define CMD_GET_MANAGERS 104
#define CMD_ENABLE_UID_SCANNER 105
#define EVENT_POST_FS_DATA 1
#define EVENT_BOOT_COMPLETED 2