diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 3fdef74b..a63d34a7 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -125,7 +125,7 @@ static void disable_seccomp() #ifdef CONFIG_SECCOMP current->seccomp.mode = 0; current->seccomp.filter = NULL; - atomic_set(current->seccomp.filter_count, 0); + atomic_set(¤t->seccomp.filter_count, 0); #else #endif }