mmap kernel in test daemon