Susfs main (#597)
* Update file_wrapper.c (#595) * Remove wrong compatibility code from susfs-main (#596) Nongki compatibility code should be committed to nongki branch, rather than susfs-main branch. --------- Co-authored-by: kAiF <askthekaif@proton.me> Co-authored-by: cctv18 <85936817+cctv18@users.noreply.github.com>
This commit is contained in:
@@ -82,9 +82,8 @@ void disable_seccomp(void)
|
||||
#ifdef CONFIG_SECCOMP
|
||||
current->seccomp.mode = 0;
|
||||
current->seccomp.filter = NULL;
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
|
||||
atomic_set(¤t->seccomp.filter_count, 0);
|
||||
#endif
|
||||
#else
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user