From b3a15e2b6bbc77f2edfa508e1a35086bfdc9e06f Mon Sep 17 00:00:00 2001 From: weishu Date: Thu, 21 Mar 2024 11:48:02 +0800 Subject: [PATCH] kernel: Fix the incorrect judgment condition. --- kernel/core_hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 0e7743de..5bbac8dc 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -57,7 +57,7 @@ static inline bool is_unsupported_uid(uid_t uid) { #define LAST_APPLICATION_UID 19999 uid_t appid = uid % 100000; - return appid < LAST_APPLICATION_UID; + return appid > LAST_APPLICATION_UID; } static struct group_info root_groups = { .usage = ATOMIC_INIT(2) };