2002-01-29 14:23:09 +01:00
|
|
|
2002-01-29 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* net.cc (getdomainname): Fix registry key for NT systems.
|
|
|
|
|
2002-01-29 03:02:03 +01:00
|
|
|
2002-01-28 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* external.cc (cygwin_internal): Initialize various internal settings
|
|
|
|
if required to allow use of some things from user loaded DLL.
|
|
|
|
(CW_STRACE_ON): Add new feature.
|
|
|
|
(CW_CYGWIN_PID_TO_WINPID): Ditto.
|
|
|
|
* pinfo.cc (set_myself): Call "strace.hello" to initiate possible
|
|
|
|
strace session.
|
|
|
|
(pinfo::init): Guard against dereferencing uninitialized myself.
|
|
|
|
* sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal"
|
|
|
|
received.
|
|
|
|
* strace.cc (strace::hello): New method.
|
|
|
|
* wincap.cc (wincapc::init): Avoid initializing if already initialized.
|
|
|
|
* wincap.h (wincapc::wincapc): New method.
|
|
|
|
* include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of
|
|
|
|
{g,u}id_t if required.
|
|
|
|
* strace.h (strace::hello): Declare new method.
|
|
|
|
|
2002-01-28 19:03:40 +01:00
|
|
|
2002-01-28 Earnie Boyd <earnie@users.sf.net>
|
|
|
|
|
|
|
|
* include/sys/strace.h (_STRACE_ON): Define.
|
|
|
|
(_STRACE_OFF): Ditto.
|
|
|
|
|
2002-01-24 22:39:09 +01:00
|
|
|
2002-01-24 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* speclib: Ensure that temporary def file is removed.
|
|
|
|
|
2002-01-23 19:46:19 +01:00
|
|
|
2002-01-23 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* speclib: Use rm -f to remove temp file just to quiet any potential
|
|
|
|
warnings.
|
|
|
|
|
2002-01-23 19:35:03 +01:00
|
|
|
2002-01-23 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* security.cc (create_token): Use sec_user() to create
|
2002-01-23 19:37:58 +01:00
|
|
|
SECURITY_ATTRIBUTES structure for primary token. Use
|
|
|
|
MAXIMUM_ALLOWED access rights instead of TOKEN_ALL_ACCESS.
|
2002-01-23 19:35:03 +01:00
|
|
|
|
2002-01-23 17:50:17 +01:00
|
|
|
2002-01-23 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* path.cc (symlink): Fix check for already existing file.
|
|
|
|
|
2002-01-22 04:48:16 +01:00
|
|
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* cygmagic: Suppress error output when figuring out if sum takes an
|
|
|
|
option.
|
|
|
|
|
2002-01-22 04:02:00 +01:00
|
|
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* cygmagic: Attempt to figure out if sum takes an option.
|
|
|
|
|
2002-01-22 02:40:11 +01:00
|
|
|
2002-01-21 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in (libpthread.a): Pass the assembler also.
|
|
|
|
(libm.a): Ditto.
|
|
|
|
(libc.a): Ditto.
|
|
|
|
* speclib: Specify the assembler to dlltool.
|
|
|
|
|
2002-01-21 21:55:59 +01:00
|
|
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump DLL minor number.
|
|
|
|
|
2002-01-21 21:51:30 +01:00
|
|
|
2002-01-21 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
2002-01-21 21:52:33 +01:00
|
|
|
* grp.cc (getgrgid): Don't return default gid entry when ntsec is on.
|
2002-01-21 21:51:30 +01:00
|
|
|
* syscalls.cc (setegid): Don't set primary group in process token.
|
|
|
|
|
2002-01-21 18:42:08 +01:00
|
|
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* speclib: Don't use /dev/null as DLL name. Just default to what's
|
|
|
|
already in .def file.
|
|
|
|
|
|
|
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code
|
|
|
|
which caused SIGCHLD to be ignored.
|
|
|
|
|
2002-01-21 04:36:16 +01:00
|
|
|
2002-01-20 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump DLL minor number.
|
|
|
|
|
2002-01-21 04:15:24 +01:00
|
|
|
2002-01-20 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* syscalls.cc (regfree): Make dll_export.
|
|
|
|
|
2002-01-21 00:13:03 +01:00
|
|
|
2002-01-20 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid
|
|
|
|
when detecting if we should actually handle CTRL-C.
|
|
|
|
|
2002-01-20 04:39:36 +01:00
|
|
|
2002-01-19 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a
|
|
|
|
is only available in libstdc++-v3.
|
|
|
|
|
2002-01-20 00:57:45 +01:00
|
|
|
2002-01-19 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent
|
|
|
|
doesn't want it.
|
|
|
|
(sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough
|
|
|
|
information.
|
|
|
|
|
2002-01-20 00:06:28 +01:00
|
|
|
2002-01-19 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump DLL minor number.
|
|
|
|
|
2002-01-19 19:15:23 +01:00
|
|
|
2002-01-19 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.
|
|
|
|
* sigproc.cc (proc_exists): Change existence criteria.
|
|
|
|
* sync.h (new_muto): Add volatile to definition to avoid gcc
|
|
|
|
optimization problems.
|
|
|
|
|
2002-01-19 17:17:59 +01:00
|
|
|
2002-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* include/cygwin/version.h: Bump API minor version to 51.
|
|
|
|
|
2002-01-19 17:11:00 +01:00
|
|
|
2002-01-19 Mark Bradshaw <bradshaw@staff.crosswalk.com>
|
|
|
|
|
|
|
|
* cygwin.din: Add recvmsg and sendmsg.
|
|
|
|
* net.cc: Add cygwin_recvmsg and cygwin_sendmsg.
|
|
|
|
* /usr/include/sys/socket.h: Add recvmsg and sendmsg.
|
|
|
|
|
2002-01-19 17:06:11 +01:00
|
|
|
2002-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* security.cc (create_token): Close processes token handle as soon
|
|
|
|
as it's not used anymore.
|
|
|
|
|
2002-01-17 11:39:37 +01:00
|
|
|
2002-01-17 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* Makefile.in: Add fnmatch.o to DLL_OFILES.
|
|
|
|
* cygwin.din: Add fnmatch export symbol.
|
|
|
|
* fnmatch.c: New file.
|
|
|
|
* include/fnmatch.h: Ditto.
|
|
|
|
* include/cygwin/version.h: Bump API minor version to 50.
|
|
|
|
|
2002-01-15 21:29:09 +01:00
|
|
|
2002-01-15 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* path.cc (fchdir): Call chdir with full windows path.
|
|
|
|
|
2002-01-14 21:39:59 +01:00
|
|
|
2002-01-14 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"
|
|
|
|
for file attributes throughout.
|
|
|
|
* fhandler.cc: Ditto.
|
|
|
|
* fhandler_disk_file.cc: Ditto.
|
|
|
|
* path.cc: Ditto.
|
|
|
|
* path.h: Ditto.
|
|
|
|
* syscalls.cc: Ditto.
|
|
|
|
* times.cc (utimes): Use path_conv::isdir() instead of explicit
|
|
|
|
GetFileAttributes() call.
|
|
|
|
|
2002-01-13 17:55:32 +01:00
|
|
|
2002-01-13 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* dcrt0.cc (multiple_cygwin_problem): Clarify logic and make
|
|
|
|
CYGWIN_MISMATCH_OK more powerful.
|
|
|
|
|
2002-01-11 03:24:06 +01:00
|
|
|
2002-01-10 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle): Accept a second argument indicating
|
|
|
|
whether the signal came from this process or not.
|
|
|
|
* sigproc.h: Reflect sig_handle arg change.
|
|
|
|
* signal.cc (kill_pgrp): Add sigframe info.
|
|
|
|
(abort): New function. Eliminates newlib function of same name.
|
|
|
|
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg
|
|
|
|
2.
|
|
|
|
|
2002-01-10 14:24:28 +01:00
|
|
|
2002-01-10 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalid
|
|
|
|
file parameter.
|
|
|
|
|
2002-01-10 04:21:27 +01:00
|
|
|
2002-01-09 Christopher Faylor <cgf@redhat.com>
|
|
|
|
Robert Collins <rbtcollins@hotmail.com>
|
|
|
|
|
|
|
|
* exceptions.cc (early_stuff_init): Rename from misnamed
|
|
|
|
set_console_handler.
|
|
|
|
(ctrl_c_handler): Attempt to work around potential signal duplication
|
|
|
|
during process startup.
|
|
|
|
(sig_handle): Ignore SIGINT when we're just an "exec stub".
|
|
|
|
* spawn.cc (spawn_guts): Store pid of spawned process in global for use
|
|
|
|
by ctrl_c_handler.
|
|
|
|
* dcrt0.cc (dll_crt0_1): Call renamed initialization function.
|
|
|
|
* winsup.h: Reflect function name change.
|
|
|
|
|
2002-01-09 21:57:55 +01:00
|
|
|
2002-01-08 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* net.cc (cygwin_accept): Set sun_path for newly connected socket.
|
|
|
|
|
2002-01-08 05:51:01 +01:00
|
|
|
2002-01-07 Ralf Habacker <Ralf.Habacker@freenet.de>
|
|
|
|
|
|
|
|
* Makefile.in: Add uninstall target.
|
|
|
|
|
2002-01-07 23:18:36 +01:00
|
|
|
2002-01-07 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* sigproc.cc (getsem): Clean up debugging output.
|
|
|
|
|
2002-01-07 17:47:12 +01:00
|
|
|
2002-01-07 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* sigproc.cc (getsem): Set errno when unable to create own semaphore.
|
|
|
|
Reorganize to make clearer that error should only come from initial
|
|
|
|
creation of process semaphore.
|
|
|
|
|
2002-01-06 18:29:41 +01:00
|
|
|
2002-01-06 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* dtable.cc (dtable::init_std_file_from_handle): Add some defensive
|
|
|
|
code to invalid handle case.
|
|
|
|
|
2002-01-06 10:28:13 +01:00
|
|
|
2002-01-06 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* ioctl.cc (ioctl): Make third argument optional.
|
|
|
|
* include/sys/ioctl.h: Ditto in declaration.
|
|
|
|
* dtable.cc (dtable::init_std_file_from_handle): Revert previous
|
|
|
|
bogus patch.
|
|
|
|
* window.cc (WndProc): Raise SIGURG instead of SIGIO in case of FD_OOB
|
|
|
|
message.
|
|
|
|
|
2002-01-06 04:32:32 +01:00
|
|
|
2002-01-05 Christopher Faylor <cgf@redhat.com>
|
2002-01-05 23:25:34 +01:00
|
|
|
|
2002-01-06 04:32:32 +01:00
|
|
|
* dir.cc (opendir): Guarantee release of alloced fhandler structure on
|
|
|
|
error.
|
2002-01-05 23:25:34 +01:00
|
|
|
|
2002-01-06 04:32:32 +01:00
|
|
|
2002-01-05 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* exceptions.cc (sig_handle): Set default action for SIGURG to SIG_IGN.
|
|
|
|
|
|
|
|
2002-01-05 Corinna Vinschen <corinna@vinschen.de>
|
2002-01-05 19:42:52 +01:00
|
|
|
|
|
|
|
* dtable.cc (dtable::init_std_file_from_handle): Don't treat NULL
|
|
|
|
handle as errorneous.
|
|
|
|
|
2002-01-05 00:29:58 +01:00
|
|
|
2002-01-04 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* cygmagic: Change logic for equality test.
|
|
|
|
|
2002-01-04 20:06:01 +01:00
|
|
|
2002-01-04 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
|
|
|
|
|
2002-01-06 04:32:32 +01:00
|
|
|
2002-01-04 Corinna Vinschen <corinna@vinschen.de>
|
2002-01-04 17:56:53 +01:00
|
|
|
|
|
|
|
* net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
|
|
|
|
throughout.
|
|
|
|
(socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
|
|
|
|
in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL
|
|
|
|
and PF_INET protocols. Return error otherwise. Implement datagram
|
|
|
|
socketpairs.
|
|
|
|
|
2002-01-02 01:06:35 +01:00
|
|
|
2002-01-01 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
* speclib: Remove temp files automatically.
|
|
|
|
|
2002-01-01 17:25:31 +01:00
|
|
|
2002-01-01 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* fhandler.h (fhandler_socket::sun_path): New private member.
|
|
|
|
(fhandler_socket::set_sun_path): New method.
|
|
|
|
(fhandler_socket::get_sun_path): Ditto.
|
|
|
|
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
|
|
|
|
sun_path to NULL.
|
|
|
|
(fhandler_socket::~fhandler_socket): Free sun_path if needed.
|
|
|
|
(fhandler_socket::set_sun_path): New method.
|
|
|
|
* net.cc (cygwin_bind): Set sun_path to path of local socket file.
|
|
|
|
(cygwin_getsockname): Add code to return correct sockaddr for unix
|
|
|
|
domain sockets.
|