From dcb1d38a37b9d1ef87b91553905fdba9d08c4efb Mon Sep 17 00:00:00 2001 From: weishu Date: Thu, 22 Dec 2022 22:20:12 +0700 Subject: [PATCH] kernel: fix seccomp, this is actually a fix of previous commit --- kernel/ksu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/ksu.c b/kernel/ksu.c index 88a5415f..4ecec01c 100644 --- a/kernel/ksu.c +++ b/kernel/ksu.c @@ -60,7 +60,7 @@ void escape_to_root() { #ifdef CONFIG_GENERIC_ENTRY current_thread_info()->syscall_work &= ~SYSCALL_WORK_SECCOMP; #else - current_thread_info()->flags &= ~(TIF_SECCOMP | SYSCALL_ENTER_WORK); + current_thread_info()->flags &= ~(TIF_SECCOMP | _TIF_SECCOMP); #endif current->seccomp.mode = 0; current->seccomp.filter = NULL;