Commit graph

59393 commits

Author SHA1 Message Date
Aleksandar Andrejevic ed11c3a778 [FAST486]
Fix BT, BTC, BTS and BTR.


svn path=/trunk/; revision=65310
2014-11-07 19:20:38 +00:00
Pierre Schweitzer 0ca2bff44e [FASTFAT]
Properly check for volume open on lock request

svn path=/trunk/; revision=65309
2014-11-07 15:38:31 +00:00
Amine Khaldi 86e82138e7 [TRANSLATIONS]
* Russian translation update by Kudratov Olimjon.
CORE-8701 #resolve #comment Committed in r65308. Thanks!

svn path=/trunk/; revision=65308
2014-11-07 15:08:59 +00:00
Aleksandar Andrejevic 572d2d2a26 [FAST486]
Store the faulting address in CR2 (PFLA) when a page fault occurs.


svn path=/trunk/; revision=65304
2014-11-07 00:00:17 +00:00
Kamil Hornicek a25ff6fb7e [USER32]
- use get_best_icon_file_entry's magic to find the correct icon in ICO_ExtractIconExW - thanks Jérôme!
- add cursor files support for PrivateExtractIcon(Ex)

svn path=/trunk/; revision=65303
2014-11-06 23:28:28 +00:00
Pierre Schweitzer fad60e6ee8 [NTFS]
MagicValues--;

svn path=/trunk/; revision=65302
2014-11-06 21:12:54 +00:00
Pierre Schweitzer c24acbfdc2 [NTFS]
Add a sanity check in NtfsFindMftRecord()

svn path=/trunk/; revision=65301
2014-11-06 20:54:27 +00:00
Aleksandar Andrejevic 3e9aa4c71d [FAST486]
Update the CPL when performing an interrupt.


svn path=/trunk/; revision=65300
2014-11-06 20:47:31 +00:00
Kamil Hornicek 5b5d036b35 [USER32]
- add ICO files support for PrivateExtractIcons(Ex)
- fixes Juice and ICO files now show their icons in explorer
CORE-4021

svn path=/trunk/; revision=65297
2014-11-06 19:11:03 +00:00
Kamil Hornicek 5eaf6cc648 [USER32]
- partially sync exticon.c with Wine 1.7.30

svn path=/trunk/; revision=65295
2014-11-06 18:33:42 +00:00
Aleksandar Andrejevic d7897ca1e5 [FAST486]
We can't load the stack segment until after we've updated the CPL.


svn path=/trunk/; revision=65281
2014-11-06 05:37:50 +00:00
Aleksandar Andrejevic e42640b500 [FAST486]
Fix the limit calculation when using page granularity.
RETF can also perform inter-privilege returns.
Fix the privilege checks when loading CS. DPL != CPL is only a #GP
when we're doing a jump or a call.


svn path=/trunk/; revision=65280
2014-11-06 05:16:14 +00:00
Thomas Faber 453e370737 [FASTFAT]
- Fix failure case handling in vfatUpdateFCB
- NULL output parameters on failure in vfatGetFCBForFile
- Fix a few typos

svn path=/trunk/; revision=65278
2014-11-06 00:07:01 +00:00
Thomas Faber 468b64c679 [NTOS:IO]
- Silence super noisy debug print in IopQueryAttributesFile

svn path=/trunk/; revision=65277
2014-11-05 23:27:04 +00:00
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