add brk and mmap interfaces