Subject: Re: kern/35821: /dev/mem is not readable any more
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 02/25/2007 14:30:03
The following reply was made to PR kern/35821; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: Elad Efrat <elad@bsd.org.il>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35821: /dev/mem is not readable any more
Date: Sun, 25 Feb 2007 15:29:24 +0100
On Sat, Feb 24, 2007 at 11:10:02PM +0000, Elad Efrat wrote:
> when did it (=acpidump thing) work with securelevel > 0? and did you try
> with securelevel <= 0?
You are right, it does not work on 4.0_BETA either. It works fine with
securelevel -1.
This does not make it less a bug - if the open succeeds, why should the
read fail? Side note: EPERM is not an expected return value from {p}read.
This behaviour disagrees with my reading of secmodel_bsd44(9), but maybe
I'm missing something.
Martin