]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
Corinna Vinschen [Thu, 18 Jan 2007 10:25:40 +0000 (10:25 +0000)]
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
* fhandler_procnet.cc: Declare htonl and ntohs here.

17 years ago * Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
Corinna Vinschen [Wed, 17 Jan 2007 19:26:58 +0000 (19:26 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
* autoload.cc (GetAdaptersAddresses): Define.
* devices.h (FH_PROCNET): Define new device.
* devices.in (dev_procnet_storage): Add "/proc/net" entry.
* devices.cc: Regenerate.
* dir.cc (readdir_worker): Use isproc_dev macro.
* dtable.cc (build_fh_pc): Add FH_PROCNET.
* fhandler.h (class fhandler_procnet): New class.
* fhandler_proc.cc: Add "net" subdirectory handling.
* fhandler_procnet.cc: New file handling "/proc/net" directory.
* path.cc (isvirtual_dev): Move to path.h.
* path.h (isproc_dev): New macro to identify /proc files by device.
(isvirtual_dev): Moved here.  Define using isproc_dev.
* syscalls.cc (unlink): Use isproc_dev macro.
* wincap.h (wincapc::has_gaa_prefixes): New element.
(wincapc::has_gaa_on_link_prefix): New element.
* wincap.cc: Implement above elements throughout.
(wincapc::init): Check XP for service pack and set has_gaa_prefixes
appropriately.
* include/cygwin/in6.h: Include asm/byteorder.h.

17 years ago * include/asm/socket.h (SIOGIFINDEX): Define.
Corinna Vinschen [Wed, 17 Jan 2007 13:43:47 +0000 (13:43 +0000)]
* include/asm/socket.h (SIOGIFINDEX): Define.

17 years ago * mmap.cc (MapView9x): Note possible uselessness of retrying.
Corinna Vinschen [Wed, 17 Jan 2007 10:49:24 +0000 (10:49 +0000)]
* mmap.cc (MapView9x): Note possible uselessness of retrying.
(MapViewNT): Ditto.
(mmap64): Fix pre-reservation to work for non NULL, non MAP_FIXED.

17 years ago * autoload.cc (RtlAnsiStringToUnicodeString): Define.
Corinna Vinschen [Tue, 16 Jan 2007 18:01:06 +0000 (18:01 +0000)]
* autoload.cc (RtlAnsiStringToUnicodeString): Define.
(RtlOemStringToUnicodeString): Define.
* ntdll.h (struct _RTL_USER_PROCESS_PARAMETERS): Define.
(struct _PEB): Redefine with a bit of content.
(RtlAnsiStringToUnicodeString): Declare.
(RtlOemStringToUnicodeString): Declare.
* path.cc: Include ntdll.h.
(_upp): New global variable pointing to user process parameter block.
(get_user_proc_parms): New static function to retrieve user process
parameter block.
(close_user_proc_parms_cwd_handle): New function to close handle to
current working directory in user process parameter block.
(cwdstuff::init): Drop redundant declaration of dynamically_loaded.
Set current dir only on 9x.  Call close_user_proc_parms_cwd_handle
on NT instead.
(cwdstuff::keep_in_sync): Only on 9x.
(cwdstuff::set): Keep behaviour on 9x.  On NT write cwd path into user
process parameter block and set cwd handle to NULL.  Fix comments to
reflect new behaviour.

17 years agobfd/
H.J. Lu [Tue, 16 Jan 2007 14:56:31 +0000 (14:56 +0000)]
bfd/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
argument, Elf_Internal_Sym *.

* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
symbol dynamic if info->dynamic_data is TRUE.
(bfd_elf_record_link_assignment): Updated call to
bfd_elf_record_link_assignment.
(_bfd_elf_merge_symbol): Likewise.  Always call
bfd_elf_link_mark_dynamic_symbol.

include/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
Add dynamic and dynamic_data.

ld/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
and --dynamic-list-cpp-new.

* ldlang.c (lang_append_dynamic_list_cpp_new): New.
(lang_process): Change link_info.dynamic to
link_info.dynamic_list.
(lang_append_dynamic_list): Likewise.
* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
link_info.dynamic_data to FALSE.

* ldlang.h (lang_append_dynamic_list_cpp_new): New.

* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
OPTION_DYNAMIC_LIST_CPP_NEW.
(ld_options): Add entries for -Bsymbolic-functions,
--dynamic-list-data and --dynamic-list-cpp-new.  Make
-Bsymbolic-functions an alias of --dynamic-list-data.
(parse_args): Change link_info.dynamic to link_info.dynamic_list.
Set link_info.dynamic to TRUE for --dynamic-list and
--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
--dynamic-list-cpp-new.

ld/testsuite/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* ld-elf/del.cc: New.
* ld-elf/dl5.cc: Likewise.
* ld-elf/dl5.out: Likewise.
* ld-elf/new.cc: Likewise.

* ld-elf/shared.exp: Add tests for --dynamic-list-data and
 --dynamic-list-cpp-new.

17 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
Corinna Vinschen [Tue, 16 Jan 2007 12:01:36 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
* net.cc (get_2k_ifconf): Ditto.
(get_nt_ifconf): Fake SIOCGIFINDEX.
(get_95_ifconf): Ditto.
(get_ifconf): Handle SIOCGIFINDEX.  Fake it for loopback on systems
not supporting IP Helper Lib.
* include/asm/socket.h (SIOCGIFINDEX): Define.
* include/cygwin/if.h (struct ifreq): Add member for interface index.
(ifr_ifindex): Define.

17 years ago * include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
Corinna Vinschen [Tue, 16 Jan 2007 11:41:55 +0000 (11:41 +0000)]
* include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
member to uint32_t.
(struct in6_pktinfo): Ditto.

17 years ago * include/cygwin/in.h (struct ip_mreq_source): Define.
Corinna Vinschen [Tue, 16 Jan 2007 11:37:05 +0000 (11:37 +0000)]
* include/cygwin/in.h (struct ip_mreq_source): Define.
(struct ip_msfilter): Define.
(IP_MSFILTER_SIZE): Define.
(struct in_pktinfo): Define.
(struct group_req): Define.
(struct group_source_req): Define.
(struct group_filter): Define.
(GROUP_FILTER_SIZE): Define.
(INADDR_ALLRTRS_GROUP): Define.
* include/cygwin/socket.h: Define protocol agnostic multicast options.

17 years ago2007-01-15 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston [Mon, 15 Jan 2007 16:41:08 +0000 (16:41 +0000)]
2007-01-15  Joseph Myers  <joseph@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
        for E500V1 and E500V2.

17 years ago * CYGWIN_LICENSE: Fix web pages and contact information.
Corinna Vinschen [Mon, 15 Jan 2007 12:19:01 +0000 (12:19 +0000)]
* CYGWIN_LICENSE: Fix web pages and contact information.

17 years ago * ntdll.h: Adjust status definitions.
Corinna Vinschen [Mon, 15 Jan 2007 11:11:37 +0000 (11:11 +0000)]
* ntdll.h: Adjust status definitions.

17 years ago * cygheap.cc (cygheap_init): Add TODO comment.
Corinna Vinschen [Mon, 15 Jan 2007 11:01:23 +0000 (11:01 +0000)]
* cygheap.cc (cygheap_init): Add TODO comment.

17 years ago * ntdll.h (STATUS_SHARING_VIOLATION): Define.
Corinna Vinschen [Mon, 15 Jan 2007 10:52:15 +0000 (10:52 +0000)]
* ntdll.h (STATUS_SHARING_VIOLATION): Define.

17 years ago2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 14 Jan 2007 15:39:41 +0000 (15:39 +0000)]
2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-symbolic.m4: New.

17 years ago * syscalls.cc (unlink_nt): Don't move files to recycle bin which are
Corinna Vinschen [Sat, 13 Jan 2007 20:56:01 +0000 (20:56 +0000)]
* syscalls.cc (unlink_nt): Don't move files to recycle bin which are
not in use.

17 years ago* glob.cc: Update copyright notice with latest from FreeBSD.
Christopher Faylor [Sat, 13 Jan 2007 07:10:14 +0000 (07:10 +0000)]
* glob.cc: Update copyright notice with latest from FreeBSD.
(glob0): Use correct type for c variable to propagate previously detected
protection.

17 years ago * cygheap.cc (_csbrk): Fix off-by-one error.
Corinna Vinschen [Fri, 12 Jan 2007 19:40:20 +0000 (19:40 +0000)]
* cygheap.cc (_csbrk): Fix off-by-one error.
* cygwin.sc: Give .cygheap a minimum size of 512K.

17 years ago* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
Christopher Faylor [Fri, 12 Jan 2007 15:40:13 +0000 (15:40 +0000)]
* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.

17 years ago * fork.cc (child_copy): Add missing Windows PID in debug output.
Corinna Vinschen [Fri, 12 Jan 2007 15:26:02 +0000 (15:26 +0000)]
* fork.cc (child_copy): Add missing Windows PID in debug output.

17 years ago * syscalls.cc: Update copyright.
Corinna Vinschen [Fri, 12 Jan 2007 14:16:42 +0000 (14:16 +0000)]
* syscalls.cc: Update copyright.

17 years ago2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 11 Jan 2007 20:57:52 +0000 (20:57 +0000)]
2007-01-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/configure.in: Always configure machine directory.
        * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
        unconditionally.
        * libm/configure: Regenerated.
        * libm/Makefile.in: Ditto.
        * libm/*/Makefile.in: Ditto.

17 years ago2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 11 Jan 2007 15:23:41 +0000 (15:23 +0000)]
2007-01-11  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Change == to = in test command.
        * configure: Regenerate.

2007-01-11  Paolo Bonzini  <bonzini@gnu.org>

        * warnings.m4: Use m4_expand_once to clear the AC_SUBST'ed variable.
        (ACX_PROG_CC_WARNINGS_ARE_ERRORS): Fix typo.  Add optional 2nd argument.

17 years ago2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 11 Jan 2007 14:12:07 +0000 (14:12 +0000)]
2007-01-11  Paolo Bonzini  <bonzini@gnu.org>

* config/warnings.m4: Add second parameter with name of variable.
Always append to the variable if it exists.

17 years ago2007-01-11 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 11 Jan 2007 11:22:52 +0000 (11:22 +0000)]
2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
            Nick Clifton  <nickc@redhat.com>
            Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>

        * configure.in (build_configargs, host_configargs, target_configargs):
        Remove build/host/target parameters.
        (host_libs): Add gmp and mpfr.
        (GMP tests): Reorganize to allow in-tree GMP/MPFR.
        * Makefile.def (gmp, mpfr): New.
        (gcc): Remove target.
        * Makefile.tpl (build_os, build_vendor, host_os, host_vendor,
        target_os, target_vendor): New.
        (configure): Add host_alias/target_alias arguments.  Adjust invocations.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2007-01-11  Matt Fago  <fago@earthlink.net>

* configure.in: Try to link to functions only in mpfr 2.2.x
        to improve robustness of configure tests.
* configure: Regenerate.

17 years ago2007-01-11 Gisle Vanem <giva@users.sourceforge.net>
Danny Smith [Thu, 11 Jan 2007 07:11:39 +0000 (07:11 +0000)]
2007-01-11  Gisle Vanem  <giva@users.sourceforge.net>

* include/winbase.h (struct _OVERLAPPED): Change type of
Internal, InternalHigh members to ULONG_PTR.
(PAPCFUNC): Change DWORD parameter to ULONG_PTR.
(CreateIoCompletionPort): Likewise.
(PostQueuedCompletionStatus): Likewise.
(QueueUserAPC): Likewise.
(GetQueuedCompletionStatus): Change PDWORD parm to PULONG_PTR.

17 years ago * mmap.cc (mmap64): Pre-Reserve space for the whole mapping to get a
Corinna Vinschen [Wed, 10 Jan 2007 09:30:38 +0000 (09:30 +0000)]
* mmap.cc (mmap64): Pre-Reserve space for the whole mapping to get a
useful, valid address before the actual mappings take place.
Fix typo in comment.

17 years ago * syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).
Corinna Vinschen [Wed, 10 Jan 2007 09:06:20 +0000 (09:06 +0000)]
* syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).

17 years agoAdd changelog entries for copyright updates.
Daniel Jacobowitz [Wed, 10 Jan 2007 04:33:06 +0000 (04:33 +0000)]
Add changelog entries for copyright updates.

17 years agoCopyright updates for 2007.
Daniel Jacobowitz [Tue, 9 Jan 2007 17:59:15 +0000 (17:59 +0000)]
Copyright updates for 2007.

17 years ago * syscalls.cc (getpagesize): Change condition for clarity.
Corinna Vinschen [Tue, 9 Jan 2007 15:46:41 +0000 (15:46 +0000)]
* syscalls.cc (getpagesize): Change condition for clarity.
(getsystempagesize): Ditto.

17 years ago* Makefile.tpl (all-target): Correct @if conditional for target modules.
Nick Clifton [Tue, 9 Jan 2007 14:09:57 +0000 (14:09 +0000)]
* Makefile.tpl (all-target): Correct @if conditional for target modules.
* configure.in: Omit libiberty if building only target libgcc.
* configure, Makefile.in: Regenerated.

17 years ago * cygpath.cc (usage): Add -O and -F, remove tabs.
Corinna Vinschen [Tue, 9 Jan 2007 12:17:05 +0000 (12:17 +0000)]
* cygpath.cc (usage): Add -O and -F, remove tabs.
(get_special_folder): New function.
(get_user_folder): New function.
(dowin): Add -O and -F, better -D, -P error handling.
(main): Add -O and -F.
* utils.sgml (cygpath): Document -O and -F.

17 years ago * mmap.cc: Do bookkeeping in 4K pages, rather than in 64K chunks.
Corinna Vinschen [Tue, 9 Jan 2007 11:18:57 +0000 (11:18 +0000)]
* mmap.cc: Do bookkeeping in 4K pages, rather than in 64K chunks.

17 years agoMention that the top level configure file has been regenerated.
Nick Clifton [Tue, 9 Jan 2007 07:40:34 +0000 (07:40 +0000)]
Mention that the top level configure file has been regenerated.

17 years agooops - omitted from previous delta
Nick Clifton [Tue, 9 Jan 2007 07:36:45 +0000 (07:36 +0000)]
oops - omitted from previous delta

17 years ago* configure.in: Add support for an x86_64-mingw* target.
Nick Clifton [Tue, 9 Jan 2007 07:36:09 +0000 (07:36 +0000)]
* configure.in: Add support for an x86_64-mingw* target.
* configure: Regenerate.

17 years ago * spu/exit.c (_exit): Finish with an infinite loop to eliminate a
Ben Elliston [Tue, 9 Jan 2007 00:54:00 +0000 (00:54 +0000)]
* spu/exit.c (_exit): Finish with an infinite loop to eliminate a
warning about this noreturn function returning.

17 years ago2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
Jeff Johnston [Mon, 8 Jan 2007 19:01:23 +0000 (19:01 +0000)]
2007-01-05  Brian Ford  <Brian.Ford@FlightSafety.com>

* configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.

17 years agobfd/
Kazu Hirata [Mon, 8 Jan 2007 18:42:37 +0000 (18:42 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
bfd_mach_cpu32_fido.
(m68k_arch_features): Use fido_a instead of cpu32.
(bfd_m68k_compatible): Reject the combination of Fido and
ColdFire.  Accept the combination of CPU32 and Fido with a
warning.
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_merge_private_bfd_data,
elf32_m68k_print_private_bfd_data): Treat Fido as an
architecture by itself.

binutils/
* readelf.c (get_machine_flags): Treat Fido as an architecture
by itself.

gas/
* config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
architecture by itself.
(m68k_ip): Don't issue a warning for tbl instructions on fido.
(m68k_elf_final_processing): Treat Fido as an architecture by
itself.

include/elf/
* m68k.h (EF_M68K_FIDO): New.
(EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
(EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.

include/opcode/
* m68k.h (m68010up): OR fido_a.

opcodes/
* m68k-opc.c (m68k_opcodes): Replace cpu32 with
cpu32 | fido_a except on tbl instructions.

17 years ago2007-02-06 Pierre A. Humblet <Pierre.Humblet@ieee.org>
Danny Smith [Mon, 8 Jan 2007 08:09:15 +0000 (08:09 +0000)]
2007-02-06  Pierre A. Humblet  <Pierre.Humblet@ieee.org>

* windns.h (DNS_TYPE_RP, DNS_TYPE_AFSDB, DNS_TYPE_X25,
DNS_TYPE_ISDN, DNS_TYPE_RT, DNS_TYPE_NSAP, DNS_TYPE_NSAPPTR,
DNS_TYPE_SIG, DNS_TYPE_KEY, DNS_TYPE_PX, DNS_TYPE_GPOS,
DNS_TYPE_AAAA, DNS_TYPE_LOC, DNS_TYPE_NXT, DNS_TYPE_EID,
DNS_TYPE_NIMLOC, DNS_TYPE_SRV, DNS_TYPE_ATMA, DNS_TYPE_NAPTR,
DNS_TYPE_KX, DNS_TYPE_CERT, DNS_TYPE_A6, DNS_TYPE_DNAME,
DNS_TYPE_SINK, DNS_TYPE_OPT, DNS_TYPE_UINFO, DNS_TYPE_UID,
DNS_TYPE_GID, DNS_TYPE_UNSPEC, DNS_TYPE_ADDRS, DNS_TYPE_TKEY,
DNS_TYPE_TSIG, DNS_TYPE_IXFR, DNS_TYPE_AXFR, DNS_TYPE_MAILB,
DNS_TYPE_MAILA, DNS_TYPE_ALL, DNS_TYPE_ANY): Add enum values.

17 years ago * security.h (setacl): Add parameter for writability flag.
Corinna Vinschen [Sun, 7 Jan 2007 12:44:10 +0000 (12:44 +0000)]
* security.h (setacl): Add parameter for writability flag.
* sec_acl.cc (setacl): Ditto.  Set to true if any ACE with write
permissions is created.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Reset
FILE_ATTRIBUTE_READONLY if ACL contains an ACE with write permissions.

17 years ago * include/strings.h: Don't include string.h. Only declare functions
Corinna Vinschen [Fri, 5 Jan 2007 15:09:22 +0000 (15:09 +0000)]
* include/strings.h: Don't include string.h.  Only declare functions
according to SUSv3.

17 years ago2007-01-04 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Thu, 4 Jan 2007 18:05:56 +0000 (18:05 +0000)]
2007-01-04  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-22  Nathan Sidwell  <nathan@codesourcery.com>

        libgloss/
        * m68k/Makefile.in (CF_ISRS): Remove now shared routines.
        * m68k/cf-crt0.S (__reset): Define here.
        * m68k/cf-isrs.c: Share some ISRS.  Add aliases for each IRQ slot.
        * m68k/cf-isv.S: Move to .interrupt_vector section.  Make each
        slot a unique routine.
        * m68k/cf.sc: Adjust for .interrupt_vector section.

        libgloss/
        * m68k/Makefile.in (m5273c3): Rename to ...
        (m5272c3): ... here to fix typo.
        (m5249c3): New.
        (CF_BOARDS): Add it.

17 years ago (get_ifconf): Set MTU for loopback to more correct value.
Corinna Vinschen [Thu, 4 Jan 2007 10:48:57 +0000 (10:48 +0000)]
(get_ifconf): Set MTU for loopback to more correct value.

17 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Don't fake results
Corinna Vinschen [Thu, 4 Jan 2007 10:11:27 +0000 (10:11 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Don't fake results
for SIOCGIFFLAGS here.  Call get_ifconf instead.
* net.cc (get_2k_ifconf): Clean up code to generate interface name.
Handle SIOCGIFFLAGS here.
(get_nt_ifconf): Fake SIOCGIFFLAGS here.
(get_95_ifconf): Ditto.
(get_ifconf): Don't fake loopback on systems with IP Helper Lib.
Set MTU for loopback to a more "modern" value.

17 years ago * fhandler.h (PREFERRED_IO_BLKSIZE): Define as 64K.
Corinna Vinschen [Thu, 4 Jan 2007 09:17:55 +0000 (09:17 +0000)]
* fhandler.h (PREFERRED_IO_BLKSIZE): Define as 64K.
* fhandler.cc (fhandler_base::fstat): Set st_blksize to
PREFERRED_IO_BLKSIZE.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Ditto.
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Ditto.

17 years ago2007-01-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 4 Jan 2007 09:12:28 +0000 (09:12 +0000)]
2007-01-04  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Use DEV-PHASE to detect the default for --enable-werror.
* configure: Regenerate.

17 years agoSync with gcc:
Daniel Jacobowitz [Thu, 4 Jan 2007 04:32:36 +0000 (04:32 +0000)]
Sync with gcc:
* Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items.  Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules.  Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.

17 years ago2006-01-03 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Wed, 3 Jan 2007 16:55:25 +0000 (16:55 +0000)]
2006-01-03  Kazu Hirata  <kazu@codesourcery.com>

        * arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o.
        (RDIMON_OBJS): Define in terms of RDPMON_OBJS.
        (rdimon-_exit.o, rdimon-_kill.o): New.
        * arm/_exit.c, arm/_kill.c: New.
        * arm/syscalls.c (_exit, _kill): Remove.

17 years ago2007-01-03 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Wed, 3 Jan 2007 16:47:53 +0000 (16:47 +0000)]
2007-01-03  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-22  Nathan Sidwell  <nathan@codesourcery.com>

        * m68k/cf-crt0.S (__start): Adjust semihosting.

17 years ago * ChangeLog: Happy New Year.
Corinna Vinschen [Wed, 3 Jan 2007 11:14:53 +0000 (11:14 +0000)]
* ChangeLog: Happy New Year.
* ChangeLog-2006: Move 2006 changelogs here.
* spawn.cc: Bump copyright.

17 years ago2007-01-02 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Tue, 2 Jan 2007 17:03:41 +0000 (17:03 +0000)]
2007-01-02  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-22  Nathan Sidwell  <nathan@codesourcery.com>

        * m68k/cf-hosted.S (__hosted): Adjust semihosting.

17 years ago2007-01-02 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Tue, 2 Jan 2007 16:59:59 +0000 (16:59 +0000)]
2007-01-02  Ben Elliston  <bje@au.ibm.com>

        * doc/makedoc.c: Include <stdlib.h>.
        (malloc, realloc): Remove extern declarations.

17 years ago2007-01-02 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Tue, 2 Jan 2007 16:51:42 +0000 (16:51 +0000)]
2007-01-02  Ben Elliston  <bje@au.ibm.com>

        * spu/time.c (time): Cast new sys.time value to unsigned int.

17 years ago2007-01-01 Mike Stump <mrs@apple.com>
Paolo Bonzini [Tue, 2 Jan 2007 07:58:22 +0000 (07:58 +0000)]
2007-01-01  Mike Stump  <mrs@apple.com>

* mh-ppc-darwin: Remove support for building with Apple's gcc-3.1.

17 years ago* spawn.cc (spawn_guts): Don't expect synchronization from a non-cygwin
Christopher Faylor [Mon, 1 Jan 2007 19:37:19 +0000 (19:37 +0000)]
* spawn.cc (spawn_guts): Don't expect synchronization from a non-cygwin
_P_NOWAIT process.

17 years ago* include/libgen.h: New file; required by...
Keith Marshall [Sun, 31 Dec 2006 18:03:33 +0000 (18:03 +0000)]
* include/libgen.h: New file; required by...
* mingwex/basename.c, mingwex/dirname.c: New files.
* mingwex/Makefile.in (DISTFILES): Add them...
(POSIX_OBJS): ...with corresponding basename.o, dirname.o
(Dependencies): Typo; s/Dependancies/Dependencies/

17 years ago2006-12-29 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 29 Dec 2006 17:09:59 +0000 (17:09 +0000)]
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Reorganize recognition of languages.  Add
        --enable-stage1-languages.  Show supported languages for the chosen
        target rather than all recognized languages.
        * configure: Regenerate.

2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
        * Makefile.in: Regenerate.

2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * configure.in: Warn that MPFR 2.2.0 is buggy.
        * configure: Regenerate.

config:
2006-12-29  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4: Sync with gcc.

17 years ago * configure.in: When removing Makefiles to force a reconfigure, also
Ian Lance Taylor [Wed, 27 Dec 2006 23:46:00 +0000 (23:46 +0000)]
* configure.in: When removing Makefiles to force a reconfigure, also
remove prev-DIR*/Makefile.
* configure: Regenerate.

17 years ago * arm/licfunc.c (do_AngelSWI): Remove.
Kazu Hirata [Mon, 25 Dec 2006 23:05:24 +0000 (23:05 +0000)]
* arm/licfunc.c (do_AngelSWI): Remove.
* arm/syscalls.c (do_AngelSWI): Remove.
* arm/swi.h (do_AngelSWI): New.

17 years ago * arm/syscalls.c (_unlink, _system, _rename): Cast arguments
Kazu Hirata [Mon, 25 Dec 2006 23:03:21 +0000 (23:03 +0000)]
* arm/syscalls.c (_unlink, _system, _rename): Cast arguments
to do_AngelSWI to int.

17 years agobfd/
Kazu Hirata [Mon, 25 Dec 2006 22:39:21 +0000 (22:39 +0000)]
bfd/
* archures.c (bfd_mach_cpu32_fido): New.
(bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a,
bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac,
bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp,
bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac,
bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac,
bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float,
bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac):
Increment the defined values.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Add en entry for
bfd_mach_cpu32_fido.
* elf32-m68k.c (elf32_m68k_object_p): Handle
EF_M68K_CPU32_FIDO_A.
(elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK.
(elf32_m68k_print_private_bfd_data): Handle
EF_M68K_CPU32_FIDO_A.

binutils/
* readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A.

gas/
* config/tc-m68k.c (cpu_of_arch): Add fido.
(m68k_archs, m68k_cpu): Add entries for fido.
(m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A.

include/elf/
* m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.

include/opcode/
* m68k.h (fido_a): New.

17 years ago * m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
Kazu Hirata [Sun, 24 Dec 2006 02:58:37 +0000 (02:58 +0000)]
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

17 years agobfd/
Kazu Hirata [Sun, 24 Dec 2006 02:48:58 +0000 (02:48 +0000)]
bfd/
* config.bfd: Recognize fido.

gas/
* configure.tgt: Recognize fido.

ld/
* configure.tgt: Recognize fido.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Improve debug
Corinna Vinschen [Thu, 21 Dec 2006 10:59:47 +0000 (10:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Improve debug
output.

17 years ago * dumper.cc: Include ansidecl.h before including bfd.h to woraround
Corinna Vinschen [Thu, 21 Dec 2006 09:59:04 +0000 (09:59 +0000)]
* dumper.cc: Include ansidecl.h before including bfd.h to woraround
a problem with the order in which system include files are included.

17 years ago Partially revert change from 2006-10-22. GetSecurityInfo messes up
Corinna Vinschen [Wed, 20 Dec 2006 17:14:23 +0000 (17:14 +0000)]
Partially revert change from 2006-10-22.  GetSecurityInfo messes up
user information on NT4.
* sec_helper.cc (security_descriptor::malloc): Drop LocalAlloc
considerations.
(security_descriptor::realloc): Ditto.
(security_descriptor::free): Ditto.
* security.cc (get_reg_security): Reinstantiate.
(get_nt_object_security): Revert to using NtQuerySecurityObject.
* security.h (class security_descriptor): Drop type member.
Accommodate throughout.
(security_descriptor::size): Constify.
(security_descriptor::copy): Ditto.

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 14:01:25 +0000 (14:01 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.texi: Fix botched commit.

17 years agobfd/
Kazu Hirata [Tue, 19 Dec 2006 13:24:56 +0000 (13:24 +0000)]
bfd/
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
extract architecture mask.

include/elf/
* m68k.h (EF_M68K_ARCH_MASK): New.

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 12:52:58 +0000 (12:52 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove "$build" case for powerpc-*-darwin* since
it only affects bootstrap and could be tested on "$host" as well.
* configure: Regenerate.
* config/mh-ppc-darwin: Add to the stage1 cflags here.

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/29544
* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
move here comment from Makefile.tpl.
* Makefile.tpl: Move some definitions higher in the file.
(STAGE1_CHECKING): New.
* configure.in: Add --enable-stage1-checking.
* configure: Regenerate.
* Makefile.in: Regenerate.

2006-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update error message for missing GMP/MPFR.

* configure: Regenerate.

2006-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update MPFR version in error message.

* configure: Regenerate.

2006-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.

* configure: Regenerate.

config:
2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
if static linking doesn't even work.

17 years ago bfd/
Nathan Sidwell [Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
by p_vaddr_offset.  Copy alignment & use if it is valid.
(rewrite_elf_program_headers): Cope with leading padding in a
segment that does not contain file or program headers.
(copy_elf_program_header): Likewise.

include/elf/
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.

17 years ago2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 22:21:56 +0000 (22:21 +0000)]
2005-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.15.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.15.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.15.

17 years ago2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 18 Dec 2006 21:49:14 +0000 (21:49 +0000)]
2006-12-18  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
                    Kazu Hirata  <kazu@codesourcery.com>

        * configure.host: Recognize fido.

17 years ago2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 18 Dec 2006 21:48:18 +0000 (21:48 +0000)]
2006-12-18  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-15  Daniel Jacobowitz  <dan@codesourcery.com>

        * m68k/fido-crt0.S (_vector_table): Reference
        _PrivilegeViolationHandler.

        2006-12-15  Daniel Jacobowitz  <dan@codesourcery.com>

        * m68k/fido-crt0.S (_start): Set %vbr for context 0 in
        RAM configs.
        * m68k/fido.sc: Clean up formatting.  Add comments.  Move
        stack and heap end to SDRAM for SRAM and SDRAM configurations.
        Put RedBoot application text in SRAM.

        2006-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * m68k/Makefile (install_cf): Don't loop over files here.  Only
        install sources for the default multilib.
        (install_fido): Likewise.
        (install_io): Install bsps in one go.

        2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
                    Kazu Hirata  <kazu@codesourcery.com>

        * configure.in: Recognize fido-*-*.
        * configure: Regenerate.
        * m68k/Makefile.in (CF_ISRS): Use addprefix.
        (FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
        FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
        FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
        fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
        fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
        install_fido): New.
        * m68k/asm.h (mbb): New.
        * m68k/configure.in (DO): Check for __mfido__.
        * m68k/configure: Regenerate.
        * m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
        m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
        m68k/fido.sc, m68k/fido_profiling.h: New.

17 years ago* pinfo.cc (set_myself): Use a more foolproof method for determining if the
Christopher Faylor [Mon, 18 Dec 2006 21:28:31 +0000 (21:28 +0000)]
* pinfo.cc (set_myself): Use a more foolproof method for determining if the
current process was started from another cygiwn process.

17 years ago2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Mon, 18 Dec 2006 20:39:02 +0000 (20:39 +0000)]
2006-12-18  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/c99ppe.h: New file
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
        * libc/machine/spu/printf.c: New file
        * libc/machine/spu/putchar.c: New file
        * libc/machine/spu/puts.c: New file
        * libc/machine/spu/vprintf.c: New file
        * libc/machine/spu/vsnprintf.c: New file
        * libc/machine/spu/vsprintf.c: New file
        * libc/machine/spu/Makefile.am: Add new targets.
        * libc/machine/spu/Makefile.in: Regenerated.

17 years ago2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 20:32:52 +0000 (20:32 +0000)]
2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.

17 years agoRemove entry for next patch that hasn't happened yet.
Jeff Johnston [Mon, 18 Dec 2006 20:24:48 +0000 (20:24 +0000)]
Remove entry for next patch that hasn't happened yet.

17 years ago2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 20:21:48 +0000 (20:21 +0000)]
2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
        2.6.5 version of Doug Lea's malloc which is the basis of
        this code.

17 years ago2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Mon, 18 Dec 2006 16:48:03 +0000 (16:48 +0000)]
2006-12-18  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/machine/setjmp.h: Replace vector with __vector.

17 years ago2006-12-18 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Mon, 18 Dec 2006 16:43:31 +0000 (16:43 +0000)]
2006-12-18  Ben Elliston  <bje@au.ibm.com>

       * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.

