This is the mail archive of the
cygwin-cvs@sourceware.cygnus.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog dcrt0.cc registry. ...
- To: cygwin-cvs at sourceware dot cygnus dot com
- Subject: src/winsup/cygwin ChangeLog dcrt0.cc registry. ...
- From: corinna at sourceware dot cygnus dot com
- Date: 19 Jun 2000 17:36:30 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.cygnus.com 00/06/19 10:36:30
Modified files:
winsup/cygwin : ChangeLog dcrt0.cc registry.cc security.cc
shared.h spawn.cc uinfo.cc winsup.h
Log message:
* dcrt0.cc: Add load statements for `GetSidIdentifierAuthority'
and `RegLoadKeyA'.
* registry.cc (get_registry_hive_path): New function.
(load_registry_hive): Ditto.
* security.cc (convert_sid_to_string_sid): New function.
(get_ssid): Renamed to `convert_string_sid_to_sid'.
(get_pw_sid): Call `convert_string_sid_to_sid' instead of `get_ssid'.
(get_gr_sid): Ditto.
(get_admin_sid): Ditto.
(get_system_sid): Ditto.
(get_creator_owner_sid): Ditto.
(get_world_sid): Ditto.
* shared.h: New prototypes for `get_registry_hive_path' and
`load_registry_hive'.
* spawn.cc (spawn_guts): Set child->psid to NULL to force calling
`internal_getlogin' from child process in case of changing user context.
Call `load_registry_hive' in case of changing user context.
(_spawnve): Copy user infos only if user context remains the same.
* uinfo.cc: Add load statement for `NetUserGetInfo'.
Remove load statement for `NetGetDCName'.
(internal_getlogin): Rewrite to speed up process startup
and to correct user environment in case user context changes.
(uinfo_init): Call internal_getlogin only if myself->psid is NULL,
that is user context changes.
* winsup.h: Add prototypes for `convert_sid_to_string_sid',
`convert_string_sid_to_sid' and `get_pw_sid'.
Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.152&r2=1.153
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.22&r2=1.23
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/registry.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shared.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=src&r1=1.11&r2=1.12