Add syscalls.h and sys_chmod.

Huge patch, we separate syscall_selection, para_rand_selection, log,
syscall.