Commit graph

53462 commits

Author SHA1 Message Date
Pierre Schweitzer
be5914df2f [RTL]
When we are impersonating, also set the flag, so that on release, we can kill it.
This hopefully fixes 2nd stage and the whole mess it was causing in privileges.

svn path=/trunk/; revision=58959
2013-05-05 22:19:54 +00:00
Pierre Schweitzer
a330845fa1 [RTL]
Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.

svn path=/trunk/; revision=58955
2013-05-05 20:19:23 +00:00
Pierre Schweitzer
648e8504fc [KERNEL32]
Also "fix" hack of RtlAcquirePrivilege in SetSystemTime(). Spotted by Thomas.

Note for syssetup/rtl/kernel32 devs:
Make it crystal clear that this is a hack and has to be deleted once RAP is fine.
Also note that for SetLocalTime() and 2nd stage, syssetup acquires the privilege itself
in SetSystemLocalTime() before calling SetLocalTime().
This will also have to be deleted once RAP is working fine. Otherwise it will keep failing:
it is not possible to acquire a privilege already held.

svn path=/trunk/; revision=58953
2013-05-05 20:01:14 +00:00
Pierre Schweitzer
9818ea06e5 [RTL]
Don't allocate an extra privilege entry when not required.
Still doesn't fix issue.

svn path=/trunk/; revision=58949
2013-05-05 19:24:25 +00:00
Pierre Schweitzer
f96e0193f4 [RTL]
Add a few DPRINTs.
Fix a bug where last status was overrided in case of failure.
Still commented out...

svn path=/trunk/; revision=58946
2013-05-05 17:32:00 +00:00
Pierre Schweitzer
3c4b46ea62 [KERNEL32]
If you workaround RtlAcquirePrivilege, do it properly!
Will prevent bad address freeing...

svn path=/trunk/; revision=58945
2013-05-05 16:38:41 +00:00
Thomas Faber
5d4c6981e0 [HIDCLASS]
- Don't return inconsistent status values from HidClass_DeviceControl

svn path=/trunk/; revision=58944
2013-05-05 15:04:49 +00:00
Johannes Anderwald
bf9fa8056b [HID]
- Fix bug in irp completion handler
CORE-7069 

svn path=/trunk/; revision=58943
2013-05-05 14:51:27 +00:00
Johannes Anderwald
ed2e1fdfc9 [LIBUSB]
- Remove useless debug prints, which violate the spec
- Fix identation
CORE-7009 

svn path=/trunk/; revision=58942
2013-05-05 14:43:39 +00:00
Sylvain Petreolle
c6f4a6973a [FUSION]
Remove baseaddress to fix address conflicts.
Reenable creation of InstallRoot .NET key in its REG_SZ form.


svn path=/trunk/; revision=58941
2013-05-05 13:09:46 +00:00
Thomas Faber
5cd67c3c36 [KMTESTS:MM]
- Fix 64-bit warnings. Patch by Nikolay Borisov.
ROSTESTS-112 #resolve

svn path=/trunk/; revision=58940
2013-05-05 12:18:49 +00:00
Hermès Bélusca-Maïto
2cc6ced701 [CDMAKE]
Reset the "volume expiration date" and the "volume effective date". They are not used.
See http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor for more information.

svn path=/trunk/; revision=58939
2013-05-05 10:18:52 +00:00
Pierre Schweitzer
d41a8557a3 [RTL]
Comment out RtlAcquirePrivilege & RtlReleasePrivilege for the moment.
It appears we are overflowing memory and thus corrupting registry, that breaks ReactOS install.
To be investigated...

svn path=/trunk/; revision=58938
2013-05-05 09:55:32 +00:00
Pierre Schweitzer
d4c38c2fe4 [RTL]
Implement RtlAcquirePrivilege and RtlReleasePrivilege.
Reviewed by Aleksey

svn path=/trunk/; revision=58937
2013-05-05 09:30:12 +00:00
Timo Kreuzer
6743a1174e {RTL]
- Implement RtlFillMemoryUlonglong
- Add missing bitmap64.c
- Fix 64bit bitmap code

svn path=/trunk/; revision=58936
2013-05-05 09:02:36 +00:00
Eric Kohl
e979b5ce8a [MSV1_0]
Add token data from the old logon code.

svn path=/trunk/; revision=58934
2013-05-05 00:53:25 +00:00
Eric Kohl
7934e35cdf [LSASRV]
Free additional data returned by calls to LsaApLogonUser/Ex/2.

