Compare commits

...

2 Commits

Author SHA1 Message Date
Wang Han
641984ea77 Update core_hook.c 2025-08-15 22:09:16 +08:00
Wang Han
884ca5851a Reset seccomp filter count when escaping to root 2025-08-15 21:49:17 +08:00

View File

@@ -125,6 +125,7 @@ static void disable_seccomp()
#ifdef CONFIG_SECCOMP
current->seccomp.mode = 0;
current->seccomp.filter = NULL;
atomic_set(&current->seccomp.filter_count, 0);
#else
#endif
}