Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <390DE90D.B31F3417@vinschen.de> Date: Mon, 01 May 2000 22:29:01 +0200 From: Corinna Vinschen Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Organization: Cygnus Solutions, a Red Hat Company X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Kazuhiro Fujieda CC: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: ntsec doesn't work at all. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kazuhiro Fujieda wrote: > > ntsec doesn't work at all since the 2000/04/25 snapshot. > > According to the SDK documents, GetFileSecurity sets the value > of the last argument to zero if it get security descriptors > successfully. So read_sd() in security.cc always return 0. ??? ntsec works ok. The SDK documentation is wrong. GetFileSecurity returns the size of the SD. Just checked it again. Corinna