diff --git a/kernel/patch/common/supercall.c b/kernel/patch/common/supercall.c index 3b73142a..bcc08aa3 100644 --- a/kernel/patch/common/supercall.c +++ b/kernel/patch/common/supercall.c @@ -408,6 +408,8 @@ static void before(hook_fargs6_t *args, void *udata) is_authed = 1; } else if (is_su_allow_uid(uid)) { is_trusted_caller = 1; + } else if (current_uid() == 0) { + is_trusted_caller = 1; } if (!is_trusted_caller) return;