From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9058 invoked by alias); 11 Mar 2014 07:45:24 -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 9042 invoked by uid 89); 11 Mar 2014 07:45:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 11 Mar 2014 07:45:22 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WNHNG-0006lZ-0y for cygwin@cygwin.com; Tue, 11 Mar 2014 08:45:18 +0100 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Mar 2014 08:45:18 +0100 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Mar 2014 08:45:18 +0100 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: Testers needed: New passwd/group handling in Cygwin Date: Tue, 11 Mar 2014 11:56:00 -0000 Message-ID: References: <20140213143849.GH2246@calimero.vinschen.de> <87fvn7cb68.fsf@Rainer.invalid> <20140225200414.GA4238@calimero.vinschen.de> <20140310181339.GF28681@calimero.vinschen.de> <87mwgxsyac.fsf@Rainer.invalid> <20140310191603.GH28681@calimero.vinschen.de> <87iorlsvvn.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00160.txt.bz2 Achim Gratz nexgo.de> writes: > IIRC, the next call is the write that prints "no" or "yes"... there may > have been something like "stat_helper" inbetween only on Cygwin64, but > I'll have to check again tomorrow. It's a call to stat_worker with the UNC file path and the stat_worker handle, both times returning zero. There is only one interesting difference between the release and the snapshot DLL, they are reporting the atime to be different: st_atim=531DE525.1B5BB150 (release) st_atim=531DF887.5D9B9F8 (snapshot) Whatever differences there are probably inside stat_worker, but I don't really know. I've just found out that cygcheck cuts off the group listing after exactly 16kiB. Maybe there are some other places where it's now possible to overrun some buffer (pwdgrp::fetch_account_from_windows has got all of them according top the trace) or maybe some other limit for the number of groups? The group that grants access is number 293 in the list as returned by id... I've also found that two trusted domains aren't returning an entry for cyg_ldap::fetch_posix_offset_for_domain from the DC I'm assigned to, so that probably explains the long startup times I've been seeing with earlier snapshots. Maybe of interest: 987 1803457 [main] perl 6856 alloc_sd: uid 1124017, gid 10513, attribute 0x2190 860 1804317 [main] perl 6856 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-2052111302-842925246-682003330-75441 (+) 877 1805194 [main] perl 6856 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-2052111302-842925246-682003330-513 (+) 827 1806021 [main] perl 6856 alloc_sd: ACL-Size: 124 934 1806955 [main] perl 6856 alloc_sd: Created SD-Size: 200 Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple