summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>Danny Smith2002-08-092-1/+10
| | | | | | | | * include/wincrypt.h (CRYPT_NOHASHOID): Add define. 2002-08-09 Danny Smith <dannysmith@users.sourceforge.net> * include/commctrl.h: Whitespace change.
* 2002-08-09 Lars Munch <lars@segv.dk>Danny Smith2002-08-092-5/+16
| | | | | | | * include/commctrl.h (tagTVHITTESTINFO): Replace obsolete struct name _TVHITTESTINFO and typedefs. Add defines for backward compatability. (ListView_SetExtendedListViewStyleEx): Add macro.
* * environ.cc (parse_options): Remember the "no" part of any options for laterChristopher Faylor2002-08-082-1/+7
| | | | export.
* * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.Conrad Scott2002-08-086-150/+191
| | | | | | | | | | | | | | | | | | | | | | | | | (__check_null_invalid_struct_errno): Ditto. * miscfuncs.cc (__check_null_invalid_struct): Ditto. (__check_null_invalid_struct_errno): Ditto. (__check_invalid_read_ptr_errno): Remove superfluous cast. * net.cc (get): Set appropriate errno if fd is not a socket. (cygwin_sendto): Fix parameter checking. (cygwin_recvfrom): Ditto. (cygwin_setsockopt): Ditto. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_gethostbyaddr): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_listen): Ditto. (cygwin_getpeername): Ditto. (cygwin_send): Ditto. (cygwin_shutdown): Ditto. Move sigframe to fhandler_socket. (cygwin_recvmsg): Fix parameter checking. Add tracing. (cygwin_sendmsg): Ditto. * fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe. * resource.cc (setrlimit): Fix parameter checking.
* Patch by Joe Buehler <jbuehler@hekimian.com>:Corinna Vinschen2002-08-082-1/+5
| | | | * sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.
* Check symbols with undefine version.H.J. Lu2002-08-082-0/+12
|
* * libc/include/machine/setjmp.h: For mips, define _JBLEN basedRichard Sandiford2002-08-073-100/+74
| | | | | | based on __mips_soft_float rather than __mips64. * libc/machine/mips/setjmp.S: Provide hard and soft float versions of both 32-bit and 64-bit code.
* Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:Corinna Vinschen2002-08-072-2/+7
| | | | * fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.
* one more changeChristopher Faylor2002-08-072-1/+2
|
* * cygheap.cc (_csbrk): Avoid !cygheap considerations.Christopher Faylor2002-08-072-20/+18
| | | | (cygheap_init): Deal with unintialized cygheap issues here.
* Conrad Scott <conrad.scott@dsl.pipex.comChristopher Faylor2002-08-063-3/+9
| | | | | * cygheap.cc (_csbrk): Allocate some slop initially. Don't erroneously add sbrk amount to returned value in initial case.
* Add hppa-openbsd targetNick Clifton2002-08-062-0/+5
|
* * spawn.cc (spawn_guts): Don't set mount_h here.Christopher Faylor2002-08-063-1/+7
| | | | | * sigproc.cc (init_child_info): Set it here instead. * shared.cc (cygwin_mount_h): Make NO_COPY.
* * cygthread.cc (cygthread::stub): Accept flag to pass info structure to threadChristopher Faylor2002-08-065-14/+53
| | | | | | | | | | | | | | | | function. (cygthread::operator new): Add defense debugging output. (cygthread::cygthread): Add debugging output. Set name after thread has been awakened to avoid a race. (cygthread::exit_thread): Use handle operator rather than using ev directly. (cygthread::exit_thread): Reorganize to provide debugging. Set __name to NULL. * cygthread.h (cygself): Define. * fhandler_tty.cc (fhandler_tty_master::init): Use cygself as argument so that invoked thread can access its own info. (process_output): Derive cygthread info of thread from thread argument. * sigproc.cc (sigproc_init): Use cygself as argument so that invoked thread can access its own info. (wait_sig): Derive cygthread info of thread from thread argument.
* * debug.h (handle_list::allocated): Remove field.Conrad Scott2002-08-063-17/+12
| | | | | | * debug.cc (newh): Don't malloc extra entries. (add_handle): Downgrade strace message level. (delete_handle): Remove case for `allocated' entries.
* * cygthread.cc (cygthread::stub): Change event creation to manual reset. SetChristopher Faylor2002-08-052-7/+30
| | | | | __name after calling SetEvent to prevent races. (cygthread::detach): Always reset event here to prevent races.
* * include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):Danny Smith2002-08-053-2/+19
| | | | | Add prototypes. * lib/msimg32.def: New file, with stubs for above.
* 2002-08-04 H.J. Lu (hjl@gnu.org)H.J. Lu2002-08-042-1/+4
| | | | * configure.in (mips*-*-linux*): Don't skip target-libffi.
* * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt" arguments forChristopher Faylor2002-08-042-1/+11
| | | | popen to match similar functionality in fopen.
* * debug.h (WaitForMultipleObjects): Correct typo.Conrad Scott2002-08-032-1/+5
|
* updateChristopher Faylor2002-08-031-1/+5
|
* * include/stdio.h (_fcloseall): Add prototype.Danny Smith2002-08-032-0/+5
|
* * winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,Danny Smith2002-08-032-0/+21
| | | | | | GetFileSizeEx, SetFilePointerEx): Add prototypes. (EncryptFile[AW], FileEncryptionStatus[AW]): Add prototypes and UNICODE mappings.
* * mkgroup.c (main): Don't print an entry for "Everyone".Corinna Vinschen2002-08-023-4/+15
| | | | | * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user. (main): Don't print an entry for "Everyone".
* * security.cc (verify_token): Do not reject a token just becauseCorinna Vinschen2002-08-024-6/+19
| | | | | | | | the supplementary group list is missing Everyone or a groupsid equal to usersid, or because the primary group is not in the token, as long as it is equal to the usersid. * syscalls.cc (seteuid32): Use common code for all successful returns. * grp.cc (getgroups32): Never includes Everyone in the output.
* * include/winbase.h (ReadFileScatter, WriteFileGather):Danny Smith2002-08-022-4/+9
| | | | Change second parameter to pointer.
* * cygthread.cc (cygthread::exit_thread): Define new method.Christopher Faylor2002-08-027-20/+46
| | | | | | | | | | | | | | | * cygthread.h (cygthread::exit_thread): Declare new method. * fhandler.h (fhandler_tty_master::hThread): Delete. (fhandler_tty_master::output_thread): Define. * fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Adjust constructor. (fhandler_tty_master::init): Use cygthread rather than handle. (process_output): Use cygthread method to exit. (fhandler_tty_master::fixup_after_fork): Set output_thread to NULL after fork. (fhandler_tty_master::fixup_after_exec): Set output_thread to NULL after spawn/exec. * tty.cc (tty_list::terminate): Detach from output_thread using cygthread method.
* * syscalls.cc (_link): Revert previous change and just always dereference theChristopher Faylor2002-08-012-9/+10
| | | | oldpath.
* * syscalls.cc (link): Properly deal with a link to a symlink.Christopher Faylor2002-08-012-0/+7
|
* * mips/cfe.ld (STARTUP): New definition.Thomas Fitzsimmons2002-08-0113-0/+27
| | | | | | | | | | | | | | * mips/ddb-kseg0.ld (STARTUP): Likewise. * mips/ddb.ld (STARTUP): Likewise. * mips/dve.ld (STARTUP): Likewise. * mips/idt.ld (STARTUP): Likewise. * mips/jmr3904app-java.ld (STARTUP): Likewise. * mips/jmr3904app.ld (STARTUP): Likewise. * mips/jmr3904dram-java.ld (STARTUP): Likewise. * mips/jmr3904dram.ld (STARTUP): Likewise. * mips/lsi.ld (STARTUP): Likewise. * mips/nullmon.ld (STARTUP): Likewise. * mips/pmon.ld (STARTUP): Likewise.
* * cygthread.cc: Remove cruft.Christopher Faylor2002-08-012-22/+4
|
* * Makefile.in (DLL_OFILES): Add cygthread.o.Christopher Faylor2002-08-0115-287/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dcrt0.cc (dll_crt0_1): Eliminate various thread initialization functions in favor of new cygthread class. * debug.cc: Remove thread manipulation functions. * debug.h: Ditto. * external.cc (cygwin_internal): Use cygthread method for determining thread name. Remove capability for setting thread name. * fhandler_console.cc (fhandler_console::read): Use cygthread method rather than iscygthread function. * fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Use cygthread methods to create threads. (fhandler_tty_common::__acquire_output_mutex): Use cygthread method to retrieve thread name. * select.cc (pipeinf): Use cygthread pointer rather than handle. (start_thread_pipe): Ditto. (pipe_cleanup): Ditto. (serialinf): Ditto. (start_thread_serial): Ditto. (serial_cleanup): Ditto. (socketinf): Ditto. (start_thread_socket): Ditto. (socket_cleanup): Ditto. * sigproc.cc (hwait_sig): Ditto. (hwait_subproc): Ditto. (proc_terminate): Ditto. (sigproc_terminate): Ditto. (sigproc_init): Initialize cygthread hwait_sig pointer. (subproc_init): Initialize cygthread hwait_subproc pointer. (wait_sig): Rely on cygthread HANDLE operator. * strace.cc (strace::vsprntf): Use cygthread::name rather than threadname. * window.cc (gethwnd): Use cygthread method to initialize thread.
* Fix typo.Andreas Schwab2002-08-011-1/+1
|
* * include/wininet.h (InternetReadFileEx[AW]). Add prototypes andDanny Smith2002-08-013-1/+96
| | | | | UNICODE mapings. * lib/wininet.def: Regenerate.
* * fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.Corinna Vinschen2002-07-313-1/+7
| | | | * net.cc (fdsock): Call set_r_no_interrupt.
* Add new field to bfd_link structure and use it to control how common symbolsNick Clifton2002-07-312-0/+17
| | | | are extracted from archives.
* * syscalls.cc (_read): Clarify debugging output.Christopher Faylor2002-07-312-4/+9
|
* * fhandler.h (fhandler_base::get_r_no_interrupt): Make virtual.Christopher Faylor2002-07-312-1/+5
|
* * configure.in: Move generic linux case to end. Copy genericDJ Delorie2002-07-302-3/+15
| | | | | linux noconfigdirs to mips*-*-linux* entry and new powerpc64*-*-linux* entry. Add target-libffi for the latter.
* * fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Incorporate . and ..Christopher Faylor2002-07-302-15/+20
| | | | | | processing here. (fhandler_cygdrive::readdir): Assume . and .. are already in pdrive. (fhandler_cygdrive::seekdir): Ditto.
* * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.Corinna Vinschen2002-07-302-0/+7
|
* fix typoChristopher Faylor2002-07-301-1/+1
|
* * include/windef.h (PVOID, LPVOID): Move typedefs to...Danny Smith2002-07-304-1/+36
| | | | | | | | | | | | * include/winnt: ...here. (PVOID64): New typeddef. * include/winnt,h (FILE_SEGMENT_ELEMENT): Define union. * include/winbase.h: (ReadFileScatter, WriteFileGather): Add prototypes. * include/winnt,h (PROCESSOR_ARCHITECTURE_*): Add defines. (PROCESSOR_INTEL_IA64): Add define
* * dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec.Christopher Faylor2002-07-304-33/+38
| | | | | * cygheap.cc (cygheap_fixup_in_child): Call debug_fixup_after_fork_exec immediately after cygheap has ben set up.
* 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-295-23/+107
| | | | | | | * libc/sys/linux/Makefile.am: Add aio64.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aio.c (aio_init): ENOSYS stub added. * libc/sys/linux/aio64.c: New file.
* sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_Andrey Volkov2002-07-292-28/+36
|
* * security.cc: Change some formatting.Corinna Vinschen2002-07-299-226/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/cygwin/version.h: Bump API minor version. * cygheap.h (class cygheap_user): Add member groups. * security.h (class cygsidlist): Add members type and maxcount, methods position, addfromgr, alloc_sids and free_sids and operator+= (const PSID psid). Modify contains () to call position () and optimize add () to use maxcount. (class user_groups): Create. Update declarations of verify_token and create_token. * security.cc (cygsidlist::alloc_sids): New. (cygsidlist::free_sids): New. (get_token_group_sidlist): Create from get_group_sidlist. (get_initgroups_sidlist): Create from get_group_sidlist. (get_group_sidlist): Suppress. (get_setgroups_sidlist): Create. (verify_token): Modify arguments. Add setgroups case. (create_token): Modify arguments. Call get_initgroups_sidlist and get_setgroups_sidlist as needed. Set SE_GROUP_LOGON_ID from auth_pos outside of the loop. Rename the various group sid lists consistently. * syscalls.cc (seteuid32): Modify to use cygheap->user.groups. (setegid32): Call cygheap->user.groups.update_pgrp. * grp.cc (setgroups): Create. (setgroups32): Create. * uinfo.cc (internal_getlogin): Initialize and update user.groups.pgsid. * cygwin.din: Add setgroups and setgroups32.
* * fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrpChristopher Faylor2002-07-296-18/+63
| | | | | | | | | method. * select.cc (peek_console): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to entire process group as dictated by SUSv3. * termios.cc (tcsetattr): Detect when stopped signal sent and force a stop before setting anything.
* * include/tchar.h (_tfdopen): Correct typo.Danny Smith2002-07-292-1/+7
|
* Add incomplet long double math support to libmingwex.aDanny Smith2002-07-29143-623/+5197
|