17 years agoUndo accidental checkin to HEAD.
Daniel Jacobowitz [Fri, 15 Dec 2006 19:54:05 +0000 (19:54 +0000)]
Undo accidental checkin to HEAD.

17 years ago libgloss/
Daniel Jacobowitz [Fri, 15 Dec 2006 18:09:06 +0000 (18:09 +0000)]
libgloss/
* m68k/Makefile.in (FIDO_OBJS): Build fido-priv.o.
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
* m68k/fido-priv.S: New file.

17 years ago * libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
Corinna Vinschen [Fri, 15 Dec 2006 09:50:32 +0000 (09:50 +0000)]
* libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
(get_dns_info): Verify DnsQuery exists. Use autoloaded GetNetworkParams.

17 years ago2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 14 Dec 2006 22:47:12 +0000 (22:47 +0000)]
2006-12-14  Jeff Johnston  <jjohnstn@redhat.com>
            Eric Blake  <ebb9@byu.net>

        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
        read but unused data.
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
        even read streams may have side effects that must happen.

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 23:06:02 +0000 (23:06 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
        correctly.

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 23:01:21 +0000 (23:01 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * newlib/include/alloca.h: add undef alloca to work with xlc

17 years ago2006-12-13 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 22:57:10 +0000 (22:57 +0000)]
2006-12-13  Ben Elliston  <bje@au.ibm.com>

        * libnosys/_exit.c (_exit): Finish with an infinite loop to
        eliminate a warning about this noreturn function returning.

17 years ago2006-12-13 Sa Liu <saliu@de.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 19:42:56 +0000 (19:42 +0000)]
2006-12-13  Sa Liu  <saliu@de.ibm.com>

        * spu/access.c: New file
        * spu/dup.c: New file
        * spu/ftruncate.c: New file
        * spu/jsre.h: add structures for new functions
        * spu/time.c: New file
        * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.

