summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Reenable building the subauth subdir.Corinna Vinschen2006-07-253-24/+42
| | | | * configure: Regenerate.
* * Makefile.in (LIBS): Link against msvcrt.dll, too.Corinna Vinschen2006-07-252-1/+5
|
* update copyrightChristopher Faylor2006-07-251-1/+1
|
* * include/aclui.h: Replace __OBJC__ guard with _OBJC_NO_COM.Danny Smith2006-07-2520-192/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/basetyps.h: Likewise. (_COM_interface): New define. (interface): Define to _COM_interface, conditional on !__OBJC__. Replace 'interface' with '_COM_interface', throughout. * include/comcat.h: Replace 'interface' with '_COM_interface', throughout. * include/commdlg.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/docobj.h: Replace 'interface' with '_COM_interface', throughout. * include/mshtml.h: Likewise. * include/oaidl.h: Likewise. * include/objfwd.h: Likewise. * include/objidl.h: Likewise. * include/ocidl.h: Likwise. * include/olectl.h: Likewise. * include/oleidl.h: Likewise. * include/shlobj.h: Likewise. * include/shlwapi.h: Replace __OBJC__ guard with _OBJC_NO_COM. * include/vfw.h: Likewise. * include/windows.h. Likewise. Add comment. * include/directx/d3d9.h: Replace 'interface' with '_COM_interface', throughout. * lib/test.c: Replace __OBJC__ guard with _OBJC_NO_COM. Add test for conflict with '@interface'
* * include/cygwin/version.h: Bump DLL minor version number to 22.Christopher Faylor2006-07-242-1/+5
|
* * Makefile.in: Update copyrigh. Remove unused stuff.Christopher Faylor2006-07-232-16/+6
|
* * Makefile.in: Update copyright. Fix 'check' target so that it will once-againChristopher Faylor2006-07-232-3/+14
| | | | | | create a working testsuite directory. Add a comment this time to explain the unusual behavior. (Previous ChangeLog checkin did not include accompanying Makefile.in)
* 2006-07-22 ipsoner <ipsoner@users.sourceforge.net>Chris Sutcliffe2006-07-223-0/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/wincrypt.h (szOID_RSA, szOID_PKCS, szOID_RSA_HASH, szOID_RSA_ENCRYPT, szOID_PKCS_1, szOID_PKCS_2, szOID_PKCS_3, szOID_PKCS_4, szOID_PKCS_5, szOID_PKCS_6, szOID_PKCS_7, szOID_PKCS_8, szOID_PKCS_9, szOID_PKCS_10, szOID_PKCS_12, szOID_RSA_MD2, szOID_RSA_MD4, szOID_RSA_MD5, szOID_RSA_RSA, szOID_RSA_MD2RSA, szOID_RSA_MD4RSA, szOID_RSA_MD5RSA, szOID_RSA_SHA1RSA, szOID_RSA_SETOAEP_RSA, szOID_RSA_DH, szOID_RSA_data, szOID_RSA_signedData, szOID_RSA_envelopedData, szOID_RSA_signEnvData, szOID_RSA_digestedData, szOID_RSA_hashedData, szOID_RSA_encryptedData, szOID_RSA_emailAddr, szOID_RSA_unstructName, szOID_RSA_contentType, szOID_RSA_messageDigest, szOID_RSA_signingTime, szOID_RSA_counterSign, szOID_RSA_challengePwd, szOID_RSA_unstructAddr, szOID_RSA_extCertAttrs, szOID_RSA_SMIMECapabilities, szOID_RSA_preferSignedData, szOID_RSA_RC2CBC, szOID_RSA_RC4, szOID_RSA_DES_EDE3_CBC, szOID_RSA_RC5_CBCPad, szOID_ANSI_x942, szOID_ANSI_x942_DH, szOID_X957, szOID_X957_DSA, szOID_DATA STRUCTURE, szOID_DS, szOID_DSALG, szOID_DSALG_CRPT, szOID_DSALG_HASH, szOID_DSALG_SIGN, szOID_DSALG_RSA, szOID_OIW, szOID_OIWSEC, szOID_OIWSEC_md4RSA, szOID_OIWSEC_md5RSA, szOID_OIWSEC_md4RSA2, szOID_OIWSEC_desECB, szOID_OIWSEC_desCBC, szOID_OIWSEC_desOFB, szOID_OIWSEC_desCFB, szOID_OIWSEC_desMAC, szOID_OIWSEC_rsaSign, szOID_OIWSEC_dsa, szOID_OIWSEC_shaDSA, szOID_OIWSEC_mdc2RSA, szOID_OIWSEC_shaRSA, szOID_OIWSEC_dhCommMod, szOID_OIWSEC_desEDE, szOID_OIWSEC_sha, szOID_OIWSEC_mdc2, szOID_OIWSEC_dsaComm, szOID_OIWSEC_dsaCommSHA, szOID_OIWSEC_rsaXchg, szOID_OIWSEC_keyHashSeal, szOID_OIWSEC_md2RSASign, szOID_OIWSEC_md5RSASign, szOID_OIWSEC_sha1, szOID_OIWSEC_dsaSHA1, szOID_OIWSEC_dsaCommSHA1, szOID_OIWSEC_sha1RSASign, szOID_OIWDIR, szOID_OIWDIR_CRPT, szOID_OIWDIR_HASH, szOID_OIWDIR_SIGN, szOID_OIWDIR_md2, szOID_OIWDIR_md2RSA, szOID_INFOSEC, szOID_INFOSEC_sdnsSignature, szOID_INFOSEC_mosaicSignature, szOID_INFOSEC_sdnsConfidentiality, szOID_INFOSEC_mosaicConfidentiality, szOID_INFOSEC_sdnsIntegrity, szOID_INFOSEC_mosaicIntegrity, szOID_INFOSEC_sdnsTokenProtection, szOID_INFOSEC_mosaicTokenProtection, szOID_INFOSEC_sdnsKeyManagement, szOID_INFOSEC_mosaicKeyManagement, szOID_INFOSEC_sdnsKMandSig, szOID_INFOSEC_mosaicKMandSig, szOID_INFOSEC_SuiteASignature, szOID_INFOSEC_SuiteAConfidentiality, szOID_INFOSEC_SuiteAIntegrity, szOID_INFOSEC_SuiteATokenProtection, szOID_INFOSEC_SuiteAKeyManagement, szOID_INFOSEC_SuiteAKMandSig, szOID_INFOSEC_mosaicUpdatedSig, szOID_INFOSEC_mosaicKMandUpdSig, szOID_INFOSEC_mosaicUpdatedInteg, szOID_PKIX_NO_SIGNATURE, szOID_COMMON_NAME, szOID_COUNTRY_NAME, szOID_DEVICE_SERIAL_NUMBER, szOID_DOMAIN_COMPONENT, szOID_RSA_emailAddr, szOID_GIVEN_NAME, szOID_INITIALS, szOID_LOCALITY_NAME, szOID_ORGANIZATION_NAME, szOID_ORGANIZATIONAL_UNIT_NAME, szOID_STATE_OR_PROVINCE_NAME, szOID_STREET_ADDRESS, szOID_SUR_NAME, szOID_TITLE, szOID_RSA_unstructAddr, szOID_RSA_unstructName, szOID_BASIC_CONSTRAINTS2, CERT_BASIC_CONSTRAINTS2_INFO, CRYPT_ENCODE_PARA,CertDuplicateStore, CertEnumCertificatesInStore, CertDuplicateCertificateContext, CertGetNameStringA, CertGetNameStringW, CertGetNameString, PFXIsPFXBlob, CertFindExtension, CryptDecodeObject, CertAddCertificateContextToStore, CertCompareCertificate, PFXVerifyPassword, PFXImportCertStore, CertDeleteCertificateFromStore): Define. * lib/crypt32.def (CertDuplicateStore, CertEnumCertificatesInStore, CertDuplicateCertificateContext, CertGetNameStringA, CertGetNameStringW, CertGetNameString, PFXIsPFXBlob, CertFindExtension, CryptDecodeObject, CertAddCertificateContextToStore, CertCompareCertificate, PFXVerifyPassword, PFXImportCertStore, CertDeleteCertificateFromStore): Define.
* 2006-07-20 Elias Naur <elias_naur@users.sourceforge.net>Chris Sutcliffe2006-07-224-2/+136
| | | | | | | | * include/devguid.h: Add new file with missing GUID_DEVCLASS_* declarations. They were extracted from the registry with a script. * lib/devguid.c: Add new file with the implementation of the missing GUIDs. * lib/Makefile.in: Add devguid.c to UUID_SOURCES and UUID_OBJS.
* 2006-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-07-222-145/+4
| | | | * lib/uuid.c: Remove.
* 2006-07-19 Elias Naur <elias_naur@users.sourceforge.net>Danny Smith2006-07-192-0/+40
| | | | | | | * include/winuser.h (WM_INPUT): Add missing Raw Input notification define. (RID_DEVICE_INFO_MOUSE, RID_DEVICE_INFO_KEYBOARD, RID_DEVICE_INFO_HID, RID_DEVICE_INFO): Define Raw Input structs.
* [mingw-Bugs-1525021]Danny Smith2006-07-192-26/+37
| | | | | | | | | * iptypes.h (IP_ADAPTER_ANYCAST_ADDRESS): Fix NONAMELESSUNION warnings. (IP_ADAPTER_MULTICAST_ADDRESS): Likewise. (IP_ADAPTER_UNICAST_ADDRESS): Likewise. (IP_ADAPTER_DNS_SERVER_ADDRESS): Likewise. (IP_ADAPTER_ADAPTER_PREFIX): Likewise. (IP_ADAPTER_ADDRESSES): Likewise.
* * pinfo.cc (commune_process): Don't add extra \0 to cmdline.Corinna Vinschen2006-07-192-8/+7
| | | | (_pinfo::cmdline): Ditto process internal.
* * mmap.cc (msync): Disable rounding up len. Fix bug in access checkCorinna Vinschen2006-07-192-1/+8
| | | | loop.
* * path.cc (symlink_worker): Return EEXIST if newpath exists.Corinna Vinschen2006-07-192-1/+6
|
* * pathnames.sgml: Change text for the order in which executablesCorinna Vinschen2006-07-182-3/+10
| | | | are evaluated.
* * tty.cc (tty_list::terminate): Don't enter the busy loop if we don't own theChristopher Faylor2006-07-182-1/+6
| | | | master.
* * sec_acl.cc (acltotext32): Add missing handling of default ACL entryCorinna Vinschen2006-07-182-1/+6
| | | | types.
* * fhandler_floppy.cc (fhandler_dev_floppy::ioctl): Fix typo in lintCorinna Vinschen2006-07-182-1/+6
| | | | directive.
* * Makefile.in: Simplify a little.Christopher Faylor2006-07-182-10/+6
|
* GCC 4.1 fixes.Christopher Faylor2006-07-1712-30/+58
| | | | | | | | | | | | | | | | | | | * cygheap.h (cygheap_user): Remove unneeded class names from function declaration. * fhandler.h (fhandler_base): Ditto. (fhandler_dev_floppy): Ditto. (fhandler_console): Ditto. * wininfo.h (wininfo): Ditto. * exceptions.cc (sigpacket::process): Avoid compiler errors about gotos and initialization. * fhandler_fifo.cc (fhandler_fifo::open): Ditto. * fhandler_floppy.cc (fhandler_dev_floppy::ioctl): Ditto. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Ditto. * mmap.cc (mmap64): Ditto. * pipe.cc (fhandler_pipe::open): Ditto. * spawn.cc (spawn_guts): Ditto. * sec_helper.cc: Fix some comments. (get_null_sd): Move file-scope static to only function where it is used.
* * fork.cc (fork): Lock the process before forking to prevent things like newChristopher Faylor2006-07-143-1/+12
| | | | | fds from being opened, etc. * sync.h (lock_process::dont_bother): New function.
* * include/cygwin/types.h: Update copyright.Christopher Faylor2006-07-142-1/+5
|
* * cygwin.sc: Make sure there's something in the cygheap.Christopher Faylor2006-07-143-1/+10
| | | | | * dllfixdbg: Accommodate newer binutils which put the gnu_debuglink at the end rather than at the beginning.
* * sigproc.cc (waitq_head): Don't initialize to zero.Christopher Faylor2006-07-143-3/+8
| | | | * sigproc.h: Update copyright, fix whitespace.
* * fhandler.cc (fhandler_base::raw_read): Only return EISDIR when we're reallyChristopher Faylor2006-07-133-5/+12
| | | | | trying to read a directory. * sigproc.cc: Use "Static" where appropriate.
* * fhandler_socket.cc: Update copyright.Corinna Vinschen2006-07-133-2/+7
| | | | * include/pthread.h: Ditto.
* * mmap.cc (mmap64): Drop MAP_NORESERVE flag for non-anonymous,Corinna Vinschen2006-07-132-3/+24
| | | | | | | | non-private mappings. (mmap_record::unmap_pages): Only check noreserve flag which now implies anonymous and private. (mprotect): Ditto. (fixup_mmaps_after_fork): Ditto.
* * exceptions.cc (_cygtls::handle_exceptions): Call newCorinna Vinschen2006-07-134-18/+48
| | | | | | | | | | mmap_is_attached_or_noreserve_page function in case of access violation and allow application to retry access on noreserve pages. * mmap.cc (mmap_is_attached_or_noreserve_page): Changed from mmap_is_attached_page. Handle also noreserve pages now. Change comment accordingly. * winsup.h (mmap_is_attached_or_noreserve_page): Declare instead of mmap_is_attached_page.
* * mmap.cc (mmap_record::alloc_page_map): Don't call VirtualProtectCorinna Vinschen2006-07-122-1/+6
| | | | on maps created with MAP_NORESERVE.
* * include/pthread.h: Define PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT andCorinna Vinschen2006-07-122-3/+10
| | | | PTHREAD_PRIO_PROTECT only if _POSIX_THREAD_PRIO_INHERIT is defined.
* * libc/inet_addr.c: Define __INSIDE_CYGWIN_NET__.Corinna Vinschen2006-07-103-0/+7
| | | | * libc/inet_network.c: Ditto.
* * fhandler_socket.cc (fhandler_socket::wait): Disable SA_RESTARTCorinna Vinschen2006-07-072-0/+9
| | | | handling for now.
* * Makefile.in (DLL_OFILES): Add inet_addr.o and inet_network.o.Corinna Vinschen2006-07-076-52/+378
| | | | | | | | | | | | | * autoload.cc (inet_addr): Drop definition. (inet_ntoa): Ditto. * net.cc: Forward declare cygwin_inet_aton and cygwin_inet_ntop. (cygwin_inet_ntoa): Call cygwin_inet_ntop instead of Winsock inet_ntoa. (cygwin_inet_addr): Remove here. (cygwin_inet_aton): Ditto. (cygwin_inet_network): Ditto. * libc/inet_addr.c: New file implementing cygwin_inet_aton and cygwin_inet_addr. * libc/inet_network.c: New file implementing cygwin_inet_network.
* * hookapi.cc: Add comment headerChristopher Faylor2006-07-064-6/+27
| | | | | | | | | (putmem): Make static. (get_export): Ditto. (rvadelta): Ditto. Don't assume that a section which ends where the import_rva begins is the import list. * child_info.h: Update copyright. * fork.cc: Ditto.
* * include/math.h (__INFF,__INFL): Remove '#'.Danny Smith2006-07-062-3/+7
|
* * sortdin: Ignore all leading underscores when deriving a sort key.Christopher Faylor2006-07-053-64/+69
| | | | * cygwin.din: Resort.
* * sortdin: New program.Christopher Faylor2006-07-053-201/+240
| | | | * cygwin.din: Sort.
* * fhandler.h (fhandler_socket::wait): Reset default timeout to 10ms.Corinna Vinschen2006-07-052-1/+5
|
* * path.cc (path_conv::check): Ignore has_ea setting, it's always unsetCorinna Vinschen2006-07-052-39/+11
| | | | | | | | | at this point anyway. (get_symlink_ea): Remove. (set_symlink_ea): Remove. (symlink_worker): Drop writing symlink into NTFS extended attributes. (symlink_info::check): Drop reading symlinks from NTFS extended attributes.
* * libc/rexec.cc (cygwin_rexec): Obvious (?) fix to correct a gcc warning - setChristopher Faylor2006-07-052-2/+6
| | | | port to zero first thing in the function.
* * signal.cc (signal): Set sa_mask to sig.Christopher Faylor2006-07-042-1/+5
|
* * Makefile.in (DLL_OFILES): Add rexec.o.Corinna Vinschen2006-07-045-64/+430
| | | | | | | | | | * autoload.cc (inet_network): Drop definition. (rexec): Ditto. * net.cc (rexec): Drop extern declaration. (inet_network): Ditto. (cygwin_inet_network): Implement using inet_addr. (cygwin_rexec): Remove. * libc/rexec.cc: New file.
* * fhandler_socket.cc (fhandler_socket::listen): Allow listening onCorinna Vinschen2006-07-042-3/+22
| | | | unbound INET socket.
* * fhandler.h (fhandler_socket::wait): Set default timeout to INFINITE.Corinna Vinschen2006-07-042-1/+5
|
* * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.Danny Smith2006-07-032-2/+6
|
* * autoload.cc (NtQueryEaFile): Define.Corinna Vinschen2006-07-038-302/+199
| | | | | | | | | | | | | | | | | | | | | | | (NtSetEaFile): Define. * fhandler.cc (fhandler_base::open): Use appropriate open flags in query case when allow_ntea is set. * ntdll.h (struct _FILE_GET_EA_INFORMATION): Define. (struct _FILE_FULL_EA_INFORMATION): Define. (NtQueryEaFile): Declare. (NtSetEaFile): Declare. * ntea.cc (read_ea): Rename from NTReadEA and rewrite using NtQueryEaFile. (write_ea): Rename from NTWriteEA and rewrite using NtSetEaFile. * path.cc (get_symlink_ea): Make static. Add handle parameter to accomodate new read_ea call. (set_symlink_ea): Make static. Add handle parameter to accomodate new write_ea call. (symlink_worker): Call set_symlink_ea while file is still open. (symlink_info::check): Call get_symlink_ea after file has been opened. * security.cc (get_file_attribute): Accomodate new read_ea call. (set_file_attribute): Accomodate new write_ea call. * security.h (read_ea): Change declaration accordingly. (write_ea): Ditto.
* * Makefile.in: Build setmetamode.exe.Corinna Vinschen2006-07-033-1/+88
| | | | * setmetamode.c: New file.
* * fhandler.h (class dev_console): Add `metabit' indicating theCorinna Vinschen2006-07-036-3/+106
| | | | | | | | | | | | | current meta key mode. * fhandler_console.cc (fhandler_console::read): Set the top bit of the character if metabit is true. * fhandler_console.cc (fhandler_console::ioctl): Implement KDGKBMETA and KDSKBMETA commands. * fhandler_tty.cc (process_ioctl): Support KDSKBMETA. (fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the master. * include/cygwin/kd.h: New file for the meta key mode. * include/sys/kd.h: New file.
* * include/stdint.h (UINT8_C, UINT16_C): Unsigned types smallerCorinna Vinschen2006-07-032-3/+8
| | | | than int promote to signed int.