aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-07-25 * include/wtypes.h (LPDECIMAL): Define.Danny Smith2-6/+12
(DECIMAL_NEG, DECIMAL_SETZERO): Move definitions.
2007-07-25 * autoload.cc (NetWkstaUserGetInfo): Remove.Corinna Vinschen2-5/+8
(CharToOemBuffA): Remove. (KillTimer): Remove. (OemToCharBuffA): Remove. (SetTimer): Remove.
2007-07-25 * ternary.h: Remove.Ben Elliston2-51/+4
2007-07-24 Add missing ChangeLog entry.Corinna Vinschen1-0/+1
2007-07-24 * dumper.cc: Change license to plain GPLv2 + later.Corinna Vinschen5-10/+386
* dumper.h: Ditto. * parse_pe.cc: Ditto.
2007-07-23* Makefile.in (SUBDIRS): Delete stray line continuation artifact,Keith Marshall2-2/+10
resulting from incomplete removal of enclosing `for ...; do ...; done' loop from compound command; (reported by Greg Chicares).
2007-07-23* strace.cc (create_child): Don't convert a path from cygwin format unless itChristopher Faylor2-1/+7
has a slash.
2007-07-21 * bsd_helper.cc: Drop unnecessary security.h include.Corinna Vinschen2-1/+4
2007-07-20 Fix ChangeLogCorinna Vinschen1-2/+0
2007-07-20 * fhandler.cc (fhandler_base::fhaccess): Accommodate interface changesCorinna Vinschen10-1381/+1287
of access control functions throughout. * fhandler_disk_file.cc: Ditto. * fhandler_registry.cc: Ditto. * sec_acl.cc: Drop unnecessary includes. (setacl): Take path_conv instead of file name as parameter. Accommodate interface changes of access control functions. (getacl): Ditto. * sec_auth.cc: New file, taking over all authentication related functions from security.cc. * sec_helper.cc: Drop unnecessary includes. * security.cc: Ditto. Move all authentication related functions to sec_auth.cc. (ALL_SECURITY_INFORMATION): New define. Use throughout. (set_file_sd): New function, replacing read_sd and the file related part of get_nt_object_security. (get_reg_sd): Rename from get_reg_security. Drop type parameter. (get_reg_attribute): New function, replacing the registry related part of get_nt_object_security. (get_file_attribute): Take path_conv instead of file name as parameter. Use new get_file_sd call. (set_file_attribute): Ditto plus new set_file_sd. Drop unnecessary implementation without uid/gid parameters. (check_file_access): Take path_conv instead of file name as parameter. Use new get_file_sd call. (check_registry_access): Use new get_reg_sd call. * security.h: Accommodate above interface changes.
2007-07-19 * security.cc (set_nt_attribute): Remove.Corinna Vinschen2-21/+16
(set_file_attribute): Do it yourself instead of calling set_nt_attribute.
2007-07-19 * fhandler_disk_file.cc (fhandler_base::fstat_by_name): UseCorinna Vinschen3-29/+43
NtQueryFullAttributesFile instead of FindFirstFile. (fhandler_base::fstat_fs): Drop check for exec_state. Drop check for invalid characters. * ntdll.h (struct _FILE_NETWORK_OPEN_INFORMATION): Define. (NtQueryFullAttributesFile): Declare.
2007-07-19 * fhandler.cc (fhandler_base::open): Drop local wpath and upathCorinna Vinschen6-24/+74
variables. Call pc.get_object_attr to create object attributes. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto. * syscalls.cc (unlink_nt): Ditto. * path.cc (path_conv::set_normalized_path): Set wide_path to NULL. (path_conv::get_nt_native_path): Drop parameter. Create path in wide_path/uni_path members. (path_conv::get_object_attr): New method to create object attributes. (path_conv::get_wide_win32_path): New method to create Win32 wide path. (path_conv::check): Initialize wide_path to NULL. (path_conv::~path_conv): cfree wide_path. * path.h (class path_conv): New members wide_path and uni_path. Add declarations of get_object_attr and get_wide_win32_path. (path_conv::path_conv): Initialize wide_path to NULL. (path_conv::get_nt_native_path): Drop parameter.
2007-07-19 * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define forDanny Smith2-1/+12
Vista.
2007-07-19 * sec_helper.cc: Remove unused code.Corinna Vinschen2-71/+4
2007-07-19 * autoload.cc (SetSecurityDescriptorControl): Drop.Corinna Vinschen5-22/+25
* security.cc (alloc_sd): Set security descriptor control flag without calling SetSecurityDescriptorControl function. * wincap.h (wincapc::has_dacl_protect): Rename from has_security_descriptor_control. * wincap.cc: Ditto throughout.
2007-07-19 * autoload.cc (SetUserObjectSecurity): Drop.Corinna Vinschen5-7/+24
* pinfo.cc (pinfo::set_acl): Use NtSetSecurityObject instead of SetKernelObjectSecurity. * spawn.cc (spawn_guts): Use NtSetSecurityObject instead of SetUserObjectSecurity. * uinfo.cc (cygheap_user::init): Ditto.
2007-07-19 * cygheap.h (init_cygheap::luid): Remove.Corinna Vinschen9-170/+302
* mmap.cc (mlock): Accommodate parameter change in call to push_thread_privilege. (munlock): Ditto. * ntdll.h (STATUS_NOT_ALL_ASSIGNED): Define. (NtAdjustPrivilegesToken): Declare. * sec_helper.cc (cygpriv): Reorder to match numerical privilege order. (privilege_luid): Take job of privilege_luid_by_name, using new cygpriv. (privilege_luid_by_name): Remove. (privilege_name): Accommodate new cygpriv array. (set_privilege): Call NtAdjustPrivilegesToken to avoid using advapi32. Accommodate changes to privilege_name. (set_cygwin_privileges): Simplify. Don't try to set SE_CREATE_GLOBAL_PRIVILEGE on systems not supporting it. * security.cc (sys_privs): Reorder to match numerical privilege order. Use real privilege values as defined in security.h. (get_system_priv_list): Drop unused grp_list argument. Create list of privileges according to new wincapc::max_sys_priv value. (get_priv_list): Call privilege_luid instead of privilege_luid_by_name. Make priv a local value instead of a pointer. (create_token): Accommodate parameter change in call to push_self_privilege. (lsaauth): Ditto. (check_access): Use privilege values directly instead of calling privilege_luid. * security.h: Define real privilege values. (cygpriv_idx): Remove. (privilege_luid): Change declaration. (privilege_luid_by_name): Drop declaration. (set_privilege): Change declaration. (set_process_privilege): Drop definition. (_push_thread_privilege): Accomodate new set_privilege parameters. * wincap.h (wincapc::max_sys_priv): New element. * wincap.cc: Implement above element throughout. (wincap_2000sp4): New wincaps structure. (wincap_xpsp1): Ditto. (wincap_xpsp2): Ditto. (wincapc::init): Use new wincaps. (wincapc::max_sys_priv): New element.
2007-07-19 * dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, afterCorinna Vinschen3-2/+8
initializing hProcToken. * sec_helper.cc (init_global_security): Don't call set_cygwin_privileges here.
2007-07-19Fix 'make info'.Eric Blake9-20/+39
* libc/stdio/stdio.tex: Add missing include. * libc/stdio/vfprintf.c: Use expected node name. * libc/stdio/vfscanf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/siscanf.c: Likewise. * libc/stdio/siprintf.c: Likewise. * libc/stdio/fopencookie.c: Quote raw {}. Reported by DJ Delorie.
2007-07-18 * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.Bob Wilson2-1/+15
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
2007-07-18Fix date type for 1.15 release.Jeff Johnston1-1/+1
2007-07-18 * faq-using.xml (faq.using.console-window): Mention FHS location ofBrian Dessent2-5/+7
docs and remove outdated reference to ash.
2007-07-18 * include/winnt.h (SE_TRUSTED_CREDMAN_ACCESS_NAME): Define.Corinna Vinschen2-0/+5
2007-07-18 * cygheap.h (shared_prefix): De-const.Corinna Vinschen3-2/+13
(shared_prefix_buf): Add static buffer for shared prefix to avoid additional allocation. * cygheap.cc (cygheap_init): Set cygheap->shared_prefix to cygheap->shared_prefix_buf and strcpy.
2007-07-17 * fhandler.cc (fhandler_base::fhaccess): Add check for R/O file system.Corinna Vinschen3-1/+16
* security.cc (check_registry_access): Set errno to EROFS when checking for W_OK.
2007-07-17 * include/winnt.h (FILE_READ_ONLY_VOLUME): Define.Corinna Vinschen3-0/+7
* include/ddk/ntifs.h (FILE_READ_ONLY_VOLUME): Define.
2007-07-17* COPYING3: New file. Contains version 3 of the GNU General Public License.Nick Clifton5-0/+1525
* COPYING3.LIB: New file. Contains version 3 of the GNU Lesser General Public License.
2007-07-17 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move settingCorinna Vinschen2-3/+8
cfd->nohandle where it won't crash.
2007-07-16 * cygheap.h (cygheap_user::curr_imp_token): Rename from current_token.Corinna Vinschen7-16/+28
Accommodate changge throughout Cygwin. (cygheap_user::imp_token): Rename from token. Accommodate changge throughout Cygwin. (rcygheap_user::eimpersonate): Use primary token for impersonation. * grp.cc (internal_getgroups): Use primary impersonation token when impersonated. * security.h (_push_thread_privilege): Use primary impersonation token when impersonated.
2007-07-14* init.cc (in_dllentry): Delete.Christopher Faylor5-7/+10
(dll_entry): Remove assignment to deleted variable. * winsup.h (in_dllentry): Delete declaration. * exceptions.cc (inside_kernel): Use another method to see if we are in dll_entry phase.
2007-07-14* init.cc (in_dllentry): Make NO_COPY to avoid spurious false positives.Christopher Faylor2-1/+6
2007-07-13Fix fflush issues.Eric Blake17-67/+152
* libc/stdio/fflush.c (_fflush_r): New function. (fflush): Fix reentrancy and large offset behavior. * libc/include/stdio.h (_fflush_r): Add prototype. * libc/stdio/fclose.c (_fclose_r): All fflush callers changed. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/fseek.c (_fseek_r): Likewise. * libc/stdio/ftell.c (_ftell_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/setvbuf.c (setvbuf): Likewise. * libc/stdio/ungetc.c (_ungetc_r): Likewise. * libc/stdio/vfprintf.c (__sbprintf): Likewise. * libc/stdio/wbuf.c (__swbuf_r): Likewise. * libc/stdio64/freopen64.c (_freopen64_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to 32-bit version if not large file. * libc/stdio64/ftello64.c (_ftello64_r): Likewise. * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2007-07-13merge from gccDJ Delorie1-17/+17
2007-07-13 * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ldKevin Buettner5-4/+9
(.gcc_except_table): Add pattern for .gcc_except_table.*.
2007-07-13Documentation updates.Eric Blake5-49/+111
* libc/stdio/ungetc.c: Document ungetc. * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list of files with documentation. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/stdio.tex: Sort and update stdio documentation index.
2007-07-12 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust typesHans-Peter Nilsson2-4/+7
work-a-round whitespace problem in gcc gengtype.
2007-07-12 * configure.ac: Fix my previous change to really match GCC.Bernd Schmidt3-2/+7
* configure: Regenerate.
2007-07-122007-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2-0/+7
* include/winuser.h (FE_FONTSMOOTHINGSTANDARD, FE_FONTSMOOTHINGCLEARTYPE): Define.
2007-07-12Changelog typoDanny Smith1-2/+3
2007-07-12 * incude/wchar.h (_wsystem) Declare.Danny Smith4-13/+39
(_wputenv) Declare. (_wgetenv): Declare. (_wsearchenv): Declare. (_wmakepath): Declare. (_wsplitpath): Declare. (_wfullpath): Declare. * incude/stdlib.h (_wsystem) Declare. (_wputenv, _wgetenv, _wsearchenv, _wmakepath, _wsplitpath, _wfullpath): Move into _WSTDLIB_DEFINED guard. * include/tchar.h (_tsystem): New UNICODE mapping define.
2007-07-12 * include/winuser.h: (PBT_APMQUERYSUSPEND, PBT_APMQUERYSTANDBY,Danny Smith3-16/+36
PBT_APMQUERYSUSPENDFAILED, PBT_APMQUERYSTANDBYFAILED, PBT_APMSUSPEND, PBT_APMSTANDBY, PBT_APMRESUMECRITICAL, PBT_APMRESUMESUSPEND, PBT_APMRESUMESTANDBY, PBT_APMBATTERYLOW, PBT_APMPOWERSTATUSCHANGE, PBT_APMOEMEVENT, PBT_APMRESUMEAUTOMATIC): Sync with include/pbt.h.
2007-07-12Add support for building on a 64-bit Windows host.Nick Clifton4-21/+40
2007-07-12 [mingw-Bugs-1751518]Danny Smith4-34/+19
* include/mshtml.h (IHTMLDocument2): Correct spelling of put_URL, get_URL. [mingw-Bugs-1751565] * include/basetyps.h (IID); Guard with __IID_DEFINED__ [mingw-Bugs-1751595] * include/exdisp.h (DWebBrowserEvents2): Remove undocumented STDDISP methods.
2007-07-11Merge from gcc:DJ Delorie3-56/+66
2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Rewrite 'configure --help' strings to look nicer. * configure: Regenerate. 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Add some missing m4 quotation. * configure: Regenerate.
2007-07-112007-07-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-1/+24
* tls.m4 (GCC_CHECK_CC_TLS): New. 2007-07-05 Sebastian Pop <sebpop@gmail.com> PR bootstrap/32622 * mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer, don't reset its value.
2007-07-112007-07-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-45/+50
* libc/include/math.h: Fix so C99 functions/macros are accessible when -std=c99 is used when compiling and not when using C89.
2007-07-10 [mingw-Bugs-1750898]Danny Smith2-1/+7
* include/mmsystem.h (MIXERCONTROL): Correct UNICODE mapping. Thanks to Yuji Kuwabara <yujikuwabara at sf dot net>
2007-07-10* debug.cc (close_handle): Change debug output format slightly.Christopher Faylor5-11/+22
* dlfcn.cc (dlclose): Don't close handle returned from GetModuleHandle(NULL). * fhandler.h (fhandler_pipe::create): Remove obsolete argument. (fhandler_pipe::create): Ditto. * fhandler.cc (fhandler_pipe::create): Ditto. (fhandler_pipe::create): Ditto.
2007-07-10* strace.cc (usage): Add missing description for -q.Christopher Faylor2-1/+6