From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72064 invoked by alias); 5 Aug 2016 09:31:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 72055 invoked by uid 89); 5 Aug 2016 09:31:12 -0000 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 Received: from ipbcc0190b.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.25.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Aug 2016 09:31:00 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4E355A80D62; Fri, 5 Aug 2016 11:30:58 +0200 (CEST) Date: Fri, 05 Aug 2016 10:53:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Size limitation for NcFsd drive? Message-ID: <20160805093058.GJ25811@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <2483665a-eae1-737d-59f2-ca6af9428aca@lauterbach.com> <2b6c3324-0a18-7437-c85b-bb30d3cbdbae@lauterbach.com> <20160728195859.GE26311@calimero.vinschen.de> <8ffdb11a-a2a6-109b-988d-2d5f38c98731@lauterbach.com> <20160729141831.GA9364@calimero.vinschen.de> <20160729143815.GE5963@calimero.vinschen.de> <20160802145926.GM3470@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VSaCG/zfRnOiPJtU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2 (2016-07-01) X-SW-Source: 2016-08/txt/msg00068.txt.bz2 --VSaCG/zfRnOiPJtU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2006 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" Content-length: 819 -----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--