Commit graph

59379 commits

Author SHA1 Message Date
Thomas Faber 0e9ce28f2c [FASTFAT]
- Fix incorrect referencing in VfatCreateFile. vfatGetFCBForFile expects a reference on ParentFcb (and may release it), and also returns a referenced parent FCB.
CORE-8756 #resolve

svn path=/trunk/; revision=65276
2014-11-05 23:23:52 +00:00
Kamil Hornicek 46f478ab95 [WIN32K]
- don't create a rect with a zero area in NtGdiExtFloodFill
CORE-8755

svn path=/trunk/; revision=65273
2014-11-05 22:01:08 +00:00
Aleksandar Andrejevic 6eb52f4986 [FAST486]
Make sure the corrected prefetch address contains the block we're trying to read.


svn path=/trunk/; revision=65272
2014-11-05 20:21:32 +00:00
Thomas Faber a66700e316 [FASTFAT]
- Assert that we never reference or dereference an FCB with RefCount 0
CORE-8733

svn path=/trunk/; revision=65270
2014-11-05 19:06:19 +00:00
Thomas Faber b708ab01e9 [FASTFAT]
- VfatCleanupFile: do not dereference the FCB when closing the volume file object. ObDereferenceObject already causes an IRP_MJ_CLOSE request to be sent, which dereferences the FCB.
CORE-8733 #resolve

svn path=/trunk/; revision=65269
2014-11-05 18:52:11 +00:00
Thomas Faber b637c49e6a [REGEDIT]
- Avoid unicode character literal. Fixes weird looking address bar button on MSVC build.

svn path=/trunk/; revision=65266
2014-11-05 16:51:16 +00:00
Thomas Faber 1cfc7939e6 [IPHLPAPI]
- Fix MSVC build

svn path=/trunk/; revision=65265
2014-11-05 16:31:13 +00:00
Hermès Bélusca-Maïto 895a44acc9 [FAST486]
- Fix another typo (addendum to r65263).
- Whitespace fixes.

svn path=/trunk/; revision=65264
2014-11-05 12:45:47 +00:00
Aleksandar Andrejevic 254daee831 [FAST486]
Fix two typos.


svn path=/trunk/; revision=65263
2014-11-05 04:58:40 +00:00
Aleksandar Andrejevic a57f40f992 [FAST486]
Allow direct calls/jumps to TSS selectors in Fast486ProcessGate.


svn path=/trunk/; revision=65262
2014-11-05 00:50:11 +00:00
Aleksandar Andrejevic b452f14184 [FAST486]
Fix the paging exception code.


svn path=/trunk/; revision=65261
2014-11-05 00:27:43 +00:00
Aleksandar Andrejevic b4648ec8fe [FAST486]
- Move the descriptor reading logic into a separate function.
- Implement hardware task switching and task gates.
- Flush the TLB when reloading CR3.


svn path=/trunk/; revision=65260
2014-11-04 22:58:02 +00:00
Thomas Faber ca809b6cdc [NTOS:SE]
- Implement ACL inheritance for SeAssignSecurityEx
CORE-8745 #resolve

svn path=/trunk/; revision=65259
2014-11-04 22:44:50 +00:00
Thomas Faber 418629f6a9 [KMTESTS:SE]
- Add a test for SeAssignSecurity[Ex]
CORE-8745

svn path=/trunk/; revision=65258
2014-11-04 22:42:15 +00:00
Pierre Schweitzer 71606f1035 [NTFS]
Actually, we know how to read non resident attributes, so read a non resident attribute list if found.

svn path=/trunk/; revision=65257
2014-11-04 21:16:14 +00:00
Thomas Faber 902e8bb68e [KMTESTS]
- Move out definitions for user/kernel test utility functions into their own header (still not pretty, but at least the one header won't get as huge
- Make KmtStartThread/KmtFinishThread available to all tests

svn path=/trunk/; revision=65256
2014-11-04 20:55:16 +00:00
Timo Kreuzer f1f1a19b03 Merged revision(s) 62353, 62531-62532, 62853, 64152, 64173-64174 from branches/kernel-fun/reactos:
[NTOSKRNL]
Implement SystemPrioritySeperation case in NtSetSystemInformation
........
[NTOSKRNL]
Fix an ASSERT in ExfReleasePushLockExclusive
........
[NTOSKRNL]
Fix KiCallbackReturnHandler
........
[NTOSKRNL]
Don't expect a fully sized LOADER_PARAMETER_EXTENSION, since the win2003 loader doesn't provide the full one.
........
[NTOSKRNL]
Implement a fake NtLockProductActivationKeys

........
[NTOSKRNL]
- Add some DPRINTs on errors
- Silence a DPRINT
- Only DPRINT on unimplemented affinity support on SMP builds

........
[NTOSKRNL]
- Remove an undocumented flag from the lpc request type in NtRequestWaitReplyPort. This is required for some windows modules that use this flag, otherwise the function fails.
........

svn path=/trunk/; revision=65255
2014-11-04 20:47:18 +00:00
Timo Kreuzer afc42dae68 [NTOSKRNL]
Merge r62304 and r65253 from kernel-fun branch:
Fix logic in ObSetSecurityDescriptorInfo. To understand the change: it is not only style change! The old code modified SecurityDescriptor, which must always stay the same in the loop!

svn path=/trunk/; revision=65254
2014-11-04 20:41:10 +00:00
Timo Kreuzer 4e41ff66c0 [WIN32K]
- Fix completely broken REGION_CropAndOffsetRegion
- Make sure iType is correctly set in NtGdiGetRegionData

svn path=/trunk/; revision=65252
2014-11-04 20:20:45 +00:00
Thomas Faber e9fc785372 [NTOS:SE]
- Simplify SeSetSecurityDescriptorInfoEx
- Don't dereference an object that was never referenced

svn path=/trunk/; revision=65248
2014-11-04 18:47:13 +00:00
Thomas Faber 8a98907e4c [NTOS:SE]
- Call SeSetSecurityDescriptorInfoEx from SeSetSecurityDescriptorInfo

svn path=/trunk/; revision=65247
2014-11-04 18:40:24 +00:00
Thomas Faber 9852daf344 [NTOS:SE]
Various minor behavior corrections & simplifications for SeAssignSecurityEx:
- Fail on missing subject context or invalid group
- Initialize NewDescriptor to NULL on failure
- Never set SE_*_DEFAULTED flags
- Assume a primary token exists
- Remove unnecessary variable initialization
- Remove unnecessary length alignment
CORE-8745

svn path=/trunk/; revision=65244
2014-11-04 12:35:22 +00:00
Jérôme Gardou 092c5ad023 [IPHLPAPI]
- Retrieve unicast addresses and prefixes in GetAdaptersAddresses.

svn path=/trunk/; revision=65242
2014-11-04 10:38:43 +00:00
Jérôme Gardou 5e4cc9a9c9 [TCPIP/AFD]
- Use less weird internal structures and more public headers.

svn path=/trunk/; revision=65241
2014-11-04 10:38:26 +00:00
Pierre Schweitzer 099910fd83 [NTFS]
- Move the ROUND_UP & ROUND_DOWN macro definition to header
- Make NtfsReadDisk() sector size aware so that it can properly align read on the disk (and thus prevent them from failing)
- If $ATTRIBUTE_LIST is non resident, then display a message and continue, don't assert on it. This is to be implemented later on.

This fixes directory enumeration on a Windows 7 NTFS volume.

svn path=/trunk/; revision=65240
2014-11-04 07:56:20 +00:00
Pierre Schweitzer 217a030519 [NTFS]
Try to read the names from the biggest name space to the smallest.
Only at the end assert we have to have a name.

This fixes name enumeration on Windows 7 NTFS volumes.

svn path=/trunk/; revision=65239
2014-11-04 07:52:14 +00:00
James Tabor ef9b3e68e3 [NtUser]
- Capture is already set. Trouble shooting CORE-8299 and CORE-3247.
- Correct spellings and adding traces.

svn path=/trunk/; revision=65238
2014-11-04 05:21:41 +00:00
Hermès Bélusca-Maïto c13514d480 [NTVDM]
- Fix the BIOS32 Wait hack (Sleep takes a duration in milliseconds, whereas the BIOS function takes the duration in microseconds).
- Initialize the PIT channels with realistic values (realistic == found on real BIOSes).
- Remove unneeded commented code.

svn path=/trunk/; revision=65237
2014-11-03 21:27:20 +00:00
Thomas Faber 053bc502bb [PCI]
- Addendum to r65181: fix a stray debug print

svn path=/trunk/; revision=65227
2014-11-03 16:16:26 +00:00
Jérôme Gardou 9c6ff49dd7 [IPHLPAPI]
- Start implementing GetAdaptersAddresses.
For now it noly gives interface names and DNS servers IP, but that's already more than 'UNIMPLEMENTED'.

svn path=/trunk/; revision=65220
2014-11-03 12:55:59 +00:00
Jérôme Gardou 9de8655c35 [PSDK]
- Add missing GAA_FLAG_* flags for GetAdaptersAddresses function

svn path=/trunk/; revision=65219
2014-11-03 12:55:54 +00:00
Jérôme Gardou d4ca070d84 [TCPIP]
- Use the structure defined in the public headers instead of some strange internal thing.
Uppercase is not so fashionable after all.

svn path=/trunk/; revision=65218
2014-11-03 12:55:45 +00:00
Jérôme Gardou 0039187504 [NTOS/PS]
- Do not leak a reference to the process object when setting quotas.

svn path=/trunk/; revision=65210
2014-11-03 09:52:08 +00:00
Pierre Schweitzer 21cd59bc0f [DISK]
Add a hack to forcibly set sector size in case of weird input. This is noisy on purpose.
Also, be more informative in case of read rejection. Are we reading beyond partition or do we have invalid sector size?
With the hack, the invalid sector size should disappear.

This is to help debugging the recent errors with the removal of IopParseDevice() hack

svn path=/trunk/; revision=65205
2014-11-02 23:11:22 +00:00
Hervé Poussineau 3fc8b084e5 [NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:
We are now able to execute some binaries on a NTFS partition.

svn path=/trunk/; revision=65204
2014-11-02 22:56:53 +00:00
Hervé Poussineau 68487164df [NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers not big enough
svn path=/trunk/; revision=65203
2014-11-02 22:56:47 +00:00
Hervé Poussineau bdbbb217d5 [NTFS] Update headers
svn path=/trunk/; revision=65202
2014-11-02 22:56:38 +00:00
Pierre Schweitzer f2cbb4ac21 [NTFS]
Update headers.
Hervé, feel free to copy :-P

svn path=/trunk/; revision=65198
2014-11-02 21:50:40 +00:00
Hervé Poussineau 6a520d8fbe [NTFS] Hack fix duplicate directory entries for files having a short name and a long name
svn path=/trunk/; revision=65196
2014-11-02 20:18:34 +00:00
Hervé Poussineau c554032df9 [NTFS] Optimize directory search initialization
svn path=/trunk/; revision=65195
2014-11-02 20:18:27 +00:00
Pierre Schweitzer ffa40006ae [NTFS]
Quickly implement NtfsReadFile().

By quickly, I mean that it works but is under optimal in many ways, and also doesn't support any caching. So, don't expect breaking performances.

BUUUUUUT... This implements reading a file on a NTFS volume on ReactOS! And it works!
Here is a picture of all the achievements of ReactOS with NTFS lately: http://www.heisspiter.net/~Pierre/rostests/NTFS_all.png
-> Volume information
-> Displaying files in explorer
-> Moving across directories
-> Reading a file (with more here)

That's all folks! (for now ;-))

svn path=/trunk/; revision=65192
2014-11-02 19:55:22 +00:00
Pierre Schweitzer 6ea5fe3e43 [NTFS]
Don't attempt to uninitialize cache map with a spin lock held.

svn path=/trunk/; revision=65191
2014-11-02 19:27:58 +00:00
Hervé Poussineau 82f99f5e41 [NTFS] Fix directory listing with search pattern
This fixes name completion in command prompt.

svn path=/trunk/; revision=65190
2014-11-02 18:58:16 +00:00
Hervé Poussineau 3248b9e3b7 [NTOS:CM] Remove some debug prints
svn path=/trunk/; revision=65189
2014-11-02 18:58:09 +00:00
Hervé Poussineau 77e9b087e9 [FDC] Remove some debug prints
svn path=/trunk/; revision=65188
2014-11-02 18:58:04 +00:00
Hervé Poussineau ad03599ffb [SYSSETUP] Disable debug prints (incidentally enabled in r65128)
svn path=/trunk/; revision=65187
2014-11-02 18:57:56 +00:00
Pierre Schweitzer b304d6f14a [NTFS]
Fix a really nasty bug in NTFS: it was possible to perform a buffer overflow when reading the bitmap data.

svn path=/trunk/; revision=65186
2014-11-02 17:53:18 +00:00
Thomas Faber 760375811e [NTOS:SE]
- Call SeAssignSecurityEx from SeAssignSecurity
- Fix a FIXME

svn path=/trunk/; revision=65183
2014-11-02 15:41:20 +00:00
Timo Kreuzer a841fadcaa [HAMMERTIMESTFU]
Silence "a few" DPRINTs

svn path=/trunk/; revision=65181
2014-11-02 11:30:14 +00:00
Eric Kohl 1087501706 [NET]
Net user command:
- Fix typos in the /ACTIVE option.
- Implement the /COUNTRYCODE, /PASSWORDCHG and /PASSWORDREQ options.

svn path=/trunk/; revision=65179
2014-11-02 09:56:18 +00:00