OSDN Git Service

2003-09-26 Pierre Humblet <pierre.humblet@ieee.org>
authorphumblet <phumblet>
Sat, 27 Sep 2003 01:56:36 +0000 (01:56 +0000)
committerphumblet <phumblet>
Sat, 27 Sep 2003 01:56:36 +0000 (01:56 +0000)
commit78a7d811cefe130a6a4148a87beab6044c6aa87a
treea9fc73131e075e479bbefa95ef8c5d66485375ca
parent97189ff7e85ebddf3b4a2b9ad93c2de724d36563
2003-09-26  Pierre Humblet <pierre.humblet@ieee.org>

* uinfo.cc (cygheap_user::init): Make sure the current user appears
in the default DACL. Rearrange to decrease the indentation levels.
Initialize the effec_cygsid directly.
(internal_getlogin): Do not reinitialize myself->gid. Open the process
token with the required access.
* cygheap.h (class cygheap_user): Delete members pid and saved_psid.
Create members effec_cygsid and saved_cygsid.
(cygheap_user::set_sid): Define inline.
(cygheap_user::set_saved_sid): Ditto.
(cygheap_user::sid): Modify.
(cygheap_user::saved_sid): Modify.
* cygheap.cc (cygheap_user::set_sid): Delete.
(cygheap_user::set_saved_sid): Ditto.
* sec_helper.cc (sec_acl): Set the correct acl size.
* autoload.cc (FindFirstFreeAce): Add.
* security.h: Define ACL_DEFAULT_SIZE.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/sec_helper.cc
winsup/cygwin/security.h
winsup/cygwin/uinfo.cc