Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 08:09:59 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        current@freebsd.org
Cc:        alc@freebsd.org
Subject:   mmap breakage?
Message-ID:  <20040402160959.GJ26131@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
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.

This seems to have started failing recently, but also could have
been a bug introduced into mplayer as I upgraded both FreeBSD
and mplayer at the same time.

If it's a FreeBSD bug could someone take a look at fixing it, if
it's not, does it hurt us too badly to special case /dev/zero for
allowing this instead of EACCESS?


-- 
- 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?20040402160959.GJ26131>