``` void* mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { if (!real_mmap) real_mmap = dlsym(RTLD_NEXT, "mmap"); ```
hope it's not run by multiple threads and dlsym is not allocating.