4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-31 11:30:56 +08:00
Christopher Faylor 9a771b2961 * cygheap.cc (cygheap_user::set_logsrv): Remove.
(cygheap_user::set_domain): Ditto.
* cygheap.h (cygheap_user::set_logsrv): Remove declaration.
(cygheap_user::set_domain): Ditto.
(cygheap_user::env_domain): Declare new method.
(cygheap_user::env_name): Ditto.
* environ.cc (spenvs): Add two environment variables.
* spawn.cc (spawn_guts): Call build_env after RevertToSelf.  Always set
ciresrv.mount_h.
(cygheap_user::ontherange): Recalculate homedrive/homepath if they are empty.
Use env_logsrv to get logon server.
(cygheap_user::env_logsrv): Calculate server name here rather than relying on
it having been previously calculated.
(cygheap_user::env_domain): Ditto for domain name.
(cygheap-user::env_name): New method.
* syscalls.cc (seteuid32): Do not get or set the environment.  Do not call
LookupAccountSid nor internal_getlogin.  Set cygheap->user name and sid from
the passwd entry.
* uinfo.cc (uinfo_init): Only call internal_getlogin when starting from a non
Cygwin process and use the values returned in user.
(internal_getlogin): Simplify to case where starting from a non Cygwin process.
Store return values in user and return void.  Do not set the Windows default
environment.
* dcrt0.cc (dll_crt0_1): Call uinfo_init only when needed.  Do not set
myself->uid nor reset user.sid.
* spawn.cc (spawn_guts): Get the sid from cygheap->user.  Always
RevertToSelf().  Don't set uid in impersonated case.
* cygheap.cc (cygheap_user::set_sid): Do not set orig_sig.
(cygheap_user::set_orig_sid): New.
* cygheap.h: Declare cygheap_user::set_sid.
* winsup.h: Add argument to uinfo_init().
2002-06-14 18:01:21 +00:00
..
2001-09-11 20:01:02 +00:00
2002-06-10 19:59:19 +00:00
2001-12-20 03:03:59 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2001-09-11 20:01:02 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2001-12-10 03:35:54 +00:00
2001-09-12 17:46:37 +00:00
2002-04-19 14:42:20 +00:00
2000-11-19 04:58:18 +00:00
2001-09-11 20:01:02 +00:00
2001-10-05 04:36:14 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2001-09-22 01:29:07 +00:00
2002-02-11 02:25:42 +00:00
2002-01-30 02:44:21 +00:00
2002-01-13 20:03:03 +00:00
2002-01-13 20:03:03 +00:00
2001-09-11 20:01:02 +00:00
2002-06-13 03:04:50 +00:00
2002-06-05 01:42:28 +00:00
2001-06-01 01:45:53 +00:00
2002-06-05 01:42:28 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2002-06-05 11:10:15 +00:00
2001-09-11 20:01:02 +00:00
2000-08-18 19:51:02 +00:00
2001-09-11 20:01:02 +00:00
2002-06-13 17:28:50 +00:00
2002-04-04 05:28:49 +00:00
2002-06-10 02:40:13 +00:00
2002-03-05 18:03:32 +00:00