Victor Perevertkin
239266640f
[GITHUB] Use full paths on build-linux, as RosBE.sh overwrites them
...
Addendum to 167c60a5c8
and 823ddc3d82
2021-05-04 01:32:21 +03:00
Victor Perevertkin
823ddc3d82
[GITHUB] Remove working-directory for configure
...
Addendum to 167c60a5c8
2021-05-04 01:21:40 +03:00
Victor Perevertkin
167c60a5c8
[GITHUB] Use cmake's -S and -B options explicitly
2021-05-04 01:10:22 +03:00
Jérôme Gardou
e9cef3f216
[GITHUB] Add clang-cl amd64 build to CI
...
As before, use a matrix for Ninja+Msvc build
2021-05-03 22:00:57 +02:00
Jérôme Gardou
bc92234ea4
[FDEBUG] Use VK_ identifiers with VIRTKEY
2021-05-03 22:00:57 +02:00
Jérôme Gardou
d312ef234b
[PSEH] Fix use of dummy implementation in C++
2021-05-03 22:00:57 +02:00
Jérôme Gardou
07dcec0325
[PSEH] Use dummy PSEH for clang(-cl) amd64 build
2021-05-03 22:00:57 +02:00
Jérôme Gardou
d0bb775774
[NOTEPAD] Fix resource file
...
VIRTKEY can't be preceded with ^
and is useless anyway
2021-05-03 22:00:57 +02:00
Jérôme Gardou
aa51bcfbcb
[CMAKE] Do not use a flag which clang doesn't know
2021-05-03 22:00:57 +02:00
Jérôme Gardou
523912536e
[KERNEL32] Sync NLS RC files with wine 6.7
...
Mostly for having them UTF-8 encoded
2021-05-03 22:00:57 +02:00
Jérôme Gardou
802665a4ac
[CRT] Also use alias _rot functions for clang-cl amd64 build
2021-05-03 22:00:57 +02:00
Jérôme Gardou
4ae4590b66
[CMAKE] Do not define _M_AMD64 when using amd64 clang-cl
2021-05-03 22:00:57 +02:00
Jérôme Gardou
8aea84dab7
[CRT] Do not define builtin functions if not needed
2021-05-03 22:00:57 +02:00
Jérôme Gardou
7197620b89
[CMAKE] Always use cl to build host tools
2021-05-03 22:00:57 +02:00
Jérôme Gardou
a66214c020
[GITHUB] Enable GCC+clang amd64 build
...
Use github cache to build & retrieve RosBE on linux,
for now using a custom build script until Next RosBE is out
Use a matrix to manage linux gcc + clang build
2021-05-03 22:00:57 +02:00
Jérôme Gardou
061c7ecb1a
[FRAMEDYN] Fix the whole situation with regards to wchar_t
...
Alias CHSTRING_WCHAR to unsigned short and use inline wrappers
to be able to use the thing with modern compilers
Put the GCC aliases into the public header.
Enable build with clang-cl
2021-05-03 22:00:57 +02:00
Jérôme Gardou
a8255233f8
[SPEC2DEF] Fix imports of C++ stdcall exports
...
Too much mangling mangles it too much
2021-05-03 22:00:57 +02:00
Jérôme Gardou
ec68a3311f
[CMAKE] Use SEH exceptions for c++ in clang amd64 build
2021-05-03 22:00:57 +02:00
Jérôme Gardou
976c4c10aa
[CRT] Fix SEH macros for clang x64
2021-05-03 22:00:57 +02:00
Jérôme Gardou
b52ab2493b
Revert "[CMAKE] Disable SSE instruction on GCC amd64 builds"
...
The right fix is to ensure that the stack is properly 16-bit aligned
This reverts commit 63944988a2
.
2021-05-03 22:00:57 +02:00
Oleg Dubinskiy
58daf942fe
[GDI32] Fix wrong ordering of parameters in NtGdiDdGetDC call ( #3637 )
...
It allows to properly pass the surface handle (and palette entry pointer) from MS ddraw into win32k.
Otherwise, they are passing into the wrong parameters of actual NtGdi* function, and due to this,
since they're detected as invalid, they become NULL, and that function does not work correctly.
See https://docs.microsoft.com/en-us/windows/win32/devnotes/-dxgkernel-ntgdiddgetdc for the reference
(and confirmed by our headers).
Required by MS DirectDraw stack (ddraw.dll & dxg.sys).
CORE-17561
2021-05-03 18:11:18 +02:00
George Bișoc
11a60cebea
[NTOS:PS] Add some data structures
...
These are needed for API tests. The following structures are taken from Process Hacker.
2021-05-02 21:03:09 +02:00
George Bișoc
207543429b
[NTOSKRNL] Use IQS_SAME instead of ICI_SQ_SAME
...
And remove the redundant ICI_SQ_SAME macro as it's no longer needed in the codebase.
2021-05-02 21:00:51 +02:00
George Bișoc
efaa7b6a24
[NTDLL_APITEST] Add alignment probing tests for Query/Set information thread related routines
2021-05-02 20:58:40 +02:00
George Bișoc
3b53b3d07f
[NTDLL_APITEST] Add alignment probing tests for Query/Set information process related routines
2021-05-02 20:56:14 +02:00
George Bișoc
74e527b452
[NTOS:PS] Bring the threads/processes information classes table back
...
These were removed in bf493b9
, for whatever apparent reason. It's time to import them back.
2021-05-02 20:52:18 +02:00
George Bișoc
39b266b728
[NTOSKRNL] Move the ICIF related code and stuff into a separate header file
...
For easier accessibility for the APITESTs and whatnot.
2021-05-02 20:49:06 +02:00
George Bișoc
ae8ebe45d2
[NTDLL_APITEST] Implement alignment probing library code
...
The probing library code only probes data types for threads/processes information classes in Process Structure subsystem for now.
2021-05-02 20:45:57 +02:00
George Bișoc
66007dee2b
[NTDLL_APITEST] Include the internal headers from the kernel and the probing library file
2021-05-02 20:42:19 +02:00
George Bișoc
242efae9a2
[NTOS:PS] Make sure we can impersonate the given token first
...
PsImpersonateClient blindly impersonates the requested client even though it doesn't know if the actual token given to the call can be impersonated for the thread of the client which we are going to begin impersonation. In the case where impersonation is not possible, make a copy of the given token and assign the newly one for impersonation instead.
CORE-17539
2021-05-02 16:55:20 +02:00
George Bișoc
18ddb6ba92
[NTOS:SE] Implement SeTokenCanImpersonate routine
...
SeTokenCanImpersonate ensures whether the client impersonation can occur, and if not, the call signals this to the caller.
2021-05-02 16:55:19 +02:00
Eric Kohl
a7d6483e65
[NTOS:PS] Revert 4d7062abb6
on request
2021-05-02 16:26:11 +02:00
Eric Kohl
9fa31e0f9b
[NTOS:PS] Add the missing privilege check to NtSetInformationThread:ThreadPriority
...
This fixes the remaining failure in the NtSetInformationThread test.
2021-05-02 15:28:26 +02:00
Eric Kohl
4d7062abb6
[NTOS:PS] Add ThreadInformation probing to NtSetInformationThread
...
Also get rid of unused buffer check code.
This fixes two test failures.
2021-05-02 13:55:29 +02:00
Eric Kohl
2e88e2b904
[NTOS:PS] Rewrite NtSetInformationThread to match NtQueryInformationThread
...
The Information length must always be checked before referencing the thread object. This fixes a test failure.
2021-05-02 13:46:22 +02:00
Eric Kohl
5585767460
[NTOS:PS] Rewrite NtQueryInformationThread to match NtQueryInformationProcess
...
The information length must always be checked before referencing the thread object. This fixes the remaining test failure.
2021-05-02 12:46:55 +02:00
Serge Gautherie
249f2388bd
[REACTOS] Fix parameter types on some exports ( #3217 )
...
Fix some wrong parameter types on some exports in NTDLL, KERNEL32, WTSAPI32, and NTOSKRNL.
2021-05-01 21:11:34 +02:00
Serge Gautherie
5d89643311
[NTOS:OB] ObQueryDeviceMapInformation(): Fix annotations
2021-05-01 11:26:07 +02:00
Serge Gautherie
f1689cdcea
[PSDK] UnlockResource(): Improve definition
...
Sync' with
a9e50da352
2021-05-01 09:48:02 +02:00
Katayama Hirofumi MZ
92e3b426b3
[CMD_APITEST] Follow-up of #3632 ( 0c2230a
)
...
CORE-17500
2021-04-30 10:48:33 +09:00
Hermès Bélusca-Maïto
bb467003b7
[INF] Remove stray file. Addendum to commit a1fc312a
.
2021-04-30 02:42:35 +02:00
Serge Gautherie
8a61e4f08c
[NTOS:PS] NtQueryInformationProcess(): Fix ProcessDeviceMap case
...
Fix Clang-Cl
'...\ntoskrnl\ps\query.c(583,33): warning: variable 'Status' is uninitialized when used here [-Wuninitialized]'
Addendum to 1074a9a
.
2021-04-29 21:40:58 +02:00
Serge Gautherie
c0961cac10
[NTOS:PS] NtQueryInformationProcess(): Sync' annotations
2021-04-29 21:40:58 +02:00
Katayama Hirofumi MZ
91dc5eac7d
[FC] Fix typo s/IDS_RESYNCH_/IDS_RESYNC_/ s/Resynch/Resync/
...
CORE-17500
2021-04-29 16:59:20 +09:00
Katayama Hirofumi MZ
0c2230ad64
[CMD_APITEST] Add FC testcase ( #3632 )
...
Add a testcase for FC (file comparison) command to investigate FC command. CORE-17500
2021-04-29 16:39:13 +09:00
Hervé Poussineau
a1fc312a89
[NE2000] Use the real MAC address instead of a fake one
...
These lines were added 15 years ago, in r18445.
2021-04-28 17:28:38 +02:00
Jérôme Gardou
b97d5fd2f7
[NTOS:KDBG] Fix invalid DBG print
2021-04-28 15:58:01 +02:00
Jérôme Gardou
0ab44664b6
[KDGDB] Remove debugging leftover
2021-04-28 14:52:05 +02:00
Jérôme Gardou
3726b992ed
[NTOS:KDBG] Begin port for amd64.
...
Not really functional, but it prints debug output.
Take this as an opportunity to add consistancy between some i386 & amd64 intrinsics
2021-04-28 13:10:23 +02:00
Jérôme Gardou
439aefb31d
[CRT] Sync tlssup.c with mingw-w64
...
This allows amd64 built binary to be loaded.
2021-04-28 13:10:23 +02:00