newlib-cygwin/winsup
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
..
bz2lib * Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid inappropriate 2001-04-19 03:55:02 +00:00
cygserver 2002-06-10 Robert Collins <rbtcollins@hotmail.com> 2002-06-09 23:02:00 +00:00
cygwin * cygheap.cc (cygheap_user::set_logsrv): Remove. 2002-06-14 18:01:21 +00:00
doc Add pthread calls 2002-06-14 11:33:30 +00:00
mingw * include/_mingw.h: Increment version to 2.0. 2002-06-13 10:20:48 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite * winsup.api/systemcall.c (main): Ensure that stdin is redirected. 2002-02-27 23:01:10 +00:00
utils * passwd.c: Rearrange includes to avoid unnecessary warnings. 2002-06-14 11:31:33 +00:00
w32api * include/w32api.h: Change to version 2.0 to reflect the change 2002-06-14 13:46:12 +00:00
CYGWIN_LICENSE remove a comma 2002-05-12 19:29:20 +00:00
ChangeLog * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
MAINTAINERS Nuke 2001-12-31 23:24:10 +00:00
Makefile.common Add missing ChangeLog. 2001-12-14 18:26:43 +00:00
Makefile.in * configure.in: Remove cinstall target. 2002-04-25 23:19:28 +00:00
configure * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
configure.in * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00