refactor: make bind_syscalls
an associated function
#1942
Merged
bind_syscalls
an associated function
#1942