delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 8 Apr 2008 10:27:17 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: /dev/mem: permission denied |
Message-ID: | <20080408082717.GW23852@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <47FB28E6 DOT 4010707 AT wpkg DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <47FB28E6.4010707@wpkg.org> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Apr 8 10:12, Tomasz Chmielewski wrote: > I just compiled dmidecode[1] with the latest stable version of cygwin. > > The binary[2] works fine on XP, but on Windows 2003, it throws a permission > denied error on accessing /dev/mem. > > I searched the Cygwin list and found this message[3]: > > Accessing \device\physicalmemory from privileged > user mode processes works only on NT4, W2K and XP. Starting with 2K3, > access to physical memory has been restricted to work only in kernel > mode. > > On the other hand, a patched version of dmidecode (not needing Cygwin > DLL)[4] works just fine on Windows 2003. Yes, but it doesn't access \Device\Physicalmemory. It uses the new function GetSystemFirmwareTable, only available since Windows 2003, which only gives read access to certain firmware areas in the physical memory. > Is there a workaround for /dev/mem: permission denied problem in Cygwin? No. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |