You've already forked KernelSU
mirror of
https://github.com/tiann/KernelSU.git
synced 2025-08-27 23:46:34 +00:00
Update core_hook.c
This commit is contained in:
@@ -125,7 +125,7 @@ static void disable_seccomp()
|
|||||||
#ifdef CONFIG_SECCOMP
|
#ifdef CONFIG_SECCOMP
|
||||||
current->seccomp.mode = 0;
|
current->seccomp.mode = 0;
|
||||||
current->seccomp.filter = NULL;
|
current->seccomp.filter = NULL;
|
||||||
atomic_set(current->seccomp.filter_count, 0);
|
atomic_set(¤t->seccomp.filter_count, 0);
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user