📄 changelog-2000
字号:
(cygheap_user::set_sid): Ditto. * cygheap.h (cygheap_root): New class. (cygheap_user): Ditto. (init_cygheap): Change type of `root' member to cygheap_root. Add `user' member. * dir.cc (opendir): Use new `cygheap_root' class. * dcrt0.cc (dll_crt0_1): Use new `cygheap_user' class. * fork.cc (fork_parent): Ditto. * grp.cc (getgroups): Ditto. * passwd.cc (search_for): Ditto. * path.cc: Use new `cygheap_root' class throughout. * pinfo.h (_pinfo): Remove `use_psid'. Move `username', `psid', `logsrv', `domain', `orig_{uid,gid}' and `real_{uid,gid}' to cygheap_user class. * security.cc: Use new `cygheap_user' class throughout. * shared.cc (sec_user): Ditto. * sigproc.cc (proc_subproc): Remove copy statements for user related information moved to `cygheap_user' class. * spawn.cc (spawn_guts): Invalidate current chroot settings when creating Windows environment. Use new `cygheap_user' class. * syscalls.cc: Use new `cygheap_user' class throughout. * uinfo.cc: Ditto. (internal_getlogin): Change parameters to reflect the move of user information to cygheap.Tue Nov 14 17:05:00 2000 Eric Fifer <efifer@dircon.co.uk> * dir.cc (rewinddir): Always set __d_position = 0, so next call to readdir() will restart the directory scan.Tue Nov 14 00:51:28 2000 Christopher Faylor <cgf@cygnus.com> * cygheap.h (init_cygheap): New struct holding values that live in the Cygwin heap. * child_info.h (child_info): Change pointer type of cygheap to init_cygheap. * cygheap.cc (init_cheap): Point cygheap_max after contents of cygheap. Move some stuff into cygheap.h. * dir.cc (opendir): Change to use root and rootlen in cygheap rather than in myself. (mkdir): Change to use umask in cygheap rather than in myself. * path.cc: Ditto, throughout. * syscalls.cc (_open): Ditto. Change to use umask in cygheap rather than in myself. (chroot): Change to allocate root dir on the cygwin heap. (umask): Change to use umask in cygheap rather than in myself. (cygwin_bind): Ditto. * sigproc.cc (proc_subproc): Don't copy umask or root stuff as this happens automatically now. * pinfo.h (_pinfo): Migrate stuff out of here and into init_cheap. * dcrt0.cc (dll_crt0_1): Call cygheap_init later in startup for first cygwin process.Sun Nov 12 23:01:35 2000 Christopher Faylor <cgf@cygnus.com> * path.cc (get_device_number): Allow /dev/ttySn to designate a com port.Sat Nov 11 23:55:19 2000 Christopher Faylor <cgf@cygnus.com> * path.h: Add __attribute__ ((regparm(x))) to commonly used functions. * pinfo.h: Ditto. * sigproc.h: Ditto. * sync.h: Ditto.Fri Nov 10 13:48:44 2000 Bradley A. Town <townba@pobox.com> * dcrt0.cc: New global variable `ignore_case_with_glob'. (dll_crt0_1): Disable case-insensitive globbing before calling `main'. * environ.cc (glob_init): New static function to set or clear `ignore_case_with_glob'. (known): Changed "glob" entry to call `glob_init'. * glob.c (match): Use case-insensitive globbing if needed.Thu Nov 9 14:30:00 2000 Corinna Vinschen <corinna@vinschen.de> * dir.cc (readdir): Avoid reading from the beginning when readdir is called after a previous call has returned NULL.Wed Nov 8 21:00:31 2000 Christopher Faylor <cgf@cygnus.com> * select.cc (peek_pipe): Deal with pending newline in pty_master.Wed Nov 8 15:35:32 2000 Christopher Faylor <cgf@cygnus.com> * environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in conjunction with older binaries. (environ_init): Ditto.Wed Nov 8 08:49:27 2000 Jason Tishler <jt@dothill.com> * external.cc (get_cygdrive_info): New function. * external.cc (get_cygdrive_prefixes): Change to use get_cygdrive_info but toss the user and system flags. * external.cc (cygwin_internal): Add new CW_GET_CYGDRIVE_INFO case. * path.cc (mount_info::get_cygdrive_prefixes): Remove method. * path.cc (mount_info::get_cygdrive_info): New method. Actually, get_cygdrive_info is really an enhanced version of get_cygdrive_prefixes renamed to get_cygdrive_info that also gets the user and system flags. * shared_info.h (get_cygdrive_prefixes): Remove method. * shared_info.h (get_cygdrive_info): New method. * include/cygwin/version.h: Bump minor API version due to adding CW_GET_CYGDRIVE_INFO to cygwin_internal. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_INFO.Tue Nov 7 20:58:00 2000 Corinna Vinschen <corinna@vinschen.de> * autoload.cc: Add autoload statement for `WSASetLastError'. * net.cc (cygwin_connect): Change error code to WSAEINPROGRESS when connect returns WSAEWOULDBLOCK.Mon Nov 6 15:11:57 2000 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section. (dll_crt0_1): Move sigthread lock initialization to earlier in startup. * exceptions.cc (interrupt_on_return): Remove previous kludgy attempt to detect an invalid frame. (call_handler): Eliminate inner for loop. Grab signal critical section lock where appropriate. * sigproc.cc (proc_subproc): Restore uid setting. * sigproc.h (sigthread): Reinstitute sigthread lock as a critical section. (sigframe): Grab the sigthread lock before clearing frame to avoid having the signal thread use an invalid frame.Mon Nov 6 11:11:42 2000 Jason Tishler <jt@dothill.com> * path.cc (mount_info::read_cygdrive_info_from_registry): Use CYGWIN_INFO_CYGDRIVE_PREFIX, CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX, and CYGWIN_INFO_CYGDRIVE_FLAGS. * path.cc (mount_info::write_cygdrive_info_to_registry): Use CYGWIN_INFO_CYGDRIVE_PREFIX and CYGWIN_INFO_CYGDRIVE_FLAGS. * path.cc (mount_info::remove_cygdrive_info_from_registry): Ditto. * path.cc (mount_info::get_cygdrive_prefixes): Use CYGWIN_INFO_CYGDRIVE_PREFIX. * include/cygwin/version.h: Add CYGWIN_INFO_CYGDRIVE_FLAGS, CYGWIN_INFO_CYGDRIVE_PREFIX, and CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX.Mon Nov 6 11:10:44 2000 Jason Tishler <jt@dothill.com> * errno.cc (strerror): Change EAGAIN case to return "Resource temporarily unavailable" instead of "No more processes".Mon Nov 6 01:04:35 2000 Christopher Faylor <cgf@cygnus.com> * child_info.h (child_info): Add pppid_handle for closing the parent's parent handle. * dcrt0.cc (_dll_crt0): Close parent's parent handle when spawned or forked. * debug.cc (add_handle): Correct erroneous reference to handle structure when printing warning. * exceptions.cc (interrupt_now): Always return 1. (interrupt_on_return): Accept a sigthread argument. Check to see if this argument has been trashed prior to setting up the stack return. (call_handler): Add a loop around attempts to dispatch signals to detect case where interrupt_on_return fails. (_sigdelayed): Set up a temporary frame pointer prior to calling stuff that could trigger an interrupt or the stack walking code will be very confused. * fork.cc (fork_parent): Move a lot of the setup of the child process into proc_subproc. * spawn.cc (spawn_guts): Ditto. Use ppid_handle to contact logical parent when reparenting execed process. * pinfo.h (_pinfo): Remember the logical handle of the parent process. * sigproc.cc (proc_subproc): Record most stuff necessary for the _pinfo structure that is inferrable from myself when adding children. (wait_sig): Always set 'pending_signals' flag when about to kick off the signal scanning loop. Reset it only if there are no pending signals.Sun Nov 5 13:46:23 2000 Christopher Faylor <cgf@cygnus.com> * pinfo (wait_subproc): Son of neverending debug tweaking.Sun Nov 5 11:45:15 2000 Christopher Faylor <cgf@cygnus.com> * pinfo (wait_subproc): Neverending debug tweaking.Sun Nov 5 01:34:51 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (winpids:add): New method. (winpids::enumNT): New method renamed from EnumProcessesNT. Use add method to add elements to the lists. (winpids::enum9x): New method renamed from EnumProcesses9x. Use add method to add elements to the lists. (winpids::enum_init): Accept 'winpid' parameter to control whether to add all windows pids to the list. (winpids::release): New method. * pinfo.h (winpids): Reflect above changes. * signal.cc (kill_pgrp): Ditto. * external.cc (fillout_pinfo): Ditto.Sat Nov 4 22:07:03 2000 Christopher Faylor <cgf@cygnus.com> * exceptions.cc (handle_sigsuspend): Record frame here for signalling. (set_process_mask): Ditto.Sat Nov 4 14:24:10 2000 Christopher Faylor <cgf@cygnus.com> * sigproc.cc (wait_subproc): Still more debugging cleanup.Sat Nov 4 00:51:38 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (EnumProcessesNT): Avoid 0 pids. (EnumProcesses9x): Ditto. * sigproc.cc (remove_child): Eliminate. (proc_subproc): Move remove_child stuff here. (wait_subproc): Synchronize with proc_subproc when error occurs. Add more debugging info. * sigproc.h (procstuff): Add an entry. * spawn.cc (spawn_guts): Add sigframe here.Fri Nov 3 20:07:14 2000 Christopher Faylor <cgf@cygnus.com> * sigproc.cc (wait_subproc): Refine debug output.Thu Nov 2 23:01:20 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an execed process to avoid a race. * sigproc.cc (wait_subproc): Print more info when a WFSO error occurs. * automode.c: New file. * syscalls.cc (close_all_files): Streamline slightly. * cygheap.cc (ccalloc): Clear *entire* allocated array.Thu Nov 2 01:58:03 2000 Christopher Faylor <cgf@cygnus.com> * ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h.Thu Nov 2 00:10:23 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (EnumProcessesNT): New function. Eliminates dependence on psapi.h. (EnumProcesses9x): Rename from EnumProcessesW95. Change arguments to be more useful for cygwin. (winpids::init): Accommodate argument changes. (enum_init): Ditto. * pinfo.h (winpids): Make pidlist dynamically extendable by storing it as a pointer and remembering the size. * ntdll.h: Add extra definitions needed for EnumProcessesNT. Reformat via 'indent'.Wed Nov 1 21:08:23 2000 Christopher Faylor <cgf@cygnus.com> * exceptions.cc (interruptible): Remove obsolete tests. (sigreturn): Construct pseudo-frame-pointer so that signal handler can figure out where to put return address when signals are coming in quickly. * path.cc (cwdstuff::get): Allow length 0 buffer length when buffer when NULL.Tue Oct 31 18:12:56 2000 Christopher Faylor <cgf@cygnus.com> * path.h (has_exec_chars): Standard function for checking for executable magic numbers. * path.cc (symlink_info::check): Use the above function. * fhandler.cc (fhandler_disk_file::open): Ditto.Tue Oct 31 17:57:52 2000 Christopher Faylor <cgf@cygnus.com> * path.cc (_readlink): Return ENOENT when file does not exist.Tue Oct 31 23:35:00 2000 Corinna Vinschen <corinna@vinschen.de> * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.Tue Oct 31 22:39:00 2000 Corinna Vinschen <corinna@vinschen.de> * fhandler.h (fhandler_dev_raw): Add definition for method `fixup_after_fork'. * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Add `set_need_fixup_after_fork' call. (fhandler_dev_raw::~fhandler_dev_raw): Revert to user space allocation. (fhandler_dev_raw::open): Ditto. (fhandler_dev_raw::dup): Ditto. Reset buffer pointer. (fhandler_dev_raw::fixup_after_fork): New function. * fhandler_tape.cc (fhandler_dev_tape::open): Revert to user space memory allocation. (fhandler_dev_tape::ioctl): Ditto. Change behaviour on MTSETBLK when new size is 1.Tue Oct 31 20:56:00 2000 Corinna Vinschen <corinna@vinschen.de> * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation. Use Cygwin heap instead of user heap. (fhandler_dev_tape::ioctl): Ditto.Tue Oct 31 12:00:06 2000 Christopher Faylor <cgf@cygnus.com> * pinfo.cc (enum_init): Don't suffer silently if we can't load the process enumerators.Mon Oct 30 16:54:26 2000 Christopher Faylor <cgf@cygnus.com> * signal.cc (kill_pgrp): Revert 25-Oct change. (kill_worker): Ditto.Sun Oct 29 20:52:31 2000 Christopher Faylor <cgf@cygnus.com> * include/cygwin/version.h: Bump DLL minor version number to 6.Sat Oct 28 01:39:53 2000 Christopher Faylor <cgf@cygnus.com> * configure.in: Eliminate subdir stuff. * configure: Regenerate. * include/getopt.h (option): Make name field 'const'.Fri Oct 27 20:51:00 2000 Corinna Vinschen <corinna@vinschen.de> * autoload.cc: New file keeping all autoload stuff. * Makefile.in: Add autoload.o to dependencies. * dcrt0.cc: Move all autoload stuff to autoload.cc. * fhandler_mem.cc: Ditto. * net.cc: Ditto. * uinfo.cc: Ditto.Fri Oct 27 11:37:20 2000 Christopher Faylor <cgf@cygnus.com> * sigproc.cc (wait_sig): Add braces to avoid confusion.Fri Oct 27 11:48:00 2000 Corinna Vinschen <corinna@vinschen.de> * fhandler_socket.cc: New file. * Makefile.in: Add fhandler_socket.o to dependencies. * fhandler.h: Change comment. * net.cc Move all fhandler_socket methods to fhandler_socket.cc. * winsup.h: Add declaration for `ws2_32_handle'.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -