| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
(pending_signals::pending): Force an additional loop through wait_sig by
setting retry whenever this function is called.
(sig_send): Reorganize to wait for SIGHOLD at bottom. Always add signal to
pending queue and work on whole queue rather than just the one signal. Loop
when sigq.retry is set. Fix long-broken check for SIGCHLD after queued
signals.
|
| |
|
|
|
|
| |
Change sentence on native 64 bit version.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(_cygtls::copy_context): Delete declaration.
* exceptions.cc (exception::handle): Don't call copy_context() here. Move
signal_handler call earlier and always call it.
(_cygtls::copy_context): Delete definition.
(_cygtls::signal_debugger): Move copy_context logic here. Suspend thread
receiving signal before gathering context information.
|
|
|
|
|
| |
non-execing operations to avoid handle leak seen in
http://cygwin.com/ml/cygwin/2013-03/msg00152.html .
|
|
|
|
|
|
|
|
| |
follow Linux.
* fhandler_socket.cc: Change UNIX_PATH_LEN to UNIX_PATH_MAX throughout.
(fhandler_socket::recv_internal): Don't return prematurely in case of
successful return. For AF_LOCAL sockets, overwrite returned AF_INET
name with AF_LOCAL name.
|
|
|
|
|
|
|
|
| |
filename length to allow non-NUL terminated strings within namelen
bytes. Copy over sun_path to local array sun_path to have a
NUL-terminated string for subsequent function calls. Move path_conv
check before OS bind call to not bind the socket before being sure
the file doesn't exist. Add and fix comments.
|
|
|
|
| |
SEGV in format_proc_filesystems.
|
| |
|
| |
|
| |
|
|
|
|
| |
check if we're exiting.
|
| |
|
|
|
|
|
| |
(error_one_per_line): Ditto.
(error_print_progname): Ditto.
|
|
|
|
|
| |
(MINGW_LDFLAGS): Ditto.
(ZLIB): Simplify accordingly.
|
| |
|
| |
|
|
|
|
| |
(class child_info_fork): Drop extraneous semicolon.
|
|
|
|
| |
empty filename.
|
|
|
|
|
| |
AF_LOCAL filename so it never accesses memory beyond namelen. Also
make sure filename is NUL-terminated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cygtls.h (_cygtls::func): Define as a sa_sigaction style function.
* exceptions.cc (sig_handle_tty_stop): Ditto.
(_cygtls::interrupt_setup): Fix coercion to accommodate 'func' change.
(ctrl_c_handler): Use tty kill_pgrp to send a signal.
(sigpacket::process): Don't process sigflush here.
(_cygtls::call_signal_handler): Reorganize to avoid a race. Always call
sa_sigaction style function.
* fhandler_termios.cc (is_flush_sig): Define new function.
(tty_min::kill_pgrp): Handle tty flush when signal detected.
(fhandler_termios::bg_check): Be slightly more paranoid about checking for
valid tty.
(fhandler_termios::sigflush): Don't flush unless tty owner.
* fhandler_tty.cc (fhandler_pty_slave::ioctl): Use tty kill_pgrp to send
signal.
(fhandler_pty_master::ioctl): Ditto.
* signal.cc (killsys): Delete definition.
* sigproc.h (killsys): Delete declaration.
* include/cygwin/signal.h (siginfo_t): Simplify union/struct nesting slightly.
Implement mechanism to allow cygwin data passing.
|
| |
|
|
|
|
| |
'malloc'.
|
|
|
|
| |
pointer could be NULL is very low so don't bother checking for it.
|
|
|
|
| |
fatal.
|
| |
|
|
|
|
|
| |
jump.
* malloc_wrapper.cc (malloc_init): Remove comment about 64-bit.
|
|
|
|
|
| |
* exceptions.cc (sigpacket::setup_handler): Avoid sending signals during fork
processing.
|
|
|
|
|
| |
(presumably exiting signals) which may have come in while we are in the process
of setting up.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* cygmalloc.h (__reg3): Ditto.
|
| |
|
|
|
|
| |
explains what's going on with the use_internal calculation.
|
|
|
|
| |
checkins. Regularize copyright format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(mainly in fhandler*) start fixing gcc 4.7.2 mismatch between regparm
definitions and declarations.
* gendef: Define some functions to take @ declaration to accommodate _regN
defines which use __stdcall.
* gentls_offsets: Define __regN macros as empty.
* autoload.cc (wsock_init): Remove unneeded regparm attribute.
* winsup.h (__reg1): Define.
(__reg2): Define.
(__reg3): Define.
* advapi32.cc (DuplicateTokenEx): Coerce some initializers to avoid warnings
from gcc 4.7.2.
* exceptions.cc (status_info): Declare struct to use NTSTATUS.
(cygwin_exception::dump_exception): Coerce e->ExceptionCode to NTSTATUS.
* fhandler_clipboard.cc (cygnativeformat): Redefine as UINT to avoid gcc 4.7.2
warnings.
(fhandler_dev_clipboard::read): Ditto.
|
| |
|
|
|
|
| |
update. Don't update non-Red Hat copyrights.
|
|
|
|
| |
current sandbox status.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(export_malloc_called): Delete.
(internal_malloc_determined): New variable.
(malloc_init): Control calculation of internal/external malloc based on
'internal_malloc_determined'. Use import_address() to determine if malloc in
user_data is ours or not.
* miscfuncs.cc (thread_wrapper): Make static.
(__import_address): Define new function.
* miscfuncs.h (import_address): New define.
(__import_address): Declare new function.
|
|
|
|
|
|
|
|
|
| |
declaration.
(pid_exists): Ditto.
(proc_subproc): Ditto.
(sig_clear): Ditto.
(sig_send): Ditto.
(checkstate): Ditto.
|
|
|
|
| |
2013-01-10 for self-inflicted NFS server problem.
|
|
|
|
|
|
| |
"cygwin_finished_initializing".
* sigproc.cc (exit_thread): Undefine ExitThread earlier to avoid recursion on
error return.
|
| |
|
|
|
|
| |
to implement MS_SYNC.
|
|
|
|
| |
fails with ERROR_LOCK_VIOLATION.
|