aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2002-02-19* fhandler.cc (fhandler_base::puts_readahead): Remove default parameterChristopher Faylor1-0/+8
setting. Newer gcc's complain about this. (fhandler_base::set_readahead_valid): Ditto. * fhandler_dsp.cc (Audio::open): Ditto. (fhandler_dev_dsp::open): Ditto.
2002-02-19* fork.cc (fork_parent): Use sec_user_nih to control process/threadChristopher Faylor1-0/+19
inheritance/permission. * spawn.cc (spawn_guts): Ditto. * security.cc (create_token): Initialize token so that it is not tested for bogus value later. Use sec_user to control process/thread creation. * security.h (__sec_user): Rename declaration from sec_user. (sec_user_nih): Declare here as inline function wrapper for __sec_user. (sec_user): Ditto. * sigproc.cc (czombies): Allocate a character array for zombies to avoid constructor overhead (extremely hackish, I know). (cpchildren): Ditto. (pchildren): New define. (zombies): Ditto. (getsem): Use sec_user_nih to control semaphore inheritance/permission.
2002-02-17reformatChristopher Faylor1-3/+5
2002-02-17* times.cc (hires::prime): Restore thread priority on failure condition.Christopher Faylor1-0/+25
* uinfo.cc (uinfo_init): Use more robust method for determining if process was invoked from a non-cygwin process. * sync.h (muto::init): Eliminate "inheritance" parameter. (new_muto): Reflect removal of parameter. * sync.cc (muto::init): Ditto. * cygheap.cc (cygheap_init): Ditto. * debug.cc (threadname_init): Ditto. * exceptions.cc (events_init): Ditto. * malloc.cc (malloc_init): Ditto. * path.cc (cwdstuff::init): Ditto. * sigproc.cc (sigproc_init): Ditto. * grp.cc (group_lock): Use different method for locking with static member. (read_etc_group): REALLY ensure that read lock mutex is released. * passwd.cc (passwd_lock): Use different method for locking with static member. (read_etc_passwd): REALLY ensure that read lock mutex is released. * shared.cc (sec_user): Correct reversed inheritance test.
2002-02-15* hires.h (hires::usecs): Rename from utime. Accept an argument.Christopher Faylor1-0/+12
* strace.cc (strace::microseconds): Use hires class for calculating times. * sync.h (new_muto): Use NO_COPY explicitly in declaration. * times.cc (gettimeofday): Reflect change in usecs argument. (hires::usecs): Ditto. Changed name from utime. * winsup.h (NO_COPY): Add nocommon attribute to force setting aside space for variable. * regcomp.c (REQUIRE): Add a void cast to bypass a warning.
2002-02-15* hires.h: New file.Christopher Faylor1-0/+7
* times.cc (gettimeofday): Use hires class for calculating current time. (hires::prime): New method. (hires::utime): Ditto.
2002-02-14* include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.Christopher Faylor1-0/+5
* external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE.
2002-02-14* exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm.Christopher Faylor1-0/+16
* external.cc (cygwin_internal): Change CW_STRACE_ON to CW_STRACE_TOGGLE. * strace.cc (strace::hello): Toggle strace on and off. * sync.cc (muto::init): Renamed from constructor. * sync.h (muto::new): Delete. (muto::delete): Ditto. (new_muto): Simplify. Use muto.init for nearly everything. * uinfo.cc (uinfo_init): Avoid closing a NULL handle. * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to CW_STRACE_TOGGLE. Delete CW_STRACE_OFF. * include/sys/strace.h (strace): Add "inited" field.
2002-02-12 * include/cygwin/acl.h: Fix definition of aclent_t.Corinna Vinschen1-0/+4
2002-02-10* Makefile.in (DLL_OFILES): Consolidate object files.Christopher Faylor1-0/+4
2002-02-10 * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,Corinna Vinschen1-2/+10
fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, security.h, thread.h, uinfo.cc, include/cygwin/acl.h: Fix copyright.
2002-02-10 * (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,Corinna Vinschen1-0/+17
fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc, fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h): Change usage of uid_t to __uid16_t, gid_t to __gid16_t and off_t to __off32_t throughout. Use INVALID_UID, INVALID_GID and INVALID_SEEK instead casting -1 to the appropriate type. * winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK. * include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t types. Don't declare acl functions when compiling Cygwin. * include/cygwin/grp.h: Declare getgrgid() and getgrnam() with correct types for internal usage.
2002-02-10 * uinfo.cc (internal_getlogin): Try evaluating user by SID even ifCorinna Vinschen1-0/+7
ntsec is off. (uinfo_init): Set primary group even if ntsec is off.
2002-02-09 * include/cygwin/grp.h: New file.Corinna Vinschen1-0/+9
* include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Add definitions for __off32_t, __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, __gid32_t and gid_t. * include/sys/cygwin.h: Use correct uid and gid types.
2002-02-09 * dtable.cc (dtable::dup2): Revert previous patch.Corinna Vinschen1-0/+16
* fhandler.h: Ditto. (fhandler_socket::recv): Define new method. (fhandler_socket::send): Ditto. * fhandler_socket.cc (fhandler_socket::recv): New method. (fhandler_socket::send): Ditto. (fhandler_socket::read): Call fhandler_socket::recv() now. (fhandler_socket::write): Call fhandler_socket::send() now. * net.cc (class wsock_event): Move definition to wsock_event.h. (fdsock): Revert previous patch. (cygwin_recv): Move implementation to fhandler_socket::recv(). (cygwin_send): Move implementation to fhandler_socket::send(). * wsock_event.h: New file.
2002-02-09 * net.cc (get_2k_ifconf): Create interface entries for tokenring cards.Corinna Vinschen1-0/+4
2002-02-08 * dtable.cc (dtable::dup2): Store fd for fhandler_socket.Corinna Vinschen1-0/+13
* fhandler.h (fhandler_base::set_fd): New virtual method. (fhandler_base::get_fd): Ditto. (fhandler_socket::set_fd): Ditto. (fhandler_socket::get_fd): Ditto. * fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead of native Winsock recv. (fhandler_socket::write): Call cygwin_send instead of native Winsock send. * net.cc (fdsock): Store fd in fhandler_socket.
2002-02-07 * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.Corinna Vinschen1-0/+4
2002-01-29 * net.cc (getdomainname): Fix registry key for 9x systems, too.Corinna Vinschen1-0/+4
2002-01-29 * net.cc (getdomainname): Fix registry key for NT systems.Corinna Vinschen1-0/+4
2002-01-29* external.cc (cygwin_internal): Initialize various internal settings ifChristopher Faylor1-0/+18
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* include/sys/strace.h (_STRACE_ON): Define.Christopher Faylor1-0/+5
(_STRACE_OFF): Ditto.
2002-01-24* speclib: Ensure that temporary def file is removed.Christopher Faylor1-0/+4
2002-01-23* speclib: Use rm -f to remove temp file just to quiet any potential warnings.Christopher Faylor1-0/+5
2002-01-23 Supplement ChangeLog entry.Corinna Vinschen1-1/+2
2002-01-23 * security.cc (create_token): Use sec_user() to createCorinna Vinschen1-0/+5
SECURITY_ATTRIBUTES structure for primary token.
2002-01-23 * path.cc (symlink): Fix check for already existing file.Corinna Vinschen1-0/+4
2002-01-22* cygmagic: Suppress error output when figuring out if sum takes an option.Christopher Faylor1-0/+5
2002-01-22* cygmagic: Attempt to figure out if sum takes an option.Christopher Faylor1-0/+4
2002-01-22* Makefile.in (libpthread.a): Pass the assembler also.Christopher Faylor1-0/+7
(libm.a): Ditto. (libc.a): Ditto. * speclib: Specify the assembler to dlltool.
2002-01-21* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor1-0/+4
2002-01-21 Fix ChangeLog entry.Corinna Vinschen1-1/+1
2002-01-21 * grp.cc (getgrent): Don't return default gid entry when ntsec is on.Corinna Vinschen1-0/+5
* syscalls.cc (setegid): Don't set primary group in process token.
2002-01-21* speclib: Don't use /dev/null as DLL name. Just default to what's already inChristopher Faylor1-0/+10
.def file. * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code which caused SIGCHLD to be ignored.
2002-01-21* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor1-0/+4
2002-01-21* syscalls.cc (regfree): Make dll_export.Christopher Faylor1-0/+4
2002-01-20* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid whenChristopher Faylor1-0/+5
detecting if we should actually handle CTRL-C.
2002-01-20* Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a is onlyChristopher Faylor1-0/+5
available in libstdc++-v3.
2002-01-19* exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent doesn'tChristopher Faylor1-0/+7
want it. (sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough information.
2002-01-19* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor1-0/+4
2002-01-19* Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.Christopher Faylor1-0/+7
* sigproc.cc (proc_exists): Change existence criteria. * sync.h (new_muto): Add volatile to definition to avoid gcc optimization problems.
2002-01-19 * include/cygwin/version.h: Bump API minor version to 51.Corinna Vinschen1-0/+4
2002-01-19 * cygwin.din: Add recvmsg and sendmsg.Corinna Vinschen1-0/+6
* net.cc: Add cygwin_recvmsg and cygwin_sendmsg. * /usr/include/sys/socket.h: Add recvmsg and sendmsg.
2002-01-19 * security.cc (create_token): Close processes token handle as soonCorinna Vinschen1-0/+5
as it's not used anymore.
2002-01-17 * Makefile.in: Add fnmatch.o to DLL_OFILES.Corinna Vinschen1-0/+8
* 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 * path.cc (fchdir): Call chdir with full windows path.Corinna Vinschen1-0/+4
2002-01-14 * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"Corinna Vinschen1-0/+12
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* dcrt0.cc (multiple_cygwin_problem): Clarify logic and make CYGWIN_MISMATCH_OKChristopher Faylor1-0/+5
more powerful.
2002-01-11* exceptions.cc (sig_handle): Accept a second argument indicating whether theChristopher Faylor1-0/+10
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 * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalidCorinna Vinschen1-0/+5
file parameter.