ptrace usage to control child process syscalls