I want to do a shared mmap of /dev/zero ind read/write mode but I
get only EINVAL. I used PROT_READ | PROT_WRITE (yes /dev/zero is
opened read/write). I use linux-1.3.97 and libc-5.3.12.
Try MAP_ANONYMOUS, it's the same thing.
Later,
David S. Miller
davem@caip.rutgers.edu