Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 11:12:54 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: mmap breakage?
Message-ID:  <20040402191254.GK26131@elvis.mu.org>
In-Reply-To: <35184.1080931122@critter.freebsd.dk>
References:  <20040402160959.GJ26131@elvis.mu.org> <35184.1080931122@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@phk.freebsd.dk> [040402 10:40] wrote:
> In message <20040402160959.GJ26131@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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040402191254.GK26131>