4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 11:00:04 +08:00
Corinna Vinschen 64b3062937 * cygwin.din: Define symbols for `cygwin_logon_user' and
`cygwin_set_impersonation_token'.
        * dcrt0.cc (dll_crt0_1): Eliminate superfluous conditional
        statements.
        Add load statements for `ImpersonateLoggedOnUser', `LogonUserA'
        and `RevertToSelf'.
        * fork.cc (fork): Care for correct impersonation of parent
        and child process.
        * security.cc (cygwin_set_impersonation_token): New function.
        (cygwin_logon_user): Ditto.
        shared.h (class pinfo): New members `orig_uid', `orig_gid',
        `real_uid' nad `real_gid'.
        spawn.cc (spawn_guts): Care for impersonation when starting
        child process in a different user context.
        * syscalls.cc (setgid): Call `setegid' now. Set real_gid.
        (setuid): Call `seteuid' now. Set real_uid.
        (seteuid): Functionality moved from setuid to here. Care for
        correct impersonation.
        (setegid): Functionality moved from setgid to here.
        * uinfo.cc (uinfo_init): Initialization of additional pinfo
        members.
        (getuid): Return real uid.
        (getgid): Return real gid.
        (geteuid): Return effective uid.
        (getegid): Return effective gid.
        include/sys/cygwin.h: Add prototypes for `cygwin_logon_user' and
        `cygwin_set_impersonation_token'.
        include/cygwin/version.h: Bumb API minor version to 22.
2000-06-16 19:36:07 +00:00
..
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:31 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00