This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: security.cc


On Wed, Apr 09, 2003 at 11:24:37PM -0400, Pierre A. Humblet wrote:
> 2003-04-10  Pierre Humblet  <pierre dot humblet at ieee dot org>
> 
> 	* security.cc (get_info_from_sd): New function.
> 	(get_nt_attribute): Only call read_sd and get_info_from_sd.
> 	Return void.
> 	(get_file_attribute): Move sd error handling to get_info_from_sd.
> 	and symlink handling to fhandler_disk_file::fstat_helper.
> 	(get_nt_object_attribute): Only call read_sd and get_info_from_sd.
> 	Return void.
> 	(get_object_attribute): Remove symlink handling and simply return -1
> 	when ntsec is off.
> 	* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): For symlinks
> 	set the attribute, call get_file_attribute to get the ids and return. 
> 	In the normal case call get_file_attribute with the addresses of the buffer
> 	ids and do not recheck if the file is a socket.

Thanks, applied.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin at cygwin dot com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]