summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2003-09-27 01:56:36 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2003-09-27 01:56:36 +0000
commit6806a8b51f96d59cb6dadd86fab4ae7cdecca3ed (patch)
tree513357f0c179f944228ac5f669f9e53b3456cce1 /winsup/cygwin/pinfo.cc
parent349a6402fe566a06f18ee2a1e2d412b8b8d9d304 (diff)
downloadcygnal-6806a8b51f96d59cb6dadd86fab4ae7cdecca3ed.tar.gz
cygnal-6806a8b51f96d59cb6dadd86fab4ae7cdecca3ed.tar.bz2
cygnal-6806a8b51f96d59cb6dadd86fab4ae7cdecca3ed.zip
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.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
0 files changed, 0 insertions, 0 deletions