Re: mmap breakage?

From: Alfred Perlstein <alfred_at_freebsd.org>
Date: Fri, 2 Apr 2004 11:12:54 -0800
* Poul-Henning Kamp <phk_at_phk.freebsd.dk> [040402 10:40] wrote:
> In message <20040402160959.GJ26131_at_elvis.mu.org>, Alfred Perlstein writes:
> >I noticed that mplayer seems to want to open /dev/zero with RDONLY
> >but then tries to mmap it PROT_READ+PROT_WRITE and gets rejected.
> 
> Sounds like missing MAP_PRIVATE ?

Nope, private is set.  It's just that the file is opened RDONLY,
but PROT has PROT_WRITE in it.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright_at_mu.org cell: 408-480-4684
Received on Fri Apr 02 2004 - 09:12:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC