| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter.
|
| |
|
|
|
|
|
|
|
| |
parameters to display_error.
(rva_to_offset): Ditto.
(dll_info): Ditto.
(track_down): Ditto.
|
|
|
|
|
|
|
| |
* kill.cc (forcekill): Do not pass negative pids to
cygwin_internal. Check if sig == 0. Improve error messages.
(main): Make pid a long long and distinguish between pids, gpids
(i.e. negative pids) and Win9x pids.
|
| |
|
|
|
|
| |
* include/winuser.h (WM_THEMECHANGED): Add define.
|
|
|
|
|
|
| |
ExFreeToPagedLookasideList): Guard inline versions with
(__USE_NTOSKRNL__) && (_WIN32_WINNT >= 0x0501). Declare as
external functions for earlier _WIN32_WINNT.
|
| |
|
| |
|
| |
|
|
|
|
| |
print_failed.
|
|
|
|
| |
Fix typos in last ChangeLog entry
|
|
|
|
|
| |
if undefined. and __W32API_USE_DLLIMPORT__.
Add WINBASEAPI token to prototypes, throughout.
|
|
|
|
|
| |
(GetFiberData): Likewise.
(NtCurrentTeb): Likewise.
|
|
|
|
|
|
| |
(NIIF_*) Add defines..
Thanks to: Benoit Blanchon <benoit.blanchon@free.fr>
(NIF_*): Convert constants to hex.
|
|
|
|
|
|
|
| |
GetGlyphIndicesW): Declare.
(GGI_MARK_NONEXISTING_GLYPHS): Define
* lib/gdi32.def (GetFontUnicodeRanges,GetGlyphIndicesA,
GetGlyphIndicesW): Add stubs.
|
|
|
|
|
|
| |
(cygwin_info): Ditto.
(track_down): Ditto.
(check_keys): Ditto.
|
|
|
|
| |
identified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* path.cc (mount_info::from_registry): Deimpersonate while
accessing HKLM.
(mount_info::read_cygdrive_info_from_registry): Ditto.
* cygheap.h: Define NO_IMPERSONATION.
(cygheap_user::issetuid): Replace INVALID_HANDLE_VALUE by
NO_IMPERSONATION.
(cygheap_user::has_impersonation_tokens): Ditto.
(cygheap_user::close_impersonation_tokens): Ditto.
* uinfo.cc (uinfo_init): Ditto.
* syscalls.cc (seteuid32): Ditto.
* security.cc (set_impersonation_token): Ditto.
|
|
|
|
| |
dlls.
|
|
|
|
|
|
|
|
| |
should not be used by the child.
* select.cc (start_thread_socket): Turn off inheritance for exitsock. Don't
add exitsock to exception mask since it should never get an exception.
(socket_cleanup): Change some debug messages for consistency.
* fhandler_socket.cc (fhandler_socket::dup): Change comment wording slightly.
|
|
|
|
|
|
| |
* registry.cc (get_registry_hive_path): Simplify and add a
debug_printf in case of failure.
(load_registry_hive): Revert the 2004-04-19 change.
|
| |
|
|
|
|
| |
drive-list.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* include/ddk/ntapi.h (NtQueryFullAttributesFile,
ZwQueryFullAttributesFile): Declare.
* include/ddk/ntapi.h (RtlDosPathNameToNtPathName_U):
Declare.
lib/ntoskrnl.def (ZwQueryDirectoryFile, ZwQueryFullAttributesFile.
ZwQueryVolumeInformationFile): Add stubs.
|
|
|
|
| |
``unk''. Use single puts. Add leading newline. Line up equal-signs.
|
|
|
|
| |
``Used'' to ``Free'' in helptext-title for drive-list.
|
|
|
|
|
| |
or suffer occasional mysterious 60 second hangs.
(socket_cleanup): Empty the exitsock here after the thread has terminated.
|
| |
|
| |
|
|
|
|
| |
gcc 3.4.
|
|
|
|
| |
printf-format.
|
|
|
|
| |
PWSH_GET_WINSOCK_MAPPING): Don't define if __OBJC__.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Danny Smith <dannysmith@users.sourceforge.net>
= include/winbase.h (InitializeSListHead, Interlocked*):
Guard with !__USE_NTOSKRNL__.
* include/ddk/ntddk.h (__USE_NTOSKRNL__): Define.
* include/ddk/winddk.h (InitializeSListHead, Interlocked*):
Guard with __USE_NTOSKRNL__.
(ExInterlockedPopEntrySList, ExInterlockedPushEntrySList):
Add prototypes. Guard macro definition with __USE_NTOSKRNL__
&& _WIN32_WINNT >= 0x0501
(ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList,
ExFreeToNPagedLookasideList, ExFreeToPagedLookasideList):
Replace calts to InterlockedPopEntrySList, InterlockedPushEntrySList
with ExInterlockedPopEntrySList, ExInterlockedPushEntrySList.
* lib/ddk/ntosknl.def (ExInterlockedPopEntrySList,
ExInterlockedPushEntrySList) Add stubs with fastcall decoration.
(ExDesktopObjectType, ExEventObjectType, ExSemaphoreObjectType,
ExWindowStationObjectType, IoAdapterObjectType,
IoDeviceHandlerObjectSize, IoDeviceHandlerObjectType,
IoDeviceObjectType, IoDriverObjectType, IoFileObjectType,
LpcPortObjectType, MmSectionObjectType, SeTokenObjectType):
Uncomment stubs.
|
|
|
|
| |
funny.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* include/ddk/winddk.h (IoReleaseRemoveLockAndWait): Fix
definition
(IoReleaseRemoveLock): Add definition.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(exitsock_sin): Ditto.
* cygtls.cc (_cygtls::init_thread): Initialize exitsock to invalid handle.
(_cygtls::call2): Close exitsock if it is valid.
* select.cc (struct socketinf): Remove sin element.
(start_thread_socket): Initialize one SOCK_DGRAM socket per thread instead of
(apparently) expensive opening and closing of socket with each select call.
(socket_cleanup): Send a byte to the exitsock socket as a way to potentially
signal a waiting-for-socket thread to exit.
* tlsoffsets.h: Regenerate.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong);
Add prototypes.
* include/winddk.h (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Change calling convention to
DDKAPI.
(ExfInterlockedAddUlong,ExInterlockedInsertHeadList,
ExInterlockedInsertTailList, ExInterlockedRemoveHeadList,
ExInterlockedPopEntryList, ExInterlockedPushEntryList):
Add prototypes for DDKFASTAPI versions.
Thanks to Vadim Yegor0v <zg at bmg dot lv> for report.
* lib/ntoskrnl.def (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Remove lead '@' from stubs.
(ExfInterlockedAddUlong,ExfInterlockedInsertHeadList,
ExfInterlockedInsertTailList, ExfInterlockedRemoveHeadList,
ExfInterlockedPopEntryList, ExfInterlockedPushEntryList):
Add fastcall stubs.
(Exi386InterlockedDecrementLong, Exi386InterlockedExchangeUlong,
Exi386InterlockedIncrementLong); Add stdcall stubs.
|