Commit graph

52845 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 6462517d32 Remove the unneeded $Id$ blabla from the source code.
svn path=/trunk/; revision=58492
2013-03-14 00:39:31 +00:00
Hermès Bélusca-Maïto 084bdac394 Remove ALL the unneeded "author date id revision" svn properties.
svn path=/trunk/; revision=58491
2013-03-14 00:02:41 +00:00
Hermès Bélusca-Maïto 57ddcaf0fa Remove ALL the unneeded "author date id revision" svn properties.
svn path=/trunk/; revision=58490
2013-03-14 00:00:01 +00:00
Hermès Bélusca-Maïto 0823512b4a - Remove ALL the unneeded "author date id revision" svn properties.
- Remove the erroneous svn:eol-syle or svn:eol-stlye properties (and replace them by svn:eol-style)

svn path=/trunk/; revision=58489
2013-03-13 23:50:08 +00:00
Hermès Bélusca-Maïto 7f6b593bb0 [SYSSETUP]
Reorder closing of handles (the service handle then the SCM handle), it clarifies the logic (but not change it dramatically).

[RSYM64]
Correct a misspelling, no code change.

svn path=/trunk/; revision=58488
2013-03-13 20:40:43 +00:00
Timo Kreuzer 9156f1fe0f [NTOSKRNL]
Disable enqueuing processes into the SessionGlobal->ProcessList, since it's broken and causes non paged pool corruption. The reason is that sometimes the process is not removed, so a dead allocation stays in the list, causing havoc, when the next or previous process in that list is removed.

svn path=/trunk/; revision=58487
2013-03-13 18:26:11 +00:00
Timo Kreuzer edbd814452 [NTOSKRNL]
Fix non-KDBG builds

svn path=/trunk/; revision=58486
2013-03-13 18:25:52 +00:00
Timo Kreuzer 7df3287315 [NTOSKRNL]
- Implement "!pool" kdbg extension that works like in WinDbg
- Implement ExpCheckPoolAllocation to check a single allocation for sanity
- Rename MEMORY_ARE::PageOpCount (which is unused) to Magic and set it to 'MAre'
- Implement MiRosCheckMemoryAreas, that checks all memory areas for integrity and PspCheckProcessList that checks the process list. The code is not used anywhere, since it can cause a major performance impact, but it proved useful to detect non paged pool corruptions. So I'll commit it in the hope that it will be useful.

svn path=/trunk/; revision=58485
2013-03-13 18:13:55 +00:00
Amine Khaldi 3637c5fa07 [CRT]
* Annotate locale.h.

svn path=/trunk/; revision=58484
2013-03-13 14:19:51 +00:00
Amine Khaldi 01a913e518 [CRT]
* Annotate errno.h.

svn path=/trunk/; revision=58483
2013-03-13 12:30:49 +00:00
Amine Khaldi 77faf36cdd [PSDK]
* Annotate winnls.h.

svn path=/trunk/; revision=58482
2013-03-13 12:06:41 +00:00
Eric Kohl 0a47615a92 [SAMSRV]
Set MaxPasswordAge, LockoutDuration and LockoutObservationWindow for domains during setup.

svn path=/trunk/; revision=58478
2013-03-12 21:27:35 +00:00
Amine Khaldi 6993ef3cbb [PSDK]
* Annotate batclass.h.

svn path=/trunk/; revision=58477
2013-03-12 21:16:25 +00:00
Eric Kohl 6b643aa953 [SAMSRV]
Add helper functions SampOpenAliasObject, SampOpenGroupObject and SampRemoveUserFromAllGroups.

svn path=/trunk/; revision=58476
2013-03-12 20:07:56 +00:00
Amine Khaldi 8fc7b3332f [PSDK]
* Annotate evntprov.h.

svn path=/trunk/; revision=58475
2013-03-12 11:40:11 +00:00
Amine Khaldi 447b3b8db9 [CRT]
* Annotate malloc.h.

svn path=/trunk/; revision=58474
2013-03-11 22:06:16 +00:00
Eric Kohl 02f8bfdb8e [SAMSRV]
Implement SamrShutdownSamServer.

