Use getpid syscall (option)
getpid syscall does not need to issue a close, and can end on the hook part