17 years ago2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 19:36:17 +0000 (19:36 +0000)]
2006-12-12  Joel Schopp <jschopp@austin.ibm.com>

        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
        cell spu

17 years ago * winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.
Corinna Vinschen [Wed, 13 Dec 2006 11:18:39 +0000 (11:18 +0000)]
* winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.

17 years ago * security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
Corinna Vinschen [Wed, 13 Dec 2006 09:53:42 +0000 (09:53 +0000)]
* security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
avoid potential access violation.

17 years ago * Makefile.in (subauth): Drop rule.
Corinna Vinschen [Tue, 12 Dec 2006 20:26:27 +0000 (20:26 +0000)]
* Makefile.in (subauth): Drop rule.
* configure.in: Remove subauth related check.
* configure: Regenerate.

17 years ago Remove subauth directory.
Corinna Vinschen [Tue, 12 Dec 2006 19:22:07 +0000 (19:22 +0000)]
Remove subauth directory.

17 years ago * environ.cc (subauth_id_init): Remove.
Corinna Vinschen [Tue, 12 Dec 2006 19:18:56 +0000 (19:18 +0000)]
* environ.cc (subauth_id_init): Remove.
(parse_thing): Drop "subauth_id" option.
* security.cc (get_token_group_sidlist): Drop comments concerning
subauthentication.
(create_token): Back out subauthentication related changes.
(subauth): Remove.
* security.h (create_token): Remove declaration.
(subauth): Ditto.
* syscalls.cc (seteuid32): Drop subauthentication handling entirely.

