From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6988 invoked by alias); 8 Jan 2019 15:36:31 -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 6898 invoked by uid 89); 8 Jan 2019 15:36:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=attack, discretion, H*R:D*ca, advised X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 08 Jan 2019 15:36:28 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id gtQWgJio98uQmgtQYgp0TK; Tue, 08 Jan 2019 08:36:26 -0700 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: [ANNOUNCEMENT] attr 2.4.48-2 To: cygwin@cygwin.com References: <792facca-bc23-d5c0-76af-336a95e455c1@SystematicSw.ab.ca> <20181220222241.GA3310@calimero.vinschen.de> <20190108112905.GG593@calimero.vinschen.de> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <4f0abfa6-466d-66b6-25d4-073e97dadfc9@SystematicSw.ab.ca> Date: Tue, 08 Jan 2019 15:36:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190108112905.GG593@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00036.txt.bz2 On 2019-01-08 04:29, Corinna Vinschen wrote: > On Dec 20 23:22, Corinna Vinschen wrote: >> On Dec 20 09:03, Brian Inglis wrote: >>> On 2018-12-20 03:04, Corinna Vinschen wrote: >>>> The following packages have been uploaded to the Cygwin distribution: >>>> * attr-2.4.48-2 >>>> * libattr-devel-2.4.48-2 >>>> * libattr1-2.4.48-2 >>> Does this release support listing Windows Alternate Data Streams, as the Linux >>> release does with Tuxera NTFS-3G? >> libattr only supports reading and writing EAs, it has no capabilities to >> read or write ADS. Ntfs-3g supports the streams_interface=windows >> option which allows to read ADS. This also adds the ntfs.streams.list >> EA to a file with named ADS. So attr/getfattr can only inspect the >> ntfs.streams.list EA because the NTFS-3G driver creates them on the fly >> when inspecting the file EAs. >> tl;dr: No, sorry. This could only work if Cygwin fakes the >> ntfs.streams.list EA per file just like the NTFS-3G driver. >> Patches welcome. Looks like a nice little project if you want to get >> your hands dirty. The functions to handle EAs are pretty >> self-sufficiently implemented in ntea.cc. A little loop about >> NtQueryInformationFile(FileStreamInformation) should do it. > Would that be something you'd like to work on, Brian? Not anything I really knew or cared about, except as a potential attack vector or Windows curiosity. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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