svn path=/trunk/; revision=58473
2013-03-11 21:49:11 +00:00
Eric Kohl 39d6a91610 [SAMSRV]
- Implement SamIConnect.
- Add a trusted caller flag to the database object type and inherit it to opened or created sub objects.
- Restrict access to SamrQueryInformationUser.UserInternal1Information for non-trusted callers.

svn path=/trunk/; revision=58472
2013-03-11 21:01:30 +00:00
Sylvain Petreolle 8caefdd06a [AUDIOSRV]
Fix log message.

svn path=/trunk/; revision=58471
2013-03-11 20:59:01 +00:00
Amine Khaldi df89cea5a4 [DDK]
* Annotate ntpoapi.h.

svn path=/trunk/; revision=58470
2013-03-11 19:49:26 +00:00
Amine Khaldi a371d82385 [PSDK]
* Annotate some structures in ntddstor.h.

svn path=/trunk/; revision=58469
2013-03-11 19:48:21 +00:00
Amine Khaldi 328a638575 [SAL]
* Add _Outptr_opt_result_buffer_ and _Outptr_opt_result_bytebuffer_ annotations.

svn path=/trunk/; revision=58468
2013-03-11 19:31:40 +00:00
Eric Kohl 8a40130a38 [SAMSRV]
Implement SamIFree_SAMPR_PSID_ARRAY.

svn path=/trunk/; revision=58467
2013-03-10 22:28:26 +00:00
Eric Kohl 65e890e0e9 [SAMSRV]
Update .spec file to Windows XP SP3.

svn path=/trunk/; revision=58466
2013-03-10 21:49:10 +00:00
Timo Kreuzer 4c85cfac11 [LSASRV]
In LsapCreateDatabaseObjects pass the pointer AuditEventsInfo to LsapSetObjectAttribute instead a pointer to the pointer. Fixes 1 advapi32::lsa winetest when compiled with the new BE.

svn path=/trunk/; revision=58461
2013-03-10 13:43:13 +00:00
Timo Kreuzer 8cb3ec617f [NTOSKRNL]
Implement Ke386SetGdtEntryBase and KiSetTebBase and use it in the appropriate places.

svn path=/trunk/; revision=58460
2013-03-10 11:44:04 +00:00
Eric Kohl e850321ffc [LSASRV]
- Implement LSA dispatch routines LsapAllocateClientBuffer, LsapFreeClientBuffer, LsapCopyToClientBuffer and LsapCopyFromClientBuffer.
- LsapCallAuthenticationPackage and LsapLogonUser: Copy data from the callers address space into a local buffer and pass it to the authentication package.

svn path=/trunk/; revision=58457
2013-03-09 22:32:53 +00:00
Timo Kreuzer 4e493e9959 [USER32]
MsgiAnsiToUnicodeReply: Use heap buffer for MDICREATSTRUCT instead of returning a pointer to a stackbuffer.

svn path=/trunk/; revision=58452
2013-03-09 18:28:30 +00:00
Eric Kohl 3f5bf2bb48 [LSASRV]
- Move LsapLookupAuthenticationPackage, LsapCallAuthenticationPackage and LsapLogonUser from authport.c to authpackage.c.
- Make LsapCallAuthenticationPackage and LsapLogonUser call the matching authentication package functions.

svn path=/trunk/; revision=58451
2013-03-09 15:54:45 +00:00
Sylvain Petreolle e5ef5f569f [BOOTDATA]
CurrentVersion, CSDVersion and CurrentBuildNumber are REG_SZ strings, not REG_EXPAND_SZ.


svn path=/trunk/; revision=58450
2013-03-09 15:06:50 +00:00
Hermès Bélusca-Maïto 6a951babef [SERVICES-ADVAPI32]
- Check for possible null pointers (invalid address) before dereferencing them.
- Correct some DPRINT formatting.

svn path=/trunk/; revision=58446
2013-03-08 22:40:38 +00:00
Hermès Bélusca-Maïto 9883df5d8c The 'i' variable being only used for displaying the array of parameters (when debug output is enabled), disable it also to avoid "error: unused variable 'i'".
svn path=/trunk/; revision=58445
2013-03-08 21:22:05 +00:00
Hermès Bélusca-Maïto 5cd9147a13 [SERVICES]
- Disable an unuseful DPRINT.
- Remove a redundant variable lpConfig.