17 years ago * cygwinenv.sgml: Drop description of "traverse" option.
Corinna Vinschen [Tue, 12 Dec 2006 18:48:35 +0000 (18:48 +0000)]
* cygwinenv.sgml: Drop description of "traverse" option.

17 years ago * environ.cc (set_traverse): Remove.
Corinna Vinschen [Tue, 12 Dec 2006 18:47:25 +0000 (18:47 +0000)]
* environ.cc (set_traverse): Remove.
(parse_thing): Drop "traverse" option.
* path.cc (fs_info::update): Don't request SE_CHANGE_NOTIFY_PRIV
privilege.
* sec_helper.cc (set_cygwin_privileges): Ditto.
* security.cc (allow_traverse): Remove.
(alloc_sd): Drop special allow_traverse code.
* security.h (allow_traverse): Drop declaration.
* syscalls.cc (statvfs): Don't request SE_CHANGE_NOTIFY_PRIV privilege.

17 years ago Partially revert change from 2005-04-03, always running under an
Corinna Vinschen [Tue, 12 Dec 2006 16:27:32 +0000 (16:27 +0000)]
Partially revert change from 2005-04-03, always running under an
impersonation token, which collides with Vista UAC.
* cygheap.h (deimpersonate): revert to self instead of impersonating
hProcImpToken.
(reimpersonate): Only impersonate if setuid.
* dcrt0.cc (dll_crt0_0): Don't initialize hProcImpToken here.
(dll_crt0_1): Set privileges on hProcToken.
* fork.cc (frok::child): Set privileges on hProcToken.  Close handle to
hProcImpToken.
* grp.cc (internal_getgroups): Use hProcToken instead of hProcImpToken.
* security.cc (check_access): Create hProcImpToken on demand here.
* security.h (set_process_privilege): Set privileges on hProcToken.
(_push_thread_privilege): Use hProcToken instead of hProcImpToken.
(pop_thread_privilege): If not setuid'ed, revert to self.
* syscalls.cc (setegid32): Drop setting primary group on hProcImpToken.
Close handle to hProcImpToken.
* uinfo.cc (internal_getlogin): Ditto.
* winsup.h (clear_procimptoken): New inline function.

17 years agoAdd missing ChangeLog.
Christopher Faylor [Tue, 12 Dec 2006 15:59:26 +0000 (15:59 +0000)]
Add missing ChangeLog.

This page took 0.071582 seconds and 5 git commands to generate.