OSDN Git Service

* dcrt0.cc: Add load statements for `GetSidIdentifierAuthority'
authorcorinna <corinna>
Mon, 19 Jun 2000 17:36:30 +0000 (17:36 +0000)
committercorinna <corinna>
Mon, 19 Jun 2000 17:36:30 +0000 (17:36 +0000)
commit4d9b816e425741fe45e72fe1fc75d0aafc3e5efa
treee284cbbfeb672ab96fd07676497b82a27e84aa48
parent2cb78c9e67b37cde57a89e3c25560571993d8f32
    * 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'.
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/registry.cc
winsup/cygwin/security.cc
winsup/cygwin/shared.h
winsup/cygwin/spawn.cc
winsup/cygwin/uinfo.cc
winsup/cygwin/winsup.h