This is the mail archive of the
cygwin-cvs@sources.redhat.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog child_info.h cygheap.c ...
- To: cygwin-cvs at sources dot redhat dot com
- Subject: winsup/cygwin ChangeLog child_info.h cygheap.c ...
- From: cgf at sourceware dot cygnus dot com
- Date: 28 Jan 2001 05:51:15 -0000
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sources.redhat.com 2001-01-27 21:51:15
Modified files:
cygwin : ChangeLog child_info.h cygheap.cc cygheap.h
dcrt0.cc exceptions.cc external.cc
fhandler_console.cc grp.cc heap.cc passwd.cc
path.cc registry.cc security.cc shared.cc
shared_info.h sigproc.cc spawn.cc syscalls.cc
uinfo.cc winsup.h
Log message:
Throughout, change 'cygwin_shared.mount' to 'mount_table'.
* child_info.h (child_info): Move shared_h, console_h to cygheap. Add mount_h.
* cygheap.h (init_cygheap): Add shared_h, console_h.
* cygheap.cc (init_cheap): Initialize heap at a fixed location after the shared
memory regions. Initialize cygheap->user name here.
* dcrt0.cc (dll_crt0_1): Call getpagesize () to initialize constants. Remove
cygheap_init since it is done in shared_init now.
(_dll_crt0): Initialize mount_h, remove shared_h and console_h initialization.
* fhandler_console.cc (console_shared_h): Eliminate.
(get_tty_stuff): Use cygheap->console_h rather than console_shared_h.
* heap.cc (heap_init): Use page size constant calculated earlier in
initialization.
* shared.cc: Eliminate cygwin_shared_h. Add cygwin_mount_h.
(mount_table_init): New function for initializing a user mount table.
(open_shared_file_map): Use constant for shared memory region. Initialize
cygheap and mount table here.
(open_shared): Improve debugging output.
(shared_info::initialize): Eliminate call to mount.init.
(shared_terminate): Use cygheap->shared_h. Close cygwin_mount_h.
(open_shared_file_map): Eliminate.
* shared_info.h (mount_info): Add a version field.
(shared_align_past): New macro for calculating location for shared memory
regions.
* sigproc.cc (init_child_info): Eliminate shared_h, console_h.
* spawn.cc (spawn_guts): Pass on cygwin_mount_h iff not a different user.
* syscalls.cc (system_info): New global holding system memory defaults.
(getpagesize): Use system_info.
* uinfo.cc (internal_getlogin): Only fill in user name if nonexistent.
* winsup.h: Declare system_info.
* passwd.cc (read_etc_passwd): Use cygheap->user.name () rather than retrieving
the name again.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.503&r2=1.504
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/child_info.h.diff?cvsroot=uberbaum&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.cc.diff?cvsroot=uberbaum&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/cygheap.h.diff?cvsroot=uberbaum&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.83&r2=1.84
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.62&r2=1.63
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/external.cc.diff?cvsroot=uberbaum&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.35&r2=1.36
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/grp.cc.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/heap.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/passwd.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.94&r2=1.95
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/registry.cc.diff?cvsroot=uberbaum&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/security.cc.diff?cvsroot=uberbaum&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared.cc.diff?cvsroot=uberbaum&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/shared_info.h.diff?cvsroot=uberbaum&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.70&r2=1.71
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/spawn.cc.diff?cvsroot=uberbaum&r1=1.65&r2=1.66
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.78&r2=1.79
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/uinfo.cc.diff?cvsroot=uberbaum&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&r1=1.47&r2=1.48