svn path=/trunk/; revision=58444
2013-03-08 21:19:12 +00:00
Hermès Bélusca-Maïto 4691b190f5 [SERVICES]
* Fix some format specifiers (part 2 of r58442). Thanks Amine :)
* Remane two "global" static variables to avoid name collision warnings.

svn path=/trunk/; revision=58443
2013-03-08 20:56:18 +00:00
Amine Khaldi 94c53e8fbe [SERVICES]
* Fix some format specifiers.

svn path=/trunk/; revision=58442
2013-03-08 20:49:03 +00:00
Amine Khaldi 53ec8df8cf [CRT]
* Annotate excpt.h.

svn path=/trunk/; revision=58441
2013-03-08 13:55:06 +00:00
Amine Khaldi 387de1766c [CRT]
* Annotate wchar.h.

svn path=/trunk/; revision=58440
2013-03-07 16:46:59 +00:00
Amine Khaldi c6fad56a65 [CRT]
* Annotate string.h.

svn path=/trunk/; revision=58439
2013-03-07 16:45:18 +00:00
Amine Khaldi e51c446164 [CMAKE]
* Add "/nologo" to the MSVC resource compilation rule. Brought to you by Yu Pan (binsys {at} 163 dot com).
CORE-6997 #resolve #comment Committed in r58438.

svn path=/trunk/; revision=58438
2013-03-07 16:22:49 +00:00
Timo Kreuzer fedc58ea2a [WIN32K]
Use _SEH2_YIELD to return from except block. Thanks Hermes.

svn path=/trunk/; revision=58437
2013-03-05 20:03:30 +00:00
Giannis Adamopoulos cf181301af [win32k]
- Initialize NewPos before using it in co_WinPosShowWindow

svn path=/trunk/; revision=58436
2013-03-05 13:39:04 +00:00
Amine Khaldi c58d8a18b1 [CRT]
* Annotate ctype.h.

svn path=/trunk/; revision=58435
2013-03-05 11:27:06 +00:00
Timo Kreuzer b17a7cae7a [WIN32K]
- Fix a bug in EngLoadModuleEx
- Fix a bug in co_IntLoadSysMenuTemplate
- Fix / improve a number of annotations
- Improve code in NtGdiExtGetObjectW
- Check return value of ZwAllocateVirtualMemory and handle error in GdiPoolAllocate
- Fix possible memory leaks in NtGdiPolyDraw
- Check for NtGdiExtCreatePen == NULL instead of passing it to ProbeForRead in NtGdiExtCreatePen
- Simplify code in NtGdiGetTextMetricsW
- Fix a number of format specifiers

svn path=/trunk/; revision=58434
2013-03-05 08:47:51 +00:00
Timo Kreuzer 74f7fce21f [RTL]
Formatting, no code change.

svn path=/trunk/; revision=58433
2013-03-05 08:38:18 +00:00
Timo Kreuzer 09e3d1eace [CMAKE]
Add -mstackrealign option for GCC 4.7+. Seems to fix some problems.

svn path=/trunk/; revision=58432
2013-03-05 08:25:22 +00:00
Timo Kreuzer 3d64816d02 [CDMAKE]
Fix a warning with new RosBE

svn path=/trunk/; revision=58431
2013-03-05 08:07:21 +00:00
Amine Khaldi 9df9d495fb [CRT]
* Annotate stdio.h.

svn path=/trunk/; revision=58430
2013-03-04 21:59:28 +00:00
Amine Khaldi 385dfc1785 [SAL]
* Add _Field_size_part_ annotation.

svn path=/trunk/; revision=58429
2013-03-04 21:58:35 +00:00
Amine Khaldi d8015035d6 [NDK]
* Correct the annotation of ObOpenObjectByName's 4th param.

svn path=/trunk/; revision=58428
2013-03-04 21:49:07 +00:00
Eric Kohl b5aaf7147d [LSASRV]
- Get all procedure addresses of the loaded authentication packages and keep them in the authentication package entry.
- Implement parts of the lda dispatch table (allocate heap and free heap) and pass the table to LsaApInitializePackage call.
- Implement authentication package lookup by name.

[MSV1_0]
- Store the dispatch table entries passed to the LsaApInitializePackage call and use them to allocate a STRING to return the package name.

svn path=/trunk/; revision=58427
2013-03-04 21:32:44 +00:00