svn path=/trunk/; revision=58933
2013-05-05 00:39:58 +00:00
Hermès Bélusca-Maïto
b914d7bd8e [CDMAKE]
ISO images generated by cdmake have invalid time and date.
Patch by Aleksandar Andrejevic, aka. [TheFlash]

CORE-7163 #resolve #comment Committed in revision r58932, thanks for the patch ;)

svn path=/trunk/; revision=58932
2013-05-04 22:15:26 +00:00
Hermès Bélusca-Maïto
819b46d5a8 [CONSRV]
Add heap diagnostic flags for the ConSrvHeap.

svn path=/trunk/; revision=58931
2013-05-04 21:03:27 +00:00
Amine Khaldi
800947d692 [PSDK]
* Add NT_CONSOLE_PROPS and NT_FE_CONSOLE_PROPS and fix EXP_SZ_LINK.
* Add SHELL_LINK_INFO_* and some Shell Link Extra Data structures (for IShellLinkDataList).
[USERINIT][CPLS][DLLS]
* Add the now necessary wincon.h inclusion.
* Brought to you by Dominik Hornung.
CORE-7162 #resolve #comment Committed in r58930. Danke !

svn path=/trunk/; revision=58930
2013-05-04 20:43:16 +00:00
Amine Khaldi
148e43e691 [CRT]
* Annotate sys/utime.h.

svn path=/trunk/; revision=58929
2013-05-04 20:42:43 +00:00
Amine Khaldi
074fd31218 [FUSION_WINETEST]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58928
2013-05-04 20:21:53 +00:00
Amine Khaldi
5ffb258f8a [FUSION]
* Sync with Wine 1.5.26.

svn path=/trunk/; revision=58927
2013-05-04 20:21:39 +00:00
Hermès Bélusca-Maïto
554df0ecbf [CONSRV]
Hack: To try to uncover a heap corruption in CONSRV, use our own heap instead of the (default) CSR heap, so that we won't corrupt it and obtain strange bugs thrown by memory allocation in csrsrv.
Thanks to Aleksandar Andrejevic, aka. [TheFlash] for having seen that.
See CORE-7157 for more information.

svn path=/trunk/; revision=58926
2013-05-04 19:28:36 +00:00
Hermès Bélusca-Maïto
9c6d52c545 [CONSRV]
Be sure to use our local heap instead of the current application heap, to store the console title.
To simplify the code, I introduced helper functions based on well-known Rtl functions.

svn path=/trunk/; revision=58925
2013-05-04 15:31:19 +00:00
Jérôme Gardou
3b0611bcc9 [NTDLL_APITEST]
* Add tests for NtProtectVirtualMemory

svn path=/trunk/; revision=58924
2013-05-04 15:26:48 +00:00
Hermès Bélusca-Maïto
be14e6b7ce Code formatting only
svn path=/trunk/; revision=58923
2013-05-04 14:29:51 +00:00
Hermès Bélusca-Maïto
2e660923f1 [CSRSRV]
- Code simplification.
- Remove unneeded casts.
- Fix comments.

svn path=/trunk/; revision=58922
2013-05-04 14:27:09 +00:00
Olaf Siejka
51bd04ab2a [TRANSLATION]
- turkish translation update by Erdem Ersoy: CORE-7133;
- czech translation update by Radek Liska: CORE-6953;
- added polish translation of hostname;

svn path=/trunk/; revision=58921
2013-05-04 14:18:45 +00:00
Hermès Bélusca-Maïto
857fc1d093 Code reorganization only.
svn path=/trunk/; revision=58920
2013-05-04 14:04:35 +00:00
Pierre Schweitzer
2f8130c228 [KERNEL32]
Parameters of RtlAcquirePrivilege are not booleans

svn path=/trunk/; revision=58919
2013-05-04 09:23:52 +00:00
Thomas Faber
c15b763fbc [ATL]
- Simplify CComObject code. Fix warnings. Patch by Katayama Hirofumi MZ.
CORE-7105 #resolve

svn path=/trunk/; revision=58918
2013-05-04 08:39:05 +00:00
Thomas Faber
66675db02b [WININET_WINETEST]
- Hackfix hanging test. There's no benefit in having testbot take longer.
ROSTESTS-73 #comment Temporary timeout added in r58917 to prevent hanging.

svn path=/trunk/; revision=58917
2013-05-04 08:10:58 +00:00
Pierre Schweitzer
ec1a8a5a63 [NTOSKRNL]
Prevent potential double free in loop.
Fixes CID 732510

svn path=/trunk/; revision=58916
2013-05-03 19:31:03 +00:00
Jérôme Gardou
703a1db75e [PSDK]
* Add complete definition of KEY_INFORMATION_CLASS
[DDK]
 * Add KEY_NAME_INFORMATION structure declaration

svn path=/trunk/; revision=58915
2013-05-03 18:28:34 +00:00
Jérôme Gardou
3d8186b866 [ADVAPI32]
- SEH-ize access to the data buffer in RegSetValueExW.
Fixes winetest crash

svn path=/trunk/; revision=58914
2013-05-03 16:44:31 +00:00
Amine Khaldi
816d5dc335 [WIN32SS]
* Plug a leak in IntGdiAddFontResource(). Original fix by Katayama Hirofumi MZ with one more instance covered by Timo Kreuzer.
* Return 0 instead of status in the file mapping failure path. By Timo Kreuzer.

svn path=/trunk/; revision=58913
2013-05-03 09:57:19 +00:00
Amine Khaldi
f93d55e8a9 [CRT]
* Annotate tchar.h.

svn path=/trunk/; revision=58912
2013-05-02 17:09:34 +00:00
Amine Khaldi
b3a3a9d7ac [CRT]
* Annotate memory.h.

svn path=/trunk/; revision=58911
2013-05-02 14:21:18 +00:00
Pierre Schweitzer
d955789246 [NTOSKRNL]
This is C, use VOID
Spotted by Thomas Faber

svn path=/trunk/; revision=58910
2013-05-02 08:04:12 +00:00
Eric Kohl
96970e7413 [NET]
Clean-up the new functions.
This should have been done by the author of the patch!

svn path=/trunk/; revision=58908
2013-05-01 21:54:40 +00:00
Eric Kohl
9aff77470a [LSASRV]
Implement logon token creation code.

svn path=/trunk/; revision=58907
2013-05-01 21:29:49 +00:00
Pierre Schweitzer
44099efad5 [NTOSKRNL]
Implement post stack overflow functions (i.e. FsRtlPostStackOverflow() and FsRtlPostPagingFileStackOverflow())


svn path=/trunk/; revision=58906
2013-05-01 20:53:15 +00:00
Amine Khaldi
279b9507fd [IEFRAME]
* Fix the Home button label. Brought to you by Andre Guibert de Bruet.
CORE-7144 #resolve #comment Thanks !

svn path=/trunk/; revision=58901
2013-05-01 16:00:36 +00:00
Eric Kohl
c4682b16cb [INCLUDE]
Add missing LSA_TOKEN_INFORMATION_NULL and LSA_TOKEN_INFORMATION_V1 types.

svn path=/trunk/; revision=58900
2013-05-01 13:44:24 +00:00
Pierre Schweitzer
1f1a1a9323 [NTOSKRNL]
Make post stack overflow functions use the same (unimplemented) helper function

svn path=/trunk/; revision=58899
2013-05-01 10:54:02 +00:00
Amine Khaldi
7ca3c9d2a7 [NET]
* Fix MSVC build.

svn path=/trunk/; revision=58898
2013-05-01 10:00:06 +00:00
Pierre Schweitzer
85c6b0f6b9 [NTOSKRNL]
Patch by Aleksey Bragin (he's not aware yet!):
Also implement FsRtlIs*InExpression prologue in FsRtlIsDbcsInExpression (adapted from Aleksey's work on FsRtlIsNameInExpression)
Also added support for Dbcs chars in it

svn path=/trunk/; revision=58897
2013-05-01 09:10:34 +00:00
Cameron Gutman
93ce06d95e [LWIP]
- Call tcp_shutdown() two different times for TX|RX shutdown to avoid the tcp_close() problem entirely
- Forcefully close the socket in LibTCPCloseCallback (not optimal, but good enough)

svn path=/trunk/; revision=58896
2013-04-30 09:33:40 +00:00
Cameron Gutman
a0d79bf7b9 [LWIP]
- Don't define mem_trim() to realloc() because mem_trim() must never move the buffer pointer
- Fix realloc() which was completely broken
- Properly handle a TX|RX shutdown

svn path=/trunk/; revision=58895
2013-04-30 08:16:29 +00:00