Subject: kern/35821: /dev/mem is not readable any more
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/24/2007 01:05:00
>Number:         35821
>Category:       kern
>Synopsis:       /dev/mem is not readable any more
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 24 01:05:00 +0000 2007
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.12
System: NetBSD 4.99.12 NetBSD 4.99.12 (PORTER) #2: Thu Feb 22 18:58:55 CET 2007 i386
Architecture: i386
Machine: i386

At securelevel > 0 - aka: = Traditional NetBSD (4.4BSD)
security.models.bsd44.securelevel = 1
security.models.bsd44.curtain = 0

/dev/mem is not readable any more. It can be openend readonly, but any
attempts to read from it fail with EPERM.

On i386, just run acpidump(8) after checking the securelevel. It will be
unable to find any ACPI tables.