📄 changelog
字号:
2002-11-27 Mikael Ylikoski <my@post.utfors.se> * fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized value return.2002-11-27 Christopher Faylor <cgf@redhat.com> * cygwin.din: Export pthread_getsequence_np. * include/cygwin/version.h: Bump API minor version.2002-11-26 Jason Tishler <jason@tishler.net> * cygwin.din: Export nl_langinfo(). * include/cygwin/version.h: Bump API minor version.2002-11-26 Christopher Faylor <cgf@redhat.com> * fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep or suffer amazing pauses when other tty apps are running. (fhandler_pty_master::process_slave_output): Ditto.2002-11-25 Pierre Humblet <pierre.humblet@ieee.org> * passwd.cc (read_etc_passwd): Never add an entry when starting on Win95/98/ME if a default entry is present. * uinfo.cc (internal_getlogin): Look for the default uid if needed. Always call user.set_name ().2002-11-25 Corinna Vinschen <corinna@vinschen.de> * sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and nentries is less than the number of entries in the file's ACL.2002-11-24 Corinna Vinschen <corinna@vinschen.de> * sec_acl.cc: Fix some formatting. Only set and check `other' bits in a_perm throughout. Use ILLEGAL_GID id for all entries having no id. (setacl): Fix inheritance condition. (getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ entries. Remove DENY bits before returning to calling function. (acltomode): Fix usage of searchace(). If available, use CLASS_OBJ to mask GROUP_OBJ permissions. (aclfrommode): Fix usage of searchace(). If available, set CLASS_OBJ permissions to same value as GROUP_OBJ permissions.2002-11-24 Pierre Humblet <pierre.humblet@ieee.org> * sec_acl.cc (getace): Fix the behavior when allow and deny entries are present in arbitrary order. (getacl): Report the actual number of entries when aclbufp is NULL, even if nentries is zero. Fix the mask reporting, handle the case where the owner and group sids are equal and streamline the code. (acl_worker): Take allow_ntsec into account.2002-11-05 Thomas Pfaff <tpfaff@gmx.net> * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to initialize mainthread when it is safe to call new. * init.cc (dll_entry): Change call to store reents in tls key. * thread.cc (_reent_clib) : Change call to get reents from tls key. (_reent_winsup): Ditto. (MTinterface::Init): Key handling changed. Remove initialization of member variables. (MTinterface::fixup_after_fork): Reinitialize mainthread object after fork. Reset threadount to 1. (pthread::initMainThread): Create mainthread object dynamically. and initialize with valid handles. (pthread::self): Remove calls to create thread objects. (pthread::setTlsSelfPointer): Change call to store thread self handle in tls key. (pthread::getTlsSelfPointer): New static method. (pthread::exit): Remove setTlsSelfPointer call. (pthread::initCurrentThread): New method. (pthread::thread_init_wrapper): Change call to store thread self handle in tls key. (pthread::join): Check for a valid joiner. (pthreadNull::pthreadNull): Mark Null object as detached. (pthreadNull::exit): Terminate thread via ExitThread. * thread.h (pthread::initMainThread): Change parameter in function call. (pthread::getTlsSelfPointer): New static method. (pthread::initCurrentThread): New method. (MTinterface::reent_key): Remove. (MTinterface::thread_self_dwTlsIndex): Ditto.. (MTinterface::indexallocated): Ditto. (MTinterface::mainthread): Ditto. (MTinterface::reent_key): New member. (MTinterface::thread_self_key): Ditto. (MTinterface::MTinterface): Initialize all members.2002-11-23 Christopher Faylor <cgf@redhat.com> * wait.cc (wait4): Force pending signal delivery before waiting for process completion.2002-11-23 Christopher Faylor <cgf@redhat.com> * include/cygwin/version.h: Bump DLL minor number.2002-11-22 Christopher Faylor <cgf@redhat.com> * exceptions.cc (handle_sigsuspend): Force pending signal delivery before waiting for signals to happen. * signal.cc (sleep): Force pending signal delivery before sleeping. (usleep): Ditto. (signal): Force pending signal delivery before manipulating signal stuff. (sigprocmask): Ditto. (kill_worker): Ditto. (abort): Ditto. (sigaction): Ditto. * syscalls.cc (readv): Force pending signal delivery before I/O. (writev): Ditto. (open): Ditto. * net.cc: Ditto, throughout. * sigproc.cc (sig_dispatch_pending): Deliver any pending signals prior to returning. * tty.cc (tty::make_pipes): Increase pipe buffer size.2002-11-22 Christopher Faylor <cgf@redhat.com> * include/cygwin/version.h: Fix comment.2002-11-21 Igor Pechtchanski <pechtcha@cs.nyu.edu> * external.cc (cygwin_internal): Fix va_arg references.2002-11-21 Christopher Faylor <cgf@redhat.com> * exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up timeslice' wait. (setup_handler): Revamp YA to attempt to deliver signal multiple times on failure rather than punting to wait_sig. * miscfuncs.cc (low_priority_sleep): Accept INFINITE sleep to mean "don't reset the priority after setting it to idle". Return previous priority. * winsup.h (SLEEP_0_STAY_LOW): Define. (low_priority_sleep): Return an int. * sigproc.h: Define WAIT_SIG_PRIORITY here. * sigproc.cc: Remove WAIT_SIG_PRIORITY definition.2002-11-20 Pierre Humblet <pierre.humblet@ieee.org> * security.h: Declare internal_getpwsid and internal_getgrsid. Undeclare internal_getpwent. Define DEFAULT_UID_NT. Change DEFAULT_GID. * passwd.cc (internal_getpwsid): New function. (internal_getpwent): Suppress. (read_etc_passwd): Make static. Rewrite the code for the completion line. Set curr_lines to 0. (parse_pwd): Change type to static int. Return 0 for short lines. (add_pwd_line): Pay attention to the value of parse_pwd. (search_for): Do not look for nor return the DEFAULT_UID. * grp.cc (read_etc_group): Make static. Free gr_mem and set curr_lines to 0. Always call add_pwd_line. Rewrite the code for the completion line. (internal_getgrsid): New function. (parse_grp): If grp.gr_mem is empty, set it to &null_ptr. Never NULL gr_passwd. (getgrgid32): Only return the default if ntsec is off and the gid is ILLEGAL_GID. * sec_helper.cc (cygsid::get_id): Use getpwsid and getgrsid. (cygsid_getfrompw): Clean up last line. (cygsid_getfromgr): Ditto. (is_grp_member): Use getpwuid32 and getgrgid32. * uinfo.cc (internal_getlogin): Set DEFAULT_GID at start. Use getpwsid. Move the read of /etc/group after the second access to /etc/passwd. Change some debug_printf.2002-11-20 Steven O'Brien <steven.obrien2@ntlworld.com> * poll.cc (poll): ...but set POLLIN instead.2002-11-20 Pierre Humblet <pierre.humblet@ieee.org> * security.cc (get_attribute_from_acl): Always test "anti", just in case an access_denied ACE follows an access_allowed. Handle the case owner_sid == group_sid, with a FIXME. Remove unnecessary tests for non-NULL PSIDs. (alloc_sd): Use existing owner and group sids if {ug}id == -1. Handle case where owner_sid == group_sid. Do not call is_grp_member. Try to preserve canonical ACE order. Remove unnecessary tests for non-NULL PSIDs. Reorganize debug_printf's. (get_initgroups_sidlist): Put well_known_system_sid on left side of ==. (add_access_denied_ace): Only call GetAce if inherit != 0. (add_access_allowed_ace): Ditto. Use appropriate sizeof. * syscalls.cc (chown_worker): Pass {ug}id equal to -1 to alloc_sd, which removes the need to obtain old_{ug}id. (chmod): Remove call to get_file_attribute (), simply pass {ug}id equal to -1 to alloc_sd.2002-11-20 Corinna Vinschen <corinna@vinschen.de> * poll.cc (poll): Don't set POLLERR if a listening socket has a pending connect. Don't use errno value from call to fhandler_socket::recvfrom().2002-11-19 Christopher Faylor <cgf@redhat.com> * net.cc: Sprinkle sigframes throughout.2002-11-16 Christopher Faylor <cgf@redhat.com> * tty.cc (tty::make_pipes): Make pipe buffer larger.2002-11-15 Pierre Humblet <pierre.humblet@ieee.org> * grp.cc (getgroups32): Protect against closing cygheap->user.token.2002-11-15 Christopher Faylor <cgf@redhat.com> * include/cygwin/version.h: Bump API_MINOR to accommodate below changes.002-11-14 Sergey Okhapkin <sos@prospect.com.ru> * cygwin.din (siginterrupt): New export. * signal.cc (siginterrupt): New.2002-11-15 Sergey Okhapkin <sos@prospect.com.ru> * select.cc (peek_serial): Don't call PurgeComm() to avoid characters loss.2002-11-14 Christopher Faylor <cgf@redhat.com> * exceptions.cc (setup_handler): Add debugging output. Set thread priority to idle if pending signals to allow other threads to get into interruptible state. * miscfuncs.cc (sys_mbstowcs): Save current thread in variable to avoid an OS call. * wait.cc (wait_sig): Reset thread priority each time through loop since the priority may have been set down to deal with pending signals.2002-11-14 Christopher Faylor <cgf@redhat.com> * fhandler_serial.cc (fhandler_serial::tcgetattr): Don't take any special action when vmin_ == 0.2002-11-14 Corinna Vinschen <corinna@vinschen.de> * grp.cc (getgroups32): Revert previous patch. Use impersonation token if process is in impersonated state. * sec_helper.cc (is_grp_member): Rewrite. Call getgroups32 only for current user. Scan passwd and group info otherwise.2002-11-14 Christopher Faylor <cgf@redhat.com> * fhandler_console.cc (fhandler_console::write): Allow characters >= 0177 to be displayed in the title bar.2002-11-14 Corinna Vinschen <corinna@vinschen.de> * grp.cc (getgroups32): Don't use access token of current user when retrieving group info for another user.2002-11-13 Christopher Faylor <cgf@redhat.com> * dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address. Infer from module of caller instead. (cygwin_detach_dll): Ignore dll_index argument. * dll_init.h (dll_list::detach): Reflect argument change above.2002-11-13 Christopher Faylor <cgf@redhat.com> * ioctl.cc (ioctl): Always print ioctl results, even when it's a tty.2002-11-13 Christopher Faylor <cgf@redhat.com> * winsup.h (low_priority_sleep): Declare.2002-11-13 Christopher Faylor <cgf@redhat.com> * miscfuncs.cc (low_priority_sleep): New function. Use throughout where code is supposed to be giving up time slice. * fhandler_console.cc (fhandler_console::read): Switch button 2/3 output escape sequences to be consistent with xterm.2002-11-12 Pierre Humblet <pierre.humblet@ieee.org> * syscalls.cc (chmod): Simplify conditional. * sec_helper (cygsid::getfromstr): Reorganize to remove calls to strcpy and strtok_r. (cygsid::getfromgr): Change type to __uid32_t instead of int. Keep only the allow_ntsec branch. Never call LookupAccountSid which calls PDCs, simply return -1 in case of failure. Use cygsid == instead of calling EqualSid and remove test for NULL psid. * security.h: Declare cygsid::getfromgr as __uid32_t.2002-11-10 Corinna Vinschen <corinna@vinschen.de> * net.cc: Run indent.2002-11-10 Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de> * autoload.cc (GetIfEntry): Add symbol. * net.cc (get_2k_ifconf): Get the interface entries with the GetIfEntry call intead of the GetIfTable call. Clean-up multiple IP address naming.2002-11-09 Sergey Okhapkin <sos@prospect.com.ru> * fhandler.h (class fhandler_pipe): New ioctl() method. * pipe.cc (fhandler_pipe::ioctl): New.2002-11-07 Christopher Faylor <cgf@redhat.com> * fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.2002-11-07 Christopher January <chris@atomice.net> * include/cygwin/fs.h: New file. * include/cygwin/hdreg.h: New file. * fhandler_floppy.cc (fhandler_floppy::ioctl): Add implementation for HDIO_GETGEO, BLKGETSIZE, BLKGETSIZE64, BLKRRPART and BLKSSZGET ioctls.2002-11-07 Gilles Courcoux <Gilles.Courcoux@col.bsf.alcatel.fr> * fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags for loopback interface when name is given on input instead of address.2002-11-07 Jason Tishler <jason@tishler.net>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -