kernel: Add the ability to get active managers for multi-manager APKs

This commit is contained in:
ShirkNeko
2025-07-06 00:25:42 +08:00
parent f7dcc82be5
commit b8f9a448f2
4 changed files with 70 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
#define CMD_HOOK_TYPE 101
#define CMD_GET_SUSFS_FEATURE_STATUS 102
#define CMD_DYNAMIC_SIGN 103
#define CMD_GET_MANAGERS 104
#define EVENT_POST_FS_DATA 1
#define EVENT_BOOT_COMPLETED 2
@@ -57,6 +58,14 @@ struct dynamic_sign_user_config {
char hash[65];
};
struct manager_list_info {
int count;
struct {
uid_t uid;
int signature_index;
} managers[2];
};
// SUSFS Functional State Structures
struct susfs_feature_status {
bool status_sus_path;