Commit Graph

1381 Commits

Author SHA1 Message Date
Alexandre Julliard
69089152d1 ntdll: Better handling of errors when loading a builtin dll from an
existing file.
2006-02-09 12:15:57 +01:00
Gerald Pfeifer
ba9ec9e233 ntdll: Take into account that FreeBSD and others have MTSETBSIZ
instead of MTSETBLK.
2006-02-09 12:08:32 +01:00
Alexandre Julliard
9669ff8de4 ntdll: Get rid of the main_file argument in LdrInitializeThunk. 2006-02-08 15:22:24 +01:00
Alexandre Julliard
1d23e7fee2 ntdll: Check for existing modref for the main exe before creating it
in LdrInitializeThunk.
2006-02-08 15:10:56 +01:00
Francois Gouget
6fcc7b5bb0 ntdll: Fix typo in HAVE_STRUCT_MTGET_MT_GSTAT ifdef. 2006-02-07 21:18:19 +01:00
Francois Gouget
f8ed165609 ntdll: Protect sys/stat.h inclusion. 2006-02-07 21:17:45 +01:00
Alexandre Julliard
a458f3e538 ntdll: Support loading a builtin dll by specifying an explicit path to
the .so file.
2006-02-07 21:16:25 +01:00
Sergei Butakov
4f53d5a5b3 ntdll: Added Urals time. 2006-02-07 16:51:51 +01:00
Mike McCormack
0790f95589 kernel32: ReadDirectoryChangesW fixes.
ReadDirectoryChangesW remembers whether it's recording changes or not.
Don't initialize overlapped->InternalHigh.
The hEvent is cleared when ReadDirectoryChanges is called.
2006-02-07 16:50:36 +01:00
Robert Millan
55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Gerald Pfeifer
571d9fb0f0 ntdll: Use struct mtget.mt_blkno on those systems providing that (and
avoid using struct mtpos which may not be present on such systems).
2006-02-06 20:59:44 +01:00
Eric Pouech
e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Mike McCormack
bad5f92f54 ntdll: Add some more tests for NtNotifyChangeDirectoryFile. 2006-02-06 11:59:01 +01:00
Mike McCormack
0193211946 server: Fill in NtNotifyChangeDirectoryFile's buffer with change data. 2006-02-06 11:58:55 +01:00
Eric Pouech
3c2abaf45e ntdll: Implemented IOCTL for char transmission: IMMEDIATE_CHAR. 2006-02-06 11:38:53 +01:00
Eric Pouech
5973955e4e ntdll: Implemented COMM IOCTL for modem status: GET_MODEMSTATUS. 2006-02-06 11:37:39 +01:00
Eric Pouech
58e719ce93 ntdll: Implemented IOCTL for serial: SET_WAIT_MASK, GET_WAIT_MASK. 2006-02-06 11:37:06 +01:00
Eric Pouech
b83c5ead16 ntdll: Implemented IOCTL purge for serial objects. 2006-02-06 11:36:19 +01:00
Eric Pouech
dccd41a88a kernel: Fixed regression in atom handling.
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Gerald Pfeifer
36bdc64e39 ntdll: Use struct mtget.mt_blksiz on systems featuring this.
Work around using struct mtget.mt_gstat on systems lacking this.
2006-02-05 13:51:03 +01:00
Robert Millan
8800352477 Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Alexandre Julliard
2bddb3047b ntdll: Added a few helper function to simplify the loadorder code.
Keep the application key open, it's valid for the lifetime of the
process.
2006-02-04 17:06:41 +01:00
Robert Millan
62af0706ff ntdll: Rename i386 CPU trap codes to avoid collision with system headers. 2006-02-03 12:30:55 +01:00
Johan Dahlin
e21aff0766 ntdll: RtlIpv4AddressToStringExW/RtlIpv4StringToAddressExW stubs. 2006-02-02 13:21:26 +01:00
Gerald Pfeifer
c0ca7172a2 ntdll: tape.c portability fixes.
Accept MTCOMP as an alias for MTCOMPRESSION on those systems, having
the former, but not the latter.
Only enable operations supported by the host OS in
TAPE_CreatePartition() and TAPE_Prepare().
2006-01-31 13:02:10 +01:00
Michael Stefaniuc
b94ceeeb7c kernel: Remove bogus breaks in tape.c 2006-01-30 14:55:47 +01:00
Eric Pouech
e0cffe355f Fix a couple of bugs spotted by valgrind. 2006-01-27 16:18:05 +01:00
Eric Pouech
2e0b5336f6 Suppress some false-positives reported by valgrind. 2006-01-27 16:17:51 +01:00
Alexandre Julliard
8b0feb253b server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Mike McCormack
08351071fd server: Fix the file notification interface to use directory handles. 2006-01-27 12:13:56 +01:00
Hans Leidekker
0844b702b4 ntdll: Add implementation of tape IOCTLs. 2006-01-26 13:23:08 +01:00
Dmitry Timoshkov
57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Alexandre Julliard
2a192064e8 ntdll: memcpy should behave like memmove in ntdll too. 2006-01-24 12:28:34 +01:00
Alexandre Julliard
a1544e0d20 ntdll: Mark all libc-style functions as private to make sure we link
to the real libc functions instead.
2006-01-24 12:24:35 +01:00
Mike McCormack
2735fc58b9 ntdll: Forward ZwNotifyChangeDirectoryFile to NtNotifyChangeDirectoryFile. 2006-01-23 16:39:49 +01:00
H. Verbeet
c1f52e0013 ntdll: Add a stubbed NtSetSystemInformation. 2006-01-20 19:41:04 +01:00
Alexandre Julliard
4ce433d826 ntdll: Move the %gs register to the ntdll_thread_regs structure. 2006-01-20 16:54:11 +01:00
Alexandre Julliard
a19e3eeb20 ntdll: Move the TEB register to the ntdll_thread_regs structure. 2006-01-20 16:18:06 +01:00
Alexandre Julliard
4202824e9e ntdll: Cleaned up the ioctl functions.
Renamed function parameters to something usable.
Fixed potential event leaks.
2006-01-18 17:18:22 +01:00
Robert Shearman
2d08465b81 ntdll: Loader optimization.
Optimize for the case where a DLL with no path is requested and it is
already loaded.
2006-01-18 14:22:19 +01:00
Mike McCormack
2e32a425db ntdll: Add a test for NtNotifyChangeDirectoryFile. 2006-01-17 13:13:29 +01:00
Mike McCormack
9c58884161 ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile. 2006-01-17 13:12:43 +01:00
Mike McCormack
a3348cf4a0 ntdll: Use the NTAPI definition of EXCEPTION_ACCESS_VIOLATION. 2006-01-16 20:40:25 +01:00
Mike McCormack
0c728255a4 ntdll: Add a stub implementation of NtNotifyChangeDirectoryFile. 2006-01-16 20:40:11 +01:00
Alexandre Julliard
2878d99216 ntdll: Add debug registers to the context of all exceptions.
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
Alexandre Julliard
eca9e4449c ntdll: Round PE header size to a page boundary for size checks. 2006-01-13 13:52:07 +01:00
Eric Pouech
2cdace2760 ntdll: Created infrastructure to support IOCTL for serial devices.
- created infrastructure in ntdll to support IOCTL for serial devices
- implemented IOCTLs in ntdll for serial break support
- implemented the kernel32 equivalent on top of those IOCTLs
2006-01-12 13:32:51 +01:00
Vitaliy Margolen
978f470692 ntdll: NtQueryInformationToken change parameters according to PSDK.
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Detlef Riekenberg
1be185f76e ntdll/tests: Skip tests if NtCurrentTeb doesn't exist. 2006-01-12 13:29:49 +01:00
Alexandre Julliard
9eae2d714d ntdll: Round up the mapping size in map_file_into_view when setting
the protection bytes.
2006-01-11 20:59:07 +01:00