summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-11-302-1/+12
| | | | | * libc/stdio/makebuf.c (__smakebuf): If dealing with an asprintf-family buffer, make the default initial size 64.
* 2006-11-29 Eric Blake <ebb9@byu.net>Jeff Johnston2006-11-292-6/+22
| | | | | * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in asprintf, as well as quadratic realloc behavior.
* 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-11-295-5/+12
| | | | | | | * libc/machine/spu/memset.c: Fix type of explicit cast. * libc/machine/spu/strncmp.c: Add explicit cast. * libc/machine/spu/strrchr.c: Ditto. * libc/machine/spu/strspn.c: Ditto.
* * security.cc (create_token): Revert erroneous change to testCorinna Vinschen2006-11-283-4/+9
| | | | | | subauth_token for INVAILD_HANDLE_VALUE. * syscalls.cc (seteuid32): Set create_token's subauth_token parameter back to NULL.
* * fhandler.cc (fhandler_base::open): Fix previous patch to handle theCorinna Vinschen2006-11-282-4/+10
| | | | SYSTEM attribute as well.
* Remove entries checked in by accident.H.J. Lu2006-11-271-610/+0
|
* bfd/Bob Wilson2006-11-272-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | * elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info. gas/ * config/tc-xtensa.c (XSHAL_ABI): Add default definition. (directive_state): Disable scheduling by default. (xtensa_add_config_info): New. (xtensa_end): Call xtensa_add_config_info. gas/testsuite/ * gas/elf/section2.e-xtensa: New file. * gas/elf/elf.exp: Use it. include/ * xtensa-config.h (XSHAL_ABI): New. (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New. ld/ * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition. (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags. Delete redundant code to set sections flags and alignment. (xt_config_info_unpack_and_check, check_xtensa_info): New. (elf_xtensa_after_open): Iterate over input statements instead of link_info.input_bfds. (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for each input, and write a new .xtensa.info section in the output.
* * xtensa-isa.h (STATIC_LIBISA): Delete.Bob Wilson2006-11-272-6/+7
|
* * fhandler.cc (fhandler_base::open): Fix handling of files withCorinna Vinschen2006-11-272-0/+12
| | | | HIDDEN attribute set.
* * include/cygwin/signal.h: Add __extension__ to various anonymous unions andChristopher Faylor2006-11-272-5/+10
| | | | structs. (thanks to V.Haisman)
* 2006-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-11-272-1/+6
| | | | | * mips/crt0.S: Fix preprocessor statements from previous patch to be ANSI.
* Initial release of the Cygwin LSA authentication package.Corinna Vinschen2006-11-2711-0/+5087
| | | | | | | | | | | | | | * ChangeLog: New file. * Makefile.in: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Ditto. Generated from configure.in. * cyglsa-config: Ditto. * cyglsa.c: Ditto. * cyglsa.din: Ditto. * cyglsa64.dll: Ditto. * make-64bit-version-with-visual-c.bat: Ditto. * mslsa.def: Ditto.
* * Makefile.in: Add dependencies for lsaauth.Corinna Vinschen2006-11-274-9/+22
| | | | | * configure.in: Disable building subauth. Add building lsaauth. * configure: Regenerate.
* * cyglsa.h: New header file.Corinna Vinschen2006-11-2710-185/+686
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * environ.cc: Disable subauth settings. * grp.cc: Accomodate cygsidlist's count now being a method. * sec_helper.cc (SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Remove. (mandatory_medium_integrity_sid): Remove. (mandatory_high_integrity_sid): Remove. (mandatory_system_integrity_sid): Remove. (fake_logon_sid): Add. (cygsid::get_sid): Add well_known parameter. Set well_known_sid accordingly. (cygsid::getfromstr): Ditto. (cygsidlist::alloc_sids): Move here from security.cc. (cygsidlist::free_sids): Ditto. (cygsidlist::add): Move here from security.h. Add well_known parameter. Set well_known_sid accordingly. Don't allow duplicate SIDs. * security.cc: Include cyglsa.h and cygwin/version.h. Throughout accomodate cygsidlist's count now being a method. Throughout drop redundant "contains" tests. (get_user_local_groups): Add local groups as well known SIDs. (get_token_group_sidlist): Add well known groups as well known SIDs. (get_server_groups): Ditto. Only call get_unix_group_sidlist after get_user_local_groups to maintain "well_known_sid" attribute. (get_initgroups_sidlist): Add well known groups as well known SIDs. (get_setgroups_sidlist): Add usersid and struct passwd parameter to allow calling get_server_groups from here. (get_system_priv_list): Make static. Return size of TOKEN_PRIVILEGES structure. (get_priv_list): Ditto. (create_token): Accomodate above changes. Drop misguided attempt to add MIC SIDs to created user token. Print returned token as hex value. (subauth): Disable. (lsaauth): New function implementing client side of LSA authentication. * security.h (class cygsid): Add well_known_sid attribute. Accomodate throughout. Add *= operator to create a well known SID. (class cygsidlist): Rename count to cnt. Make count a method. (cygsidlist::add): Move to sec_helper.cc. (cygsidlist::operator *=): New method to add well known SID. (cygsidlist::non_well_known_count): New method returning number of non well known SIDs in list. (cygsidlist::next_non_well_known_sid): New method returning next non well known SID by index. (mandatory_medium_integrity_sid): Drop declaration. (mandatory_high_integrity_sid): Drop declaration. (mandatory_system_integrity_sid): Drop declaration. (fake_logon_sid): Add declaration. (subauth): Disable declaration. (lsaauth): Add declaration. * syscalls.cc (seteuid32): Disable subauthentication. Add LSA authentication. * wincap.h: Define needs_logon_sid_in_sid_list throughout. * wincap.cc: Ditto.
* configure.in: Update to autoconf 2.5x syntax; fix macro argument quoting;Keith Marshall2006-11-255-699/+90
| | | | remove invalid use of AC_ALLOCA; remove redundant use of AC_SUBST.
* 2006-11-24 Thiemo Seufer <ths@mips.com>Jeff Johnston2006-11-242-4/+20
| | | | | | | Nigel Stephens <nigel@mips.com> * mips/crt0.S (_start): Use all available float registers. Don't touch SR_PE on post-mips2 CPUs, it means soft reset there.
* * security.h (DBGSID): Define for debugging purposes.Corinna Vinschen2006-11-233-36/+50
| | | | | (MKSID): Rename from SID so as to not hide SID definition from winnt.h. * sec_helper.cc: Change SID to MKSID throughout.
* * net.cc (get_ipv6_funcs): Fix formatting.Corinna Vinschen2006-11-232-3/+7
|
* * path.cc (fs_info::update): Define GETVOLINFO_VALID_MASK and TEST_GVI.Corinna Vinschen2006-11-233-11/+41
| | | | | | | | Change FS_IS_SAMBA and FS_IS_SAMBA_WITH_QUOTA and their usage accordingly. Define FS_IS_NETAPP_DATAONTAP. Recognize NetApp device and store in is_netapp flag. Mark NetApp device as having no good inodes. * path.h (struct fs_info): Add is_netapp flag. Add matching accessors.
* * fhandler_console.cc (set_color): Avoid (again) inappropriateCorinna Vinschen2006-11-232-1/+15
| | | | | | intensity interchanging that used to render reverse output unreadable when (non-reversed) text is bright. See http://sourceware.org/bugzilla/show_bug.cgi?id=514
* * devices.h: Add additional SCSI disk block device numbers perCorinna Vinschen2006-11-235-2220/+30110
| | | | | | | | | | http://www.kernel.org/pub/linux/docs/device-list/devices.txt up to 128 devices. * devices.in: Ditto. (device::parsedisk): Add additonal else-if cases for decoding base and drive indices. * devices.cc: Regenerate. * dtable.cc (build_fh_pc): Add additional DEV_SD{2..7}_MAJOR cases.
* 2006-11-22 Luca Barbato <lu_zero@gentoo.org>Jeff Johnston2006-11-222-1/+5
| | | | * spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
* 2006-11-22 Luca Barbato <lu_zero@gentoo.org>Jeff Johnston2006-11-2210-30/+41
| | | | | | | | | | | | * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast. * libc/machine/spu/memmove.c: Use spu_splats, explicit cast. * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast. * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast. * libc/machine/spu/strncat.c: Explicit cast. * libc/machine/spu/strncmp.c: Use spu_splats. * libc/machine/spu/strncpy.c: Explicit cast. * libc/machine/spu/strrchr.c: Use spu_splats. * libc/machine/spu/strspn.c: Use spu_splats.
* * Makefile.in: Add aclocal.m4 to source release.Danny Smith2006-11-212-1/+5
|
* * Makefile.in: Add aclocal.m4:to source release.Danny Smith2006-11-214-5/+11
| | | | | * mingwex/Makefile.in: Ditto. * profile/Makefile.in: Ditto.
* 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2006-11-183-3/+8
| | | | | * include/w32api.h: Increment version to 3.8. * Makefile.in: Ditto.
* 2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-11-183-3/+8
| | | | | * Include/_mingw.h: Increment version to 3.11. * Makefile.in: Ditto.
* 2006-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-11-172-3/+7
| | | | * mn10300/Makefile.in: Add spaces after do in "for" loop.
* 2006-11-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-11-173-17/+26
| | | | | | | | | * Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence. (unstage): Test for stage_last presence. PR bootstrap/29802 * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX. * Makefile.in: Regenerate.
* 2006-11-15 Till Straumann <strauman@slac.stanford.edu>Jeff Johnston2006-11-152-0/+5
| | | | * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
* * Makefile.tpl (clean-stage*): Sync with GCC (clean).DJ Delorie2006-11-145-367/+571
| | | | | | * Makefile.in: Sync with GCC. * configure.in: Sync with GCC (mpfr, gmp). * configure: Sync with GCC.
* 2006-11-14 Eric Blake <ebb9@byu.net>Jeff Johnston2006-11-142-4/+15
| | | | | * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag. (chclass): ' is a flag. j, t, and z are modifiers.
* * peXXigen.c: Updates for PE/COFF V8.0, and clarificationNick Clifton2006-11-143-0/+26
| | | | | | | | | | | | (dir_names): Added CLR Runtime Header to dir_names[]. (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX subsystem names (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out) (pe_print_idata, pe_print_edata) (_bfd_XX_bfd_copy_private_bfd_data_common) (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into DataDirectory. * pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and IMAGE_SUBSYSTEM_XBOX. * internal.h: Added defines for PE directory entry types. NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in pe.h
* * tls.m4 (GCC_CHECK_TLS): Fall back to a link test.Daniel Jacobowitz2006-11-142-1/+6
|
* Merge ChangeLog and multi.m4 from GCC repository.Geoffrey Keating2006-11-142-11/+79
|
* 2006-11-13 Daniel Schlyder <thrug@users.sourceforge.net>Danny Smith2006-11-133-0/+13
| | | | | | | * include/winnt.h (VER_SUITE_EMBEDDEDNT, VER_SUITE_SINGLEUSERTS, VER_SUITE_STORAGE_SERVER, VER_SUITE_COMPUTE_SERVER): Define. * include/winuser.h (SM_STARTER, SM_SERVERR2): Define.
* 2006-11-08 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2006-11-091-0/+6
| | | | | | * configure.in: Remove target-libgloss from noconfigdirs for bfin-*-*. * configure: Regenerated.
* Change Jie Zhang's e-mail address to work address.Jeff Johnston2006-11-091-1/+1
|
* Change Jie Zhang's e-mail address to work e-mail.Jeff Johnston2006-11-091-1/+1
|
* * autoload.cc (EqualPrefixSid): Define.Corinna Vinschen2006-11-093-13/+48
| | | | | | | * security.cc (create_token): Drop grps_buf. Use alloca instead. Only add the MIC SID to the TOKEN_GROUPS list for the NtCreateToken call. If the subauthentication token exists, use its MIC SID. Set SID Attributes for the MIC SID to 0.
* [ mingw-Bugs-1590623 ]Danny Smith2006-11-082-6/+17
| | | | | * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute in C99 mode.
* 2006-11-08 Jie Zhang <jzhang918@gmail.com>Jeff Johnston2006-11-082-2/+2
| | | | | | * configure.in: Remove target-libgloss from noconfigdirs for bfin-*-*. * configure: Regenerated.
* gas/H.J. Lu2006-11-082-22/+26
| | | | | | | | | | | | | | 2006-11-08 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (CpuPNI): Removed. (CpuUnknownFlags): Replace CpuPNI with CpuSSE3. * config/tc-i386.c (md_assemble): Likewise. include/opcode/ 2006-11-08 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
* 2006-11-08 Jie Zhang <jzhang918@gmail.com>Jeff Johnston2006-11-0810-0/+4002
| | | | | | | | | | | | | | * bfin/configure.in: New. * bfin/crt0.S: New. * bfin/Makefile.in: New. * bfin/syscalls.c: New. * bfin/aclocal.m4: Generate. * bfin/configure: Ditto. * configure.in: Add support for bfin-*-*. * configure: Regenerate. * syscall.h (SYS_argc): Define. (SYS_argnlen): Define. (SYS_argn): Define.
* 2006-11-08 Jie Zhang <jzhang918@gmail.com>Jeff Johnston2006-11-0813-1/+5654
| | | | | | | | | | | | | | | * configure.host: Add support for bfin. * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin. * libc/include/machine/setjmp.h: Define _JBLEN for bfin. * libc/machine/bfin/aclocal.m4: Generate. * libc/machine/bfin/configure.in: New. * libc/machine/bfin/configure: Generate. * libc/machine/bfin/Makefile.am: New. * libc/machine/bfin/Makefile.in: Generate. * libc/machine/bfin/setjmp.S: New. * libc/machine/bfin/longjmp.S: New. * libc/machine/configure.in: Add bfin support. * libc/machine/configure: Generate.
* * sec_helper.cc (sid_auth): Remove.Corinna Vinschen2006-11-086-14/+76
| | | | | | | | | | | | | | | | | | | | | | | (well_known_this_org_sid): New well known sid. (SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Define. (mandatory_medium_integrity_sid): New well known sid. (mandatory_high_integrity_sid): Ditto. (mandatory_system_integrity_sid): Ditto. (cygsid::get_sid): Use local SID_IDENTIFIER_AUTHORITY. Allow all authorities fitting in a UCHAR. * security.cc (get_token_group_sidlist): Always add the local group to the token. Add comment. Add "This Organization" group if available in incoming group list. (get_server_groups): Only add world and authenticated users groups if not already in list. (create_token): Add matching mandatory integrity SID to group list on systems supporting Mandatory Integrity Control. * security.h (well_known_this_org_sid): Define. (mandatory_medium_integrity_sid): Define. (mandatory_high_integrity_sid): Define. (mandatory_system_integrity_sid): Define. * wincap.h: Define has_mandatory_integrity_control throughout. * wincap.cc: Ditto.
* * fhandler.cc (check_posix_perm): Moved here from syscalls.cc.Corinna Vinschen2006-11-079-164/+324
| | | | | | | | | | | | | | | | (fhandler_base::fpathconf): New method implementing (f)pathconf. * fhandler.h (class fhandler_base): Declare fpathconf method. * path.cc (path_conv::check): Replace MAX_LINK_DEPTH with SYMLOOP_MAX. * path.h (MAX_LINK_DEPTH): Delete. * syscalls.cc (check_posix_perm): Move to fhandler.cc. (fpathconf): Call fhandler's fpathconf method. (pathconf): Build fhandler and call fhandler's fpathconf method. * sysconf.cc (sysconf): Reorder switch according to order of flags in sys/unistd.h. Add handling for some missing flags. * include/limits.h: Reorder according to SUSv3 description. Add some missing definitions. Add comments. * include/sys/syslimits.h: New file overriding newlib's syslimits.h file.
* * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.Corinna Vinschen2006-11-072-1/+13
| | | | | | (_PC_FILESIZEBITS): Add definition. (_PC_2_SYMLINKS): Ditto. (_PC_SYMLINK_MAX): Ditto.
* * dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks toCorinna Vinschen2006-11-062-1/+7
| | | | Joe Loh for noticing).
* * path.cc (symlink_info::posixify): Fix comment.Corinna Vinschen2006-11-022-2/+6
|