4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-28 18:10:23 +08:00
Corinna Vinschen 12069cf31b * dir.cc (mkdir): Use local security_descriptor. Call
set_security_attribute appropriately.
	* external.cc (cygwin_internal): Ditto.
	* fhandler.cc (fhandler_base::open): Ditto.
	* fhandler_socket.cc (fhandler_socket::bind): Ditto.
	* path.cc (symlink_worker): Ditto.
	* sec_acl.cc (setacl): Ditto. Call read_sd appropriately.
	(getace): Ditto.
	* sec_helper.cc (security_descriptor::malloc): New method.
	(security_descriptor::realloc): New method.
	(security_descriptor::free): New method.
	* security.cc (read_sd): Get security_descriptor as parameter instead
	of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
	Allocate the security_descriptor buffer according to size returned by
	a call to GetFileSecurity. Return buffer size on success.
	(write_sd): Get security_descriptor as parameter instead of
	PSECURITY_DESCRIPTOR and a size.
	(get_nt_attribute): Use local security_descriptor.
	(get_nt_object_attribute): Ditto in case of type == SE_REGISTRY_KEY.
	Allocate security_descriptor buffer according to size returned by
	a call to RegGetKeySecurity.
	(alloc_sd): Make static. Get security_descriptor as parameter instead
	of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
	(set_security_attribute): Get security_descriptor as parameter instead
	of PSECURITY_DESCRIPTOR and a size.
	(set_nt_attribute): Use local security_descriptor.
	(check_file_access): Ditto.
	* security.h: Add class security_descriptor.
	(read_sd): Change declaration to get security_descriptor as parameter
	instead of PSECURITY_DESCRIPTOR and a size.
	(write_sd): Ditto.
	(set_security_attribute): Ditto.
	(alloc_sd): Remove declaration.
	* thread.cc (semaphore::semaphore): Use local security_descriptor. Call
	set_security_attribute appropriately.
2003-11-26 13:23:27 +00:00
..
2003-04-16 03:03:45 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2002-12-12 03:09:38 +00:00
2002-08-03 23:34:01 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-05-29 03:50:15 +00:00
2003-07-25 16:13:12 +00:00
2003-07-02 03:16:00 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-07-07 05:32:24 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-03-09 20:31:07 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-09-25 00:37:18 +00:00
2003-10-22 10:07:59 +00:00
2003-01-15 10:21:23 +00:00