On Sat, Sep 25, 2010 at 11:55:47AM +0200, Frédéric Point wrote: > Hi all, > > I tried to mmap with the MAP_FIXED flags set to some addresses > starting at 0x1000 and mmap always return EPERM. No idea - it should return EINVAL if it's unhappy with the address. What does strace say when you run your program via strace?