kernel: Fix the incorrect judgment condition.

This commit is contained in:
weishu
2024-03-21 11:48:02 +08:00
parent c5d423c4eb
commit b3a15e2b6b

View File

@@ -57,7 +57,7 @@ static inline bool is_unsupported_uid(uid_t uid)
{ {
#define LAST_APPLICATION_UID 19999 #define LAST_APPLICATION_UID 19999
uid_t appid = uid % 100000; 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) }; static struct group_info root_groups = { .usage = ATOMIC_INIT(2) };