Fortunately libc doesn't mmap that much internally so I think I can get away alright with interposing lib's mmap call.
Reply on news.ycombinator.com