create memory no copy system call testing code