Re: shared mmapping of /dev/zero

Ronald Wahl (Ronald.Wahl@informatik.tu-chemnitz.de)
Sun, 5 May 1996 16:12:58 +0200 (MET DST)


On Sun, 5 May 1996, David S. Miller wrote:

> Date: Sat, 4 May 1996 17:01:00 +0200 (MET DST)
> From: Ronald Wahl <Ronald.Wahl@informatik.tu-chemnitz.de>
>
> 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.

I don't need the mapping anymore. I found another solution for my program.
But I had tried MAP_ANON (same as MAP_ANONYMOUS) and it didn't work.

thanks,
ron

--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de   \
 \ WWW: http://www.tu-chemnitz.de/~row             \
  \ PGP key available by finger to my email address \