delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/05/05:31:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=PhSPVW/0NzVBJcAgXSGI2y1P1Y7YSDF8DJsGK1XyuKBANZ6iqPJtB
s17310LmQwW6Vafhg1oG/9cTpYxB38t/f6QcWj/zyuYM4KHa5R/3V/0iD4/8H/DT
B/0LPmDys9cPOp1cc6KVD7YpNxux3ArPVOIknNsJN1oP3ggpXe17Ww=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=CRNQCfXgL3tY1CUYPZ0t4zPkWOE=; b=o3zmDEmOt7oVvReTJV++GYtiE+Y3
RAElKnBRQJB3TrczOm8aqKtz0kqSlAGl0a5B254iOHe9XRFzLtbNNaTA3MUW6/0Y
bo6mKvtxEXmaSn8SfadS8hx5SYvy5CQgH9vuG9slLmBpETZLsPxQNQ5GIFeAA+9i
6fzs4k+galvWFtw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-95.0 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Got, H*i:sk:ad0865a, H*f:sk:ad0865a, H*MI:sk:ad0865a
X-HELO: calimero.vinschen.de
Date: Fri, 5 Aug 2016 11:30:58 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Size limitation for NcFsd drive?
Message-ID: <20160805093058.GJ25811@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2483665a-eae1-737d-59f2-ca6af9428aca AT lauterbach DOT com> <2b6c3324-0a18-7437-c85b-bb30d3cbdbae AT lauterbach DOT com> <20160728195859 DOT GE26311 AT calimero DOT vinschen DOT de> <8ffdb11a-a2a6-109b-988d-2d5f38c98731 AT lauterbach DOT com> <20160729141831 DOT GA9364 AT calimero DOT vinschen DOT de> <20160729143815 DOT GE5963 AT calimero DOT vinschen DOT de> <dc4405e7-94c8-b24d-71ea-2359578fc30b AT lauterbach DOT com> <20160802145926 DOT GM3470 AT calimero DOT vinschen DOT de> <ad0865a0-1fd7-121e-d122-0cd6f3a7e595 AT lauterbach DOT com>
MIME-Version: 1.0
In-Reply-To: <ad0865a0-1fd7-121e-d122-0cd6f3a7e595@lauterbach.com>
User-Agent: Mutt/1.6.2 (2016-07-01)

--VSaCG/zfRnOiPJtU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug  4 20:31, Franz Sirl wrote:
> Sorry for the delay, for some reason my users keep me busy with strange
> bugs, see my answers below.

I know what you mean :)

> Am 2016-08-02 um 16:59 schrieb Corinna Vinschen:
> > Hi Franz,
> >=20
> > On Aug  2 16:26, Franz Sirl wrote:
> > > Nevertheless I believe the fallback to
> > > NtQueryDirectoryFile(FileIdBothDirectoryInformation) does not do what=
 you
> > > want if the path is the root directory of a share. But that's not the=
 cause
> > > of this problem.
> >=20
> > Yeah, as I wrote in my reply, the NtQueryDirectoryFile branch isn't
> > supposed to be hit in this scenario.  It's solely for "access denied"
> > situations.
>=20
> Got it.
>=20
> > Are you set up to build your own Cygwin DLL so you can test the above
> > patch locally?
>=20
> Not really, but since I've already created a few testcases for Novell now=
, I
> have my own little "framework" using ntdll.dll directly. I added your code
> to it and it showed:
>=20
> C:\NovellQueryAllInformationFile\Debug>NovellQueryAllInformationFile.exe =
t:\
> NtQueryInformationFile(FileAllInformation) 't:\' resulted in errorcode
> c7e90006, description: (no description)
> Returned filename:  ''
> NtQueryInformationFile(FileBasicInformation) 't:\' resulted in errorcode =
0,
> description: STATUS_WAIT_0
> NtQueryInformationFile(FileStandardInformation) 't:\' resulted in errorco=
de
> 0, description: STATUS_WAIT_0
>=20
> So your fallback will work nicely. No idea if it's worth it, because I'll
> likely get an updated NCP client soon from Novell.

Ok, thank you.  I applied a patch nevertheless, because we can never be
really sure there won't be another filesystems with the same problem.

I uploaded a new developer snapshot to https://cygwin.com/snapshots/
which contains my fix.  It would be nice if you could give it a try.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--VSaCG/zfRnOiPJtU
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXpFzSAAoJEPU2Bp2uRE+gFasQAI5AKLx1bW2goWpKBRkb6NTs
KJDGxH+IcZQe2WG4ufkRZdybNqFid2ntc2adYzWAmoRyCsTPqlt+P0G6xQFH5IyI
o7+7fx8l2GSaS8Oqv0d0od2nd7dEOA7GqpawcE0wnSUF0rmviIIJfv6s1HhjcoPP
TqhCzW4FcxkS4GSgzGdiuSDVjv6lG0PgBQ91+5YRrfdm9gEPyLbV0FkriZKY8u76
AbokqEvGreOoX3i6gm/eajHfRwR6MbZ7HujzIpG/QqsKgDeZkHPkTtsTfJVbDjq4
c0TFcPQIHy82nz939iWpzFyyl+kGzODebxm5aXvZwpOJeljo+pNFG45K7E1uHA4s
6TvxoUMlo2K42c/cUG4E8jXz6Skj52M85U9L1cY8rv7bBVoTc36WqZCee6Z/EBKt
c9l4pOdgahSQQNHDm0YlfRfQoDSP+KSPZAFXnFYgvIlt3XCmq+zxB3bZv+8w5XsA
Y/ouyqQkMyzGWmP8wmtCDORtETaHg6yvA6otDTJv/Rsfe5rM+fjY2Wy8hmsz1DWT
uNNJzi+6VTvv3SdnBEcQXfbjEwbUbdDCqXLoicaHYoOGMaXO275A7MtZ6F4e3z0m
lLLZR2/cDf2lKCy6+ry1bmJYgODgMg9SdEtVC/moFA4L05kobL5vS/SyJTN+C/Pb
JpQjBygEWUNvmtC5qiG2
=hEX3
-----END PGP SIGNATURE-----

--VSaCG/zfRnOiPJtU--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019