summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting.Christopher Faylor2001-05-141-4/+4
|
* * fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping aChristopher Faylor2001-05-132-1/+6
| | | | filehandle.
* * dir.cc (rmdir): Rearrange slightly to allow removing directoriesCorinna Vinschen2001-05-122-13/+34
| | | | even when R/O attribute is set.
* Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra2001-05-122-3/+9
|
* * external.cc (fillout_pinfo): Use correct pids.Christopher Faylor2001-05-113-3/+11
| | | | | * path.cc (mount_info::conv_to_win32_path): Correct test for whether to include a slash.
* merge from gccDJ Delorie2001-05-112-10/+4
|
* * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek2001-05-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
* * exceptions.cc (handle_exceptions): Don't print message when executing from aChristopher Faylor2001-05-112-2/+7
| | | | cygwin program.
* Christopher Faylor <cgf@redhat.com>Christopher Faylor2001-05-112-9/+49
| | | | | * environ.cc (winenv): Always add SYSTEMDRIVE and SYSYEMROOT to win32-style environment if they don't already exist.
* remove erroneous header.Christopher Faylor2001-05-091-1/+0
|
* * path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as pathsChristopher Faylor2001-05-092-1/+6
| | | | including `:' or `\'.
* * fhandler.h (fhandler_termios::echo_erase): Declare new method.Christopher Faylor2001-05-093-6/+27
| | | | | | | * fhandler_termios.cc (fhandler_termios::echo_erase): New method for echoing erase characters. (fhandler_termios::line_edit): Check the echo flag before echoing control characters (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).
* * include/pthread.h: Remove C++ comment.Christopher Faylor2001-05-092-1/+5
|
* * cygheap.cc (_cfree): Add regparm attribute.Christopher Faylor2001-05-0812-30/+71
| | | | | | | | | | | | | | | | (_crealloc): Ditto. * dcrt0.cc (dll_crt0_1): Default to always checking for executable for now. * dtable.cc (dtable::not_open): Move method. * dtable.h (dtable): Here. * exceptions.cc (ctrl_c_handler): Don't expect process group leader to handle a signal if it doesn't exist. * fhandler.h (fhandler_base): Make openflags protected. * localtime.c (tzsetwall): Check for __CYGWIN__ as well as __WIN32__. * path.cc (path_conv::check): Add some comments. Change strcat to assignment. * lib/_cygwin_S_IEXEC.cc (_cygwin_bob__): Eliminate. * fhandler_tty.cc (fhandler_console::dup): Set controlling terminal if necessary. * fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
* merge from gccDJ Delorie2001-05-083-5/+14
|
* Fix typo.Christopher Faylor2001-05-081-1/+1
|
* * include/sys/file.h: Revert special X_OK usage. Just make it a constant.Christopher Faylor2001-05-082-8/+9
|
* * libc/include/sys/stat.h: Revert March 3, Cygwin change.Christopher Faylor2001-05-083-20/+6
| | | | * libc/include/sys/Ditto.h: Ditto.
* merge from gccDJ Delorie2001-05-072-0/+9
|
* * external.h: Fix typo.Alan Modra2001-05-073-38/+112
| | | | | | | | | | | | | | | | | | | * mips.h: Add/Extend many comments with reference to the MIPS ELF64 spec v. 2.4, available at e.g. ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps. (EF_MIPS_UCODE): Define. (EF_MIPS_OPTIONS_FIRST): Define. (EF_MIPS_ARCH_ASE): Define. (EF_MIPS_ARCH_ASE_MDMX): Define. (EF_MIPS_ARCH_ASE_M16): Define. (SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32. (SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64. (SHF_MIPS_NODUPES): Define. (ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro. (ELF64_MIPS_R_TYPE3): Likewise. (ELF64_MIPS_R_TYPE2): Likewise. (ELF64_MIPS_R_TYPE): Likewise. (OHW_R10KLDL): Define.
* Sun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins2001-05-063-10/+69
| | | | | | | | | | * thread.h (pthread_cond): New element cond_access to allow atomic broadcasts. * thread.cc (pthread_cond::pthread_cond): Initialise cond_access. (pthread_cond::~pthread_cond): Destroy cond_access. (pthread_cond::Broadcast): Use cond_access. (pthread_cond::Signal): Use cond_access. (pthread_cond_wait): Use cond_access. (pthread_cond_timedwait): Use cond_access.
* * string.h (cygwin_strchr): Make 'static inline' so that things will still workChristopher Faylor2001-05-062-1/+6
| | | | when optimized.
* * exceptions.cc (handle_exceptions): Vastly increase test for exception loopChristopher Faylor2001-05-052-2/+10
| | | | guard variable.
* * configure.in: Fix typo.Christopher Faylor2001-05-053-2/+7
| | | | * configure: Regenerate.
* * exceptions.cc (stack_info): Add some controls.Christopher Faylor2001-05-052-19/+44
| | | | | | | | | | | | | (stack_info::init): Add extra arguments to control method of initialization.. If we have a known good frame, set things up so that this frame is not skipped the first time through. Record whether caller cares about arguments or not. (stack_info::walk): Don't store arguments if they're unwanted. (stackdump): Add isexception parameter for use when called by exception handler. (cygwin_stackdump): Accomodate extra argument to stackdump. (handle_exceptions): Ditto. (sig_handle): Ditto. (interrupt_on_return): Accomodate extra arguments to stack walk initialization.
* * localtime.c: Revert exclusion of windows.h.Christopher Faylor2001-05-052-1/+5
|
* oops.Christopher Faylor2001-05-042-2/+3
|
* * string.h: Fix last-minute typo.Christopher Faylor2001-05-042-2/+6
|
* Revert much of previous erroneous checkin. Add ChangeLog entry.Christopher Faylor2001-05-0412-47/+103
| | | | | | | | | | | * pinfo.h: Correctly set __SIGOFFSET. * path.cc (hash_path_name): Avoid calling library functions for simple copying of characters. * shortcut.c: Use WIN32_LEAN_AND_MEAN. * smallprint.c: Ditto. * environ.cc (getwinenv): Minor clarity fix. * localtime.c: No need to include windows.h * string.h: New file.
* * exceptions.cc (ctrl_c_handler): Always send signal to process if it has noChristopher Faylor2001-05-0417-76/+63
| | | | tty.
* 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>Jeff Johnston2001-05-042-8/+10
| | | | * libc/string/strrchr.c: Use strchr for the speed improvements.
* * fhandler_socket.cc (set_connect_secret): Use /dev/urandom toEgor Duda2001-05-042-2/+25
| | | | generate secret cookie.
* * configure.in: Make subauth configuration optional.Christopher Faylor2001-05-043-3/+10
| | | | * configure: Regenerate.
* Initial release of the Cygwin subauthentication DLL.Corinna Vinschen2001-05-046-0/+1588
| | | | | | | | | * ChangeLog: New file. * Makefile.in: Ditto. * configure: Ditto. Generated from configure.in. * configure.in: Ditto. * cygsuba.c: Ditto. * cygsuba.din: Ditto.
* * subauth: New subdirectory.Corinna Vinschen2001-05-043-2/+8
| | | | | * configure.in: Add subauth to the list of subdirectories. * configure: Regenerated from configure.in.
* Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.Alan Modra2001-05-042-4/+9
|
* * include/pthread.h (pthread_cleanup_push): Eliminate space precedingChristopher Faylor2001-05-032-6/+11
| | | | | arguments. (pthread_cleanup_pop): Ditto.
* * configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: DisableAlexandre Oliva2001-05-032-3/+8
| | | | libgcj.
* * net.cc (wsock_init): Rename `was_in_progress' to `wsock_started'Corinna Vinschen2001-05-032-3/+8
| | | | for clearness.
* * exceptions.cc (handle_exceptions): Break out of "loop" if the debuggerChristopher Faylor2001-05-034-3/+9
| | | | doesn't seem to be attaching to our process.
* * autoload.cc: Use new definition of LoadDLLinitfunc throughout.Corinna Vinschen2001-05-034-204/+72
| | | | | | | | | | | Redefine wrapper for wsock32.dll and ws2_32.dll. (std_dll_init): New function. * autoload.h: Rename LoadDLLinitfunc to LoadDLLinitfuncdef. Add new defines LoadDLLinitfunc and LoadDLLstdfunc. * net.cc (wsock_init): Add guard variable handling. Take care to call WSAStartup only once. Load WSAStartup without using autoload wrapper to eliminate recursion. Eliminate FIONBIO and srandom stuff.
* 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-05-012-0/+15
| | | | | | * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have real file systems, let __smakebuf() determine if line buffering should be used for stdout.
* * mkpasswd.c (enum_users): Use /bin/bash as the default shell.Christopher Faylor2001-05-012-2/+7
| | | | (main): Ditto.
* * path.cc (mount_info::conv_to_win32_path): More path tweaking.Christopher Faylor2001-05-012-1/+5
|
* * path.cc (mount_info::conv_to_win32_path): Fix debugging output to avoid aChristopher Faylor2001-05-012-2/+7
| | | | SIGSEGV. Avoid double backslashes in middle of filename.
* * path.cc (mkrelpath): New function.Christopher Faylor2001-05-013-99/+86
| | | | | | | | | | (mount_info::conv_to_win32_path): Eliminate now-unneeded relative path name arg and processing. (path_conv::check): Accomodate relative path names again. Accomodate one extra argument in mount_info::conv_to_win32_path. Tack trailing slash on end of relative path as a side effect, like before. * shared_info.h (mount_info::conv_to_win32_path): Reflect new argument ordering.
* * autoload.cc: Add LoadDLLinitfunc for secur32.dll.Corinna Vinschen2001-04-308-113/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add LoadDLLfuncEx statements for AllocateLocallyUniqueId@4, DuplicateTokenEx@24, LsaNtStatusToWinError@4, LsaDeregisterLogonProcess@4, LsaFreeReturnBuffer@4, LsaLogonUser@56, LsaLookupAuthenticationPackage@12, LsaRegisterLogonProcess@12, * environ.cc: Add extern declaration for `subauth_id'. (subauth_id_init): New function for setting `subauth_id'. (struct parse_thing): Add entry for `subauth_id'. * fork.cc (fork_parent): Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'. * security.cc: Define global variable `subauth_id'. (extract_nt_dom_user): New function. (cygwin_logon_user): Call `extract_nt_dom_user' now. (str2lsa): New static function. (str2buf2lsa): Ditto. (str2buf2uni): Ditto. (subauth): Ditto. * security.h: Add prototype for `subauth'. * spawn.cc (spawn_guts): Use cygheap->user.token only if impersonated. Use `cygsid' type. Remove impersonation before allowing access to workstation/desktop to everyone. Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'. * syscalls.cc (seteuid): Rearranged to allow using subauthentication to retrieve user tokens when needed.
* * uinfo.cc (internal_getlogin): Formatting change.Corinna Vinschen2001-04-302-2/+7
|
* * grp.cc: Eliminate MAX_DOMAIN_NAME define.Corinna Vinschen2001-04-3010-54/+65
| | | | | | | | | | | | | | | | | | | (read_etc_group): Substitute MAX_DOMAIN_NAME by INTERNET_MAX_HOST_NAME_LENGTH. * passwd.cc (parse_pwd): Don't force pw_name to be lower case. * sec_helper.cc: Substitute MAX_USER_NAME by UNLEN, MAX_COMPUTERNAME_LENGTH by INTERNET_MAX_HOST_NAME_LENGTH throughout. (lookup_name): Slight cleanup. * security.cc (alloc_sd): Substitute MAX_USER_NAME by UNLEN. * security.h: Define DEFAULT_UID as DOMAIN_USER_RID_ADMIN and DEFAULT_GID as DOMAIN_ALIAS_RID_ADMINS. * shared.cc (memory_init): Substitute MAX_USER_NAME by UNLEN. * thread.h: Ditto. * uinfo.cc (internal_getlogin): Substitute MAX_USER_NAME by UNLEN. Substitute MAX_COMPUTERNAME_LENGTH and MAX_HOST_NAME by INTERNET_MAX_HOST_NAME_LENGTH. * winsup.h: Include lmcons.h. Eliminate MAX_USER_NAME and MAX_HOST_NAME. Move DEFAULT_UID and DEFAULT_GID to security.h.
* * path.cc (path_conv::check): Don't use path_flags when converting to MS-DOSChristopher Faylor2001-04-302-16/+29
| | | | | syntax unless parsing tail of path component. Stop parsing path when we reach the 'root' of the path. Correctly copy tail to path component.