(create_process): Skip the ioctl if fd is -1.