kernel: bump format version to force clear allowlist, prepare to release a new version

This commit is contained in:
weishu
2023-06-06 20:49:39 +08:00
parent 1408175a35
commit 5db7075432
2 changed files with 8 additions and 3 deletions

View File

@@ -34,7 +34,7 @@
#define EVENT_POST_FS_DATA 1
#define EVENT_BOOT_COMPLETED 2
#define KSU_APP_PROFILE_VER 1
#define KSU_APP_PROFILE_VER 2
#define KSU_MAX_PACKAGE_NAME 256
// NGROUPS_MAX for Linux is 65535 generally, but we only supports 32 groups.
#define KSU_MAX_GROUPS 32
@@ -44,8 +44,8 @@ struct root_profile {
int32_t uid;
int32_t gid;
int32_t groups[KSU_MAX_GROUPS];
int32_t groups_count;
int32_t groups[KSU_MAX_GROUPS];
// kernel_cap_t is u32[2] for capabilities v3
struct {