OSDN Git Service

2003-09-24 Pierre Humblet <pierre.humblet@ieee.org>
authorphumblet <phumblet>
Thu, 25 Sep 2003 02:29:04 +0000 (02:29 +0000)
committerphumblet <phumblet>
Thu, 25 Sep 2003 02:29:04 +0000 (02:29 +0000)
commite91c3fbb6233c4694995459595e4fcefcae7bc9c
treefe3d8729ba21d217adb0a962146854baff3c9f59
parent04a24b5952837a8328542714fb7f1ed40f6680ee
2003-09-24  Pierre Humblet <pierre.humblet@ieee.org>

* shared_info.h (class user_info): New.
(cygwin_user_h): New.
(user_shared): New.
(enum shared_locations): Replace SH_MOUNT_TABLE by SH_USER_SHARED;
(mount_table): Change from variable to macro.
* shared.cc: Use sizeof(user_info) in "offsets".
(user_shared_initialize): Add "reinit" argument to indicate need
to reinitialize the mapping. Replace "mount_table" by "user_shared"
throughout. Call user_shared->mountinfo.init and
user_shared->delqueue.init.
(shared_info::initialize): Do not call delqueue.init.
(memory_init): Add argument to user_shared_initialize.
* child_info.h (child_info::mount_h): Delete.
(child_info::user_h): New.
* sigpproc.cc (init_child_info): Use user_h instead of mount_h.
* dcrt0.cc (_dll_crt0): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::close): Use
user_shared->delqueue instead of cygwin_shared->delqueue.
* fhandler_virtual.cc (fhandler_virtual::close): Ditto.
* syscalls.cc (close_all_files): Ditto.
(unlink): Ditto.
(seteuid32): Add argument to user_shared_initialize.
winsup/cygwin/child_info.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/fhandler_virtual.cc
winsup/cygwin/shared.cc
winsup/cygwin/shared_info.h
winsup/cygwin/sigproc.cc
winsup/cygwin/syscalls.cc