This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ntsec doesn't work at all.
- To: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Subject: Re: ntsec doesn't work at all.
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Mon, 01 May 2000 22:29:01 +0200
- CC: cygwin-developers at sourceware dot cygnus dot com
- Organization: Cygnus Solutions, a Red Hat Company
- References: <s1sd7n6hx58.fsf@jaist.ac.jp>
- Reply-To: cygwin-developers at sourceware dot cygnus dot com
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