summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
Commit message (Collapse)AuthorAgeFilesLines
...
* new how-to.Christopher Faylor2002-02-111-0/+32
|
* * Makefile.in (DLL_OFILES): Consolidate object files.Christopher Faylor2002-02-102-9/+13
|
* * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,Corinna Vinschen2002-02-1023-24/+32
| | | | | | | 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.
* * (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,Corinna Vinschen2002-02-1032-189/+231
| | | | | | | | | | | | | | | | 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.
* * uinfo.cc (internal_getlogin): Try evaluating user by SID even ifCorinna Vinschen2002-02-102-78/+84
| | | | | ntsec is off. (uinfo_init): Set primary group even if ntsec is off.
* * include/cygwin/grp.h: New file.Corinna Vinschen2002-02-095-5/+131
| | | | | | | | * 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.
* * dtable.cc (dtable::dup2): Revert previous patch.Corinna Vinschen2002-02-096-110/+131
| | | | | | | | | | | | | | | * 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.
* * net.cc (get_2k_ifconf): Create interface entries for tokenring cards.Corinna Vinschen2002-02-092-1/+10
|
* * dtable.cc (dtable::dup2): Store fd for fhandler_socket.Corinna Vinschen2002-02-085-3/+32
| | | | | | | | | | | | * 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.
* * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.Corinna Vinschen2002-02-072-6/+15
|
* add more wordsChristopher Faylor2002-01-301-65/+72
|
* * net.cc (getdomainname): Fix registry key for 9x systems, too.Corinna Vinschen2002-01-292-2/+6
|
* * net.cc (getdomainname): Fix registry key for NT systems.Corinna Vinschen2002-01-292-0/+5
|
* * external.cc (cygwin_internal): Initialize various internal settings ifChristopher Faylor2002-01-299-25/+94
| | | | | | | | | | | | | | | | 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.
* * include/sys/strace.h (_STRACE_ON): Define.Christopher Faylor2002-01-282-0/+12
| | | | (_STRACE_OFF): Ditto.
* * speclib: Ensure that temporary def file is removed.Christopher Faylor2002-01-242-1/+5
|
* * speclib: Use rm -f to remove temp file just to quiet any potential warnings.Christopher Faylor2002-01-232-1/+6
|
* Supplement ChangeLog entry.Corinna Vinschen2002-01-231-1/+2
|
* * security.cc (create_token): Use sec_user() to createCorinna Vinschen2002-01-232-4/+8
| | | | SECURITY_ATTRIBUTES structure for primary token.
* * path.cc (symlink): Fix check for already existing file.Corinna Vinschen2002-01-232-1/+5
|
* * cygmagic: Suppress error output when figuring out if sum takes an option.Christopher Faylor2002-01-222-1/+6
|
* * cygmagic: Attempt to figure out if sum takes an option.Christopher Faylor2002-01-222-1/+11
|
* * Makefile.in (libpthread.a): Pass the assembler also.Christopher Faylor2002-01-223-4/+12
| | | | | | (libm.a): Ditto. (libc.a): Ditto. * speclib: Specify the assembler to dlltool.
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-01-212-1/+5
|
* Fix ChangeLog entry.Corinna Vinschen2002-01-211-1/+1
|
* * grp.cc (getgrent): Don't return default gid entry when ntsec is on.Corinna Vinschen2002-01-213-1/+8
| | | | * syscalls.cc (setegid): Don't set primary group in process token.
* Add newline at EOF.Christopher Faylor2002-01-211-1/+1
|
* * speclib: Don't use /dev/null as DLL name. Just default to what's already inChristopher Faylor2002-01-213-4/+11
| | | | | | .def file. * exceptions.cc (sig_handle): Remove last vestiges of SA_NOCLDSTOP code which caused SIGCHLD to be ignored.
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-01-212-1/+5
|
* * syscalls.cc (regfree): Make dll_export.Christopher Faylor2002-01-212-1/+5
|
* * exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid whenChristopher Faylor2002-01-202-1/+6
| | | | detecting if we should actually handle CTRL-C.
* * Makefile.in (new-cygwin1.dll): Revert previous change. libsupc++.a is onlyChristopher Faylor2002-01-202-1/+6
| | | | available in libstdc++-v3.
* * exceptions.cc (sig_handle_tty_stop): Don't send SIGCHLD if parent doesn'tChristopher Faylor2002-01-192-2/+11
| | | | | | want it. (sig_handle): Don't check for SA_NOCLDSTOP here. We don't have enough information.
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2002-01-192-1/+5
|
* * Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.Christopher Faylor2002-01-194-5/+12
| | | | | | * sigproc.cc (proc_exists): Change existence criteria. * sync.h (new_muto): Add volatile to definition to avoid gcc optimization problems.
* * include/cygwin/version.h: Bump API minor version to 51.Corinna Vinschen2002-01-192-1/+6
|
* * cygwin.din: Add recvmsg and sendmsg.Corinna Vinschen2002-01-194-0/+71
| | | | | * net.cc: Add cygwin_recvmsg and cygwin_sendmsg. * /usr/include/sys/socket.h: Add recvmsg and sendmsg.
* * security.cc (create_token): Close processes token handle as soonCorinna Vinschen2002-01-192-0/+6
| | | | as it's not used anymore.
* * Makefile.in: Add fnmatch.o to DLL_OFILES.Corinna Vinschen2002-01-176-2/+305
| | | | | | | * cygwin.din: Add fnmatch export symbol. * fnmatch.c: New file. * include/fnmatch.h: Ditto. * include/cygwin/version.h: Bump API minor version to 50.
* * path.cc (fchdir): Call chdir with full windows path.Corinna Vinschen2002-01-152-1/+5
|
* * dir.cc: Use INVALID_FILE_ATTRIBUTES instead of "(DWORD) -1"Corinna Vinschen2002-01-148-21/+33
| | | | | | | | | | | 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.
* Add copyright stuffChristopher Faylor2002-01-1315-13/+33
|
* * dcrt0.cc (multiple_cygwin_problem): Clarify logic and make CYGWIN_MISMATCH_OKChristopher Faylor2002-01-132-5/+15
| | | | more powerful.
* * exceptions.cc (sig_handle): Accept a second argument indicating whether theChristopher Faylor2002-01-115-5/+43
| | | | | | | | 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.
* * syscalls.cc (pathconf): Guard _PC_PATH_MAX branch against invalidCorinna Vinschen2002-01-102-0/+7
| | | | file parameter.
* * exceptions.cc (early_stuff_init): Rename from misnamed set_console_handler.Christopher Faylor2002-01-105-12/+39
| | | | | | | | | | (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.
* * net.cc (cygwin_accept): Set sun_path for newly connected socket.Corinna Vinschen2002-01-092-0/+6
|
* * Makefile.in: Add uninstall target.Christopher Faylor2002-01-082-0/+37
|
* * sigproc.cc (getsem): Clean up debugging output.Christopher Faylor2002-01-072-1/+5
|
* * sigproc.cc (getsem): Set errno when unable to create own semaphore.Christopher Faylor2002-01-072-10/+17
| | | | | Reorganize to make clearer that error should only come from initial creation of process semaphore.