Generalize bindings to all syscalls.

Signed-off-by: katlogic <kat@lua.cz>