X-Spam-Check-By: sourceware.org
Date: Wed, 1 Aug 2007 21:11:04 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Request for running a test application
Message-ID: <20070801191104.GM13674@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20070801090736.GA11738@calimero.vinschen.de> <20070801093938.GC11738@calimero.vinschen.de> <46B07226.8040601@gmx.de> <20070801115312.GB13674@calimero.vinschen.de> <46B0A8BA.88B7C424@dessent.net> <20070801162610.GI13674@calimero.vinschen.de> <46B0BF7B.8F48E40@dessent.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <46B0BF7B.8F48E40@dessent.net>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Aug  1 10:14, Brian Dessent wrote:
> Corinna Vinschen wrote:
> 
> > Can you change the source and see what you get when the native NT
> > filename is only \??\X: instead of \??\X:\ (no trailing backslash)?
> 
> Without the trailing backslash ZwOpenFile returns STATUS_ACCESS_DENIED
> (stat = c0000022).  It seems to do that regardless of the drive letter
> so it doesn't look like it's specific to the ramdisk driver.

Did you use the second incarnation of the test app from
http://cygwin.com/ml/cygwin/2007-08/msg00040.html which uses
READ_CONTROL instead of an access of 0?  If using READ_CONTROL doesn't
work either, you could try with GENERIC_READ instead.


Thanks,
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/

