aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-05-15 * fork.cc (fork): Eliminate superfluous call to getuid().Corinna Vinschen12-163/+181
* security.h: New define `NO_SID'. Remove declarations of functions moved to methods into class cygsid. (class cygsid): Declare new methods `getfromstr', `get_sid', `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string' and new constructors and operators =, == and !=. Declare new global cygsids `well_known_XXX_sid' substituting the corresponding `get_XXX_sid' functions. Remove declarations of these functions. * sec_helper.cc (well_known_admin_sid): New global variable. (well_known_system_sid): Ditto (well_known_creator_owner_sid): Ditto (well_known_world_sid): Ditto (cygsid::string): New method, substituting `convert_sid_to_string_sid'. (cygsid::get_sid): New method, substituting `get_sid'. (cygsid::getfromstr): New method, substituting `convert_string_sid_to_sid'. (cygsid::getfrompw): New method, substituting `get_pw_sid'. (cygsid::getfromgr): New method, substituting `get_gr_sid'. (cygsid::get_id): New method, substituting `get_id_from_sid'. (get_admin_sid): Eliminated. (get_system_sid): Ditto. (get_creator_owner_sid): Ditto. (get_world_sid): Ditto. * grp.cc: Use new cygsid methods and well known sids throughout. * registry.cc: Ditto. * sec_acl.cc: Ditto. * security.cc: Ditto. * shared.cc: Ditto. * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional. * uinfo.cc (internal_getlogin): Ditto. * spawn.cc (spawn_guts) Revert previous patch.
2001-05-15Remove definition of EM_MIPS_RS4_BE. The constant was never in active useNick Clifton2-1/+5
and is used otherwise by the ABI.
2001-05-15Fix MIPS disassembler so that it produces reassemblable code.Nick Clifton2-0/+5
2001-05-15 * winsup.api/winsup.exp: Force linking all tests against binmode.o.Corinna Vinschen2-1/+5
2001-05-15 * fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addrCorinna Vinschen2-1/+7
field to host byte order before comparing with INADDR_LOOPBACK.
2001-05-15 * autoload.cc: Add autoload statements for ws2_32 functionsCorinna Vinschen4-25/+191
`WSACloseEvent', `WSACreateEvent', `WSAGetOverlappedResult', `WSARecv', `WSARecvFrom', `WSASend', `WSASendTo' and `WSASetEvent', `WSAWaitForMultipleEvents'. * net.cc: Define wsock_evt. (wsock_event): New class. (cygwin_sendto): Use overlapped socket io if available. (cygwin_recvfrom): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * security.cc (subauth): Set Win32 error to 0 to safely ask for the error code of dynamically loaded function `LsaRegisterLogonProcess'.
2001-05-15* Makefile.common: Change method for finding current directory.Christopher Faylor2-1/+11
2001-05-14* errno.cc (_sys_errlist): Add missing commas.Christopher Faylor2-2/+6
2001-05-142001-05-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* config.if (libc_interface): Set to -libc6.2- for cross compiling to Linux/glibc 2.2.
2001-05-14 * security.cc (subauth): Check if Secur32.dll could be loaded.Corinna Vinschen2-0/+9
2001-05-14* path.cc (path_conv::check): Revert allow_ntsec check so that volume info isChristopher Faylor2-2/+7
always retrieved and isdisk setting is properly set.
2001-05-14Fix formatting.Christopher Faylor1-4/+4
2001-05-13* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping aChristopher Faylor2-1/+6
filehandle.
2001-05-12 * dir.cc (rmdir): Rearrange slightly to allow removing directoriesCorinna Vinschen2-13/+34
even when R/O attribute is set.
2001-05-12Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra2-3/+9
2001-05-11* external.cc (fillout_pinfo): Use correct pids.Christopher Faylor3-3/+11
* path.cc (mount_info::conv_to_win32_path): Correct test for whether to include a slash.
2001-05-11merge from gccDJ Delorie2-10/+4
2001-05-11 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek2-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.
2001-05-11* exceptions.cc (handle_exceptions): Don't print message when executing from aChristopher Faylor2-2/+7
cygwin program.
2001-05-11Christopher Faylor <cgf@redhat.com>Christopher Faylor2-9/+49
* environ.cc (winenv): Always add SYSTEMDRIVE and SYSYEMROOT to win32-style environment if they don't already exist.
2001-05-09remove erroneous header.Christopher Faylor1-1/+0
2001-05-09* path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as pathsChristopher Faylor2-1/+6
including `:' or `\'.
2001-05-09* fhandler.h (fhandler_termios::echo_erase): Declare new method.Christopher Faylor3-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>).
2001-05-09* include/pthread.h: Remove C++ comment.Christopher Faylor2-1/+5
2001-05-08* cygheap.cc (_cfree): Add regparm attribute.Christopher Faylor12-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.
2001-05-08merge from gccDJ Delorie3-5/+14
2001-05-08Fix typo.Christopher Faylor1-1/+1
2001-05-08* include/sys/file.h: Revert special X_OK usage. Just make it a constant.Christopher Faylor2-8/+9
2001-05-08* libc/include/sys/stat.h: Revert March 3, Cygwin change.Christopher Faylor3-20/+6
* libc/include/sys/Ditto.h: Ditto.
2001-05-07merge from gccDJ Delorie2-0/+9
2001-05-07 * external.h: Fix typo.Alan Modra3-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.
2001-05-06Sun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com>Robert Collins3-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.
2001-05-06* string.h (cygwin_strchr): Make 'static inline' so that things will still workChristopher Faylor2-1/+6
when optimized.
2001-05-05* exceptions.cc (handle_exceptions): Vastly increase test for exception loopChristopher Faylor2-2/+10
guard variable.
2001-05-05* configure.in: Fix typo.Christopher Faylor3-2/+7
* configure: Regenerate.
2001-05-05* exceptions.cc (stack_info): Add some controls.Christopher Faylor2-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.
2001-05-05* localtime.c: Revert exclusion of windows.h.Christopher Faylor2-1/+5
2001-05-04oops.Christopher Faylor2-2/+3
2001-05-04* string.h: Fix last-minute typo.Christopher Faylor2-2/+6
2001-05-04Revert much of previous erroneous checkin. Add ChangeLog entry.Christopher Faylor12-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.
2001-05-04* exceptions.cc (ctrl_c_handler): Always send signal to process if it has noChristopher Faylor17-76/+63
tty.
2001-05-042001-05-04 Earnie Boyd <earnie@users.sourceforge.net>Jeff Johnston2-8/+10
* libc/string/strrchr.c: Use strchr for the speed improvements.
2001-05-04* fhandler_socket.cc (set_connect_secret): Use /dev/urandom toEgor Duda2-2/+25
generate secret cookie.
2001-05-04* configure.in: Make subauth configuration optional.Christopher Faylor3-3/+10
* configure: Regenerate.
2001-05-04 Initial release of the Cygwin subauthentication DLL.Corinna Vinschen6-0/+1588
* ChangeLog: New file. * Makefile.in: Ditto. * configure: Ditto. Generated from configure.in. * configure.in: Ditto. * cygsuba.c: Ditto. * cygsuba.din: Ditto.
2001-05-04 * subauth: New subdirectory.Corinna Vinschen3-2/+8
* configure.in: Add subauth to the list of subdirectories. * configure: Regenerated from configure.in.
2001-05-04Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.Alan Modra2-4/+9
2001-05-03* include/pthread.h (pthread_cleanup_push): Eliminate space precedingChristopher Faylor2-6/+11
arguments. (pthread_cleanup_pop): Ditto.
2001-05-03* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: DisableAlexandre Oliva2-3/+8
libgcj.
2001-05-03 * net.cc (wsock_init): Rename `was_in_progress' to `wsock_started'Corinna Vinschen2-3/+8
for clearness.