reactos.git
6 months ago[CMAKE] Some options are only supported by GCC, don't use them for clang
Victor Perevertkin [Fri, 9 Apr 2021 00:58:19 +0000 (03:58 +0300)]
[CMAKE] Some options are only supported by GCC, don't use them for clang

These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable

6 months ago[PC98VID] Fix clang 12 warning
Victor Perevertkin [Fri, 9 Apr 2021 00:54:25 +0000 (03:54 +0300)]
[PC98VID] Fix clang 12 warning

6 months ago[SDK][NDK] Fix clang 12 compilation
Victor Perevertkin [Fri, 9 Apr 2021 00:51:32 +0000 (03:51 +0300)]
[SDK][NDK] Fix clang 12 compilation

6 months ago[WINSXS] Add some amd64 manifests
Mark Jansen [Wed, 16 Dec 2020 22:09:35 +0000 (23:09 +0100)]
[WINSXS] Add some amd64 manifests

Co-authored-by: Timo Kreuzer <timo.kreuzer@reactos.org>
6 months ago[NTOS:MM] Fix a bit page fault handler with regard to COW sections
Jérôme Gardou [Tue, 6 Apr 2021 10:58:02 +0000 (12:58 +0200)]
[NTOS:MM] Fix a bit page fault handler with regard to COW sections

6 months ago[NTOS:MM] Share "page.c" between i386 & amd64 builds
Jérôme Gardou [Thu, 1 Apr 2021 12:03:25 +0000 (14:03 +0200)]
[NTOS:MM] Share "page.c" between i386 & amd64 builds

6 months ago[NTOS:MM] Split MmCreateProcessAddressSpace in two parts
Jérôme Gardou [Thu, 1 Apr 2021 13:54:19 +0000 (15:54 +0200)]
[NTOS:MM] Split MmCreateProcessAddressSpace in two parts

Generic one and arch-specific one.
Properly fail if we are out of resources.
Restore a lost assert.

6 months ago[NTOS:MM] Properly track system process hyper space PDE page
Jérôme Gardou [Thu, 8 Apr 2021 12:36:50 +0000 (14:36 +0200)]
[NTOS:MM] Properly track system process hyper space PDE page

6 months ago[NTOS:MM] Make i386/page.c usable for all x86 variants
Jérôme Gardou [Wed, 7 Apr 2021 06:49:26 +0000 (08:49 +0200)]
[NTOS:MM] Make i386/page.c usable for all x86 variants

This includes PAE & amd64

6 months ago[NDK] Define NX bit in X86PAE PTE struct
Jérôme Gardou [Wed, 7 Apr 2021 06:49:07 +0000 (08:49 +0200)]
[NDK] Define NX bit in X86PAE PTE struct

6 months ago[NTOS:MM] Use MI_MAKE_HARDWARE_PTE & friends in legacy Mm
Jérôme Gardou [Thu, 1 Apr 2021 09:45:10 +0000 (11:45 +0200)]
[NTOS:MM] Use MI_MAKE_HARDWARE_PTE & friends in legacy Mm

6 months ago[NTOS:MM] Rewrite arch-specifics of the legacy Mm
Jérôme Gardou [Mon, 22 Mar 2021 08:52:11 +0000 (09:52 +0100)]
[NTOS:MM] Rewrite arch-specifics of the legacy Mm

Properly handle PDE refcounting
Clean-up of the internal API
Enforce attaching to the process when modifying its memory layout, instead of
making circonvoluted mappings which always end up being broken.

6 months ago[NTOS:MM] Get rid of MmRosFlushVirtualMemory
Jérôme Gardou [Wed, 10 Mar 2021 14:24:31 +0000 (15:24 +0100)]
[NTOS:MM] Get rid of MmRosFlushVirtualMemory

It's not used anywhere now, and it will eventually be gone

6 months ago[NTOS:MM] Get rid of MmSetCleanAllRmaps and MmIsDirtyPageRmap
Jérôme Gardou [Wed, 10 Mar 2021 14:16:29 +0000 (15:16 +0100)]
[NTOS:MM] Get rid of MmSetCleanAllRmaps and MmIsDirtyPageRmap

Everything is wrong with them. Bad locking. Bad logic.

6 months ago[NTOS:MM] Let ARM3 handle invalid PDE for itself.
Jérôme Gardou [Fri, 19 Feb 2021 15:57:33 +0000 (16:57 +0100)]
[NTOS:MM] Let ARM3 handle invalid PDE for itself.

6 months ago[NTOS:MM] Fix a bit the page-out/page-in logic
Jérôme Gardou [Fri, 5 Feb 2021 14:04:07 +0000 (15:04 +0100)]
[NTOS:MM] Fix a bit the page-out/page-in logic

 - Do not lock the section segment when we are serving a fault for a process private page.
 - Do not keep the process address space lock while writing to pagefile.
 - Do not wait for an event that might never be set.

6 months ago[CMAKE] Fix a file name
Jérôme Gardou [Thu, 8 Apr 2021 13:34:35 +0000 (15:34 +0200)]
[CMAKE] Fix a file name

6 months ago[BROWSEUI] auto-completion: Support large number items (#3592)
Katayama Hirofumi MZ [Thu, 8 Apr 2021 06:02:05 +0000 (15:02 +0900)]
[BROWSEUI] auto-completion: Support large number items (#3592)

If the items are too many, enable filtering in item enumeration. CORE-9281

6 months agoRevert "[NTOS:MM] Allow MiMapPageInHyperSpace to be called from DISPATCH_LEVEL"
Jérôme Gardou [Wed, 7 Apr 2021 21:26:44 +0000 (23:26 +0200)]
Revert "[NTOS:MM] Allow MiMapPageInHyperSpace to be called from DISPATCH_LEVEL"

This reverts commit 8404d1a6ff897f5210860ba52d70c3a6e86f3fbb.
Not ready for prime time, sorry.

6 months ago[NTOS:MM] Allow MiMapPageInHyperSpace to be called from DISPATCH_LEVEL
Jérôme Gardou [Wed, 7 Apr 2021 21:05:51 +0000 (23:05 +0200)]
[NTOS:MM] Allow MiMapPageInHyperSpace to be called from DISPATCH_LEVEL

Also annotate it to show its behaviour.

6 months ago[INF] Disable the AddInterface directive temporarily, in order to install volume...
Eric Kohl [Wed, 7 Apr 2021 20:39:47 +0000 (22:39 +0200)]
[INF] Disable the AddInterface directive temporarily, in order to install volume devices.

CORE-17530

6 months ago[SETUPAPI] SetupDiInstallDevice: Do not fail if the .inf file does not have a .Servic...
Eric Kohl [Wed, 7 Apr 2021 19:39:55 +0000 (21:39 +0200)]
[SETUPAPI] SetupDiInstallDevice: Do not fail if the .inf file does not have a .Services section

CORE-17530

6 months ago[SYSSETUP] Manually start PlugPlay service, and wait for it before continuing
Hervé Poussineau [Wed, 7 Apr 2021 17:26:06 +0000 (19:26 +0200)]
[SYSSETUP] Manually start PlugPlay service, and wait for it before continuing

That way, class installers are already registered before installing devices.

CORE-17538

6 months ago[NTOS:MM][NTOS:SE] Mute some noisy stubs
Oleg Dubinskiy [Mon, 5 Apr 2021 18:49:50 +0000 (21:49 +0300)]
[NTOS:MM][NTOS:SE] Mute some noisy stubs
Mute debug prints of MmDoesFileHaveUserWritableReferences and SeAuditingFileEventsWithContext stubs.
These stubs are very noisy and create a lot of spam in the log when using Microsoft NTFS driver in ReactOS (with some other improvements applied).
Implementing those functions isn't badly required for the proper work of this driver, so better way for now is just mute these stubs a bit.
After my changes, they will be displayed only once, and the log will be more clear, so it will seem to be enough to understand that the driver calls these routines.
CORE-17409

6 months ago[USETUP] Display some contents in the page whilst installing the bootloader (#3559)
George Bișoc [Wed, 7 Apr 2021 08:11:07 +0000 (10:11 +0200)]
[USETUP] Display some contents in the page whilst installing the bootloader (#3559)

CORE-17523

6 months agoRevert '[FONTEXT_APITEST] Follow-up of #3585'
Katayama Hirofumi MZ [Wed, 7 Apr 2021 08:08:23 +0000 (17:08 +0900)]
Revert '[FONTEXT_APITEST] Follow-up of #3585'

6 months ago[BROWSEUI] Reduce IAutoComplete failures (#3590)
Katayama Hirofumi MZ [Wed, 7 Apr 2021 04:38:22 +0000 (13:38 +0900)]
[BROWSEUI] Reduce IAutoComplete failures (#3590)

- Delete OnEditUpdate method.
- Improve the expand condition.
CORE-9281

6 months ago[BROWSEUI_APITEST] Strengthen IAutoComplete testcase
Katayama Hirofumi MZ [Wed, 7 Apr 2021 03:39:28 +0000 (12:39 +0900)]
[BROWSEUI_APITEST] Strengthen IAutoComplete testcase

6 months ago[CMAKE] Make cmake use static libraries for testing the compiler
Jérôme Gardou [Tue, 6 Apr 2021 17:28:47 +0000 (19:28 +0200)]
[CMAKE] Make cmake use static libraries for testing the compiler

6 months ago[CMAKE] Honor CMAKE_EXE_LINKER_FLAGS_INIT in GCC build
Jérôme Gardou [Tue, 6 Apr 2021 17:23:31 +0000 (19:23 +0200)]
[CMAKE] Honor CMAKE_EXE_LINKER_FLAGS_INIT in GCC build

6 months ago[NTOS:KE] Rewrite KiSystemCallTrampoline in assembly
Jérôme Gardou [Tue, 6 Apr 2021 08:53:35 +0000 (10:53 +0200)]
[NTOS:KE] Rewrite KiSystemCallTrampoline in assembly

Instead of making assumptions about what the compiler does with forced-inline functions

6 months ago[BROWSEUI] auto-completion: Reduce failures in ACListISF (#3589)
Katayama Hirofumi MZ [Tue, 6 Apr 2021 12:56:40 +0000 (21:56 +0900)]
[BROWSEUI] auto-completion: Reduce failures in ACListISF (#3589)

Reduce failures in ACListISF testcase. Skip left space in auto-completion. Accept the pair of drive letter and colon. CORE-9281

6 months ago[FONTEXT_APITEST] Follow-up of #3585 (deb928c)
Katayama Hirofumi MZ [Tue, 6 Apr 2021 00:02:53 +0000 (09:02 +0900)]
[FONTEXT_APITEST] Follow-up of #3585 (deb928c)

Strengthen GetDisplayNameOf testcase. CORE-9281, CORE-16444

6 months ago[FONTEXT_APITEST] Show that fontext returns absolute paths with SHGDN_FORPARSING...
Mark Jansen [Mon, 5 Apr 2021 22:54:58 +0000 (00:54 +0200)]
[FONTEXT_APITEST] Show that fontext returns absolute paths with SHGDN_FORPARSING (#3585)

Add GetDisplayNameOf testcase. CORE-9281, CORE-16444

6 months ago[PARTMGR] Volume devices do not have compatible IDs and their instance IDs are not...
Eric Kohl [Mon, 5 Apr 2021 13:34:55 +0000 (15:34 +0200)]
[PARTMGR] Volume devices do not have compatible IDs and their instance IDs are not unique

6 months ago[BROWSEUI] Accept environment variables in ACLO_FILESYSDIRS
Katayama Hirofumi MZ [Mon, 5 Apr 2021 13:20:01 +0000 (22:20 +0900)]
[BROWSEUI] Accept environment variables in ACLO_FILESYSDIRS

Properly handle ACLO_FILESYSDIRS. CORE-9281

6 months ago[NTOS:PNP] PiSetDevNodeText: Do not overwrite existing DeviceDesc values
Eric Kohl [Mon, 5 Apr 2021 12:33:09 +0000 (14:33 +0200)]
[NTOS:PNP] PiSetDevNodeText: Do not overwrite existing DeviceDesc values

CORE-17513

6 months ago[BROWSEUI] Accept environment variables on auto-completion
Katayama Hirofumi MZ [Mon, 5 Apr 2021 08:20:35 +0000 (17:20 +0900)]
[BROWSEUI] Accept environment variables on auto-completion

Expand %WINDIR%, %SystemRoot% etc. at CACListISF::Expand. CORE-9281

6 months ago[BROWSEUI] Follow-up of #3582
Katayama Hirofumi MZ [Sun, 4 Apr 2021 22:43:40 +0000 (07:43 +0900)]
[BROWSEUI] Follow-up of #3582

Also fixes VK_HOME and VK_END. CORE-9281

6 months ago[BROWSEUI][BROWSEUI_APITEST] Add CLSID_ACLHistory stubs (#3582)
Katayama Hirofumi MZ [Sun, 4 Apr 2021 19:20:18 +0000 (04:20 +0900)]
[BROWSEUI][BROWSEUI_APITEST] Add CLSID_ACLHistory stubs (#3582)

- Initial implement CLSID_ACLHistory as stub.
- Add IACLHistory testcase into browseui_apitest.
CORE-9281

6 months ago[DEVMGR] Display hexadecimal values of Capabilities, ConfigFlags, DevnodeFlags and...
Eric Kohl [Sun, 4 Apr 2021 09:44:38 +0000 (11:44 +0200)]
[DEVMGR] Display hexadecimal values of Capabilities, ConfigFlags, DevnodeFlags and CsFlags

6 months ago[CMAKE] Properly generate all Bison and Flex files at build time
Serge Gautherie [Wed, 1 May 2019 15:14:49 +0000 (17:14 +0200)]
[CMAKE] Properly generate all Bison and Flex files at build time

This fully reverts 09c4d0a.

Addendum to 5375e33.
CORE-15991

6 months ago[NTOS:MM] Stubplement cookie generation for drivers 3414/head
Mark Jansen [Mon, 4 Jan 2021 21:08:48 +0000 (22:08 +0100)]
[NTOS:MM] Stubplement cookie generation for drivers

6 months ago[BROWSEUI] Fix auto-completion on relative paths (#3578)
Katayama Hirofumi MZ [Sat, 3 Apr 2021 11:38:25 +0000 (20:38 +0900)]
[BROWSEUI] Fix auto-completion on relative paths (#3578)

Fix the CLSID_ACListISF object about relative paths. If the given path is relative at CACListISF::Expand, then convert it to a full path. CORE-9281

6 months ago[BROWSEUI_APITEST] Strengthen ACListISF testcase (#3577)
Katayama Hirofumi MZ [Sat, 3 Apr 2021 07:56:49 +0000 (16:56 +0900)]
[BROWSEUI_APITEST] Strengthen ACListISF testcase (#3577)

Analyze CLSID_ACListISF's behavior about relative paths. CORE-9281

6 months ago[NTOS:EX] Use RtlCutoverTimeToSystemTime to determine the current time zone id
Eric Kohl [Sat, 3 Apr 2021 07:38:07 +0000 (09:38 +0200)]
[NTOS:EX] Use RtlCutoverTimeToSystemTime to determine the current time zone id

CORE-14658

6 months ago[SERVICES] Fix booting with DPH enabled
Mark Jansen [Fri, 2 Apr 2021 23:54:57 +0000 (01:54 +0200)]
[SERVICES] Fix booting with DPH enabled

RegSetValueExW tries to read one extra character after the buffer,
to see if a REG_SZ is null terminated

6 months ago[UMPNPMGR] Fix remaining length calculation
Mark Jansen [Fri, 2 Apr 2021 23:43:48 +0000 (01:43 +0200)]
[UMPNPMGR] Fix remaining length calculation

6 months ago[SETUPAPI] Fix wrong buffer size given to CM_Get_Device_ID_List_ExW
Hervé Poussineau [Fri, 2 Apr 2021 22:51:23 +0000 (00:51 +0200)]
[SETUPAPI] Fix wrong buffer size given to CM_Get_Device_ID_List_ExW

This buffer overflow was introduced in previous commit.

6 months ago[SETUPAPI] Use CM_* functions to get list of devices
Hervé Poussineau [Fri, 2 Apr 2021 18:00:31 +0000 (20:00 +0200)]
[SETUPAPI] Use CM_* functions to get list of devices

- this prevents duplicating the code with umpnpmgr::PNP_GetDeviceList
- we can enumerate devices on other computers

This is part of the bugfix for CORE-17529

6 months ago[SHELL32] Auto-completion on Properties for Shortcut (#3574)
Katayama Hirofumi MZ [Fri, 2 Apr 2021 08:04:43 +0000 (17:04 +0900)]
[SHELL32] Auto-completion on Properties for Shortcut (#3574)

Enable auto-completion on "Properties for Shortcut files". CORE-9281

6 months ago[NEWDEV] Enable auto-completion on Hardware Wizard (#3573)
Katayama Hirofumi MZ [Fri, 2 Apr 2021 02:06:01 +0000 (11:06 +0900)]
[NEWDEV] Enable auto-completion on Hardware Wizard (#3573)

Realize auto-completion on Hardware Wizard. CORE-9281

6 months ago[NEWDEV] Use new UI dialog for browsing folder
Katayama Hirofumi MZ [Thu, 1 Apr 2021 23:58:09 +0000 (08:58 +0900)]
[NEWDEV] Use new UI dialog for browsing folder

Add BIF_USENEWUI flag to BROWSEINFO. CORE-9281

6 months ago[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog (#3571)
Katayama Hirofumi MZ [Thu, 1 Apr 2021 13:50:32 +0000 (22:50 +0900)]
[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog (#3571)

Use new-style file open/save-as dialog.
- Add OFN_EXPLORER flag to OPENFILENAME structure in notepad, wordpad, mspaint, clipbrd, mmc, mplay32, mscutils, regedit, winhlp32, progman, shellbtrfs, cryptui, shell32, setupapi, vgafontedit, infinst, and vfdlib modules.

6 months ago[COMDLG32] Enable auto-completion on comdlg32 (#3564)
Katayama Hirofumi MZ [Wed, 31 Mar 2021 21:41:24 +0000 (06:41 +0900)]
[COMDLG32] Enable auto-completion on comdlg32 (#3564)

Auto-completion will be enabled when the user opens "Open" or "Save As" dialog of the common dialogs. CORE-9281

NOTE: The relative pathes, "..\" and "\" are not working. Those are bugs in CLSID_ACListISF.

6 months ago[WIN32K] Fix getting long value from float object
Jérôme Gardou [Mon, 22 Mar 2021 11:39:08 +0000 (12:39 +0100)]
[WIN32K] Fix getting long value from float object

Most importantly, do not shift 32-bit integers by 32 or more.

6 months ago[WIN32K] More cleanup & improvements
Jérôme Gardou [Wed, 17 Mar 2021 17:43:59 +0000 (18:43 +0100)]
[WIN32K] More cleanup & improvements

Use FLOATOBJs to perform device<->world transformations, avoiding use of XFORMOBJ all the time
Remove unused macros & functions

6 months ago[WIN32K] Use INTERNAL_LPTODP in IntLPtoDP
Jérôme Gardou [Wed, 17 Mar 2021 15:21:58 +0000 (16:21 +0100)]
[WIN32K] Use INTERNAL_LPTODP in IntLPtoDP

Instead of initializing a XFORMOBJ and whatnot

6 months ago[WIN32K] Rewrite PATH_Ellipse & PATH_RoundRect using integer arithmetics
Jérôme Gardou [Wed, 31 Mar 2021 14:17:02 +0000 (16:17 +0200)]
[WIN32K] Rewrite PATH_Ellipse & PATH_RoundRect using integer arithmetics

6 months ago[WIN32K] Reduce use of FPU in path implementation with use of FLOATOBJs
Jérôme Gardou [Wed, 31 Mar 2021 14:13:59 +0000 (16:13 +0200)]
[WIN32K] Reduce use of FPU in path implementation with use of FLOATOBJs

6 months ago[WIN32K] Fix brain-fail of mine
Jérôme Gardou [Wed, 31 Mar 2021 14:55:30 +0000 (16:55 +0200)]
[WIN32K] Fix brain-fail of mine

Copying e.g. (2;2);(6;6) to (0;0);(4;4) also needs to have an intermediate buffer.

6 months ago[WIN32K] Fix case when buffers overlap in 1BPP -> 1BPP DIB copy
Jérôme Gardou [Wed, 31 Mar 2021 13:02:20 +0000 (15:02 +0200)]
[WIN32K] Fix case when buffers overlap in 1BPP -> 1BPP DIB copy

Logic by Doug Lyons
CORE-17520

6 months ago[WIN32K] Fix off-by-one errors
Jérôme Gardou [Wed, 31 Mar 2021 07:59:44 +0000 (09:59 +0200)]
[WIN32K] Fix off-by-one errors

Spotted by Doug Lyons
CORE-17520

6 months ago[NTOS:MM] Properly fail for invalid sizes of data section mappings
Jérôme Gardou [Mon, 8 Feb 2021 13:33:08 +0000 (14:33 +0100)]
[NTOS:MM] Properly fail for invalid sizes of data section mappings

6 months ago[NTOS:MM] Fix compilation when PFN tracing is enabled
Jérôme Gardou [Thu, 11 Feb 2021 17:15:25 +0000 (18:15 +0100)]
[NTOS:MM] Fix compilation when PFN tracing is enabled

6 months ago[KDGDB] Break and ignore when being prompted.
Jérôme Gardou [Wed, 10 Feb 2021 11:26:31 +0000 (12:26 +0100)]
[KDGDB] Break and ignore when being prompted.

6 months ago[NTOS/MM] Remove an outdated check
Jérôme Gardou [Thu, 22 Oct 2020 13:26:21 +0000 (15:26 +0200)]
[NTOS/MM] Remove an outdated check

6 months ago[NTOS:MM] Fix PFN tracing
Jérôme Gardou [Tue, 30 Mar 2021 14:20:25 +0000 (16:20 +0200)]
[NTOS:MM] Fix PFN tracing

6 months ago[BROWSEUI] Enable AutoAppend of auto-completion (#3552)
Katayama Hirofumi MZ [Mon, 29 Mar 2021 21:50:32 +0000 (06:50 +0900)]
[BROWSEUI] Enable AutoAppend of auto-completion (#3552)

Fix and improve Auto-Append of auto-completion. CORE-9281
- Implement CAutoComplete::DoAutoAppend method.

6 months ago[WIDL] Do not transfer an explicit primitive binding handle to the server
Eric Kohl [Sun, 28 Mar 2021 14:20:10 +0000 (16:20 +0200)]
[WIDL] Do not transfer an explicit primitive binding handle to the server

This enables us to run WIDL-generated code on Windows XP again.
This patch has already been sent upstream.

6 months ago[LIBCNTPR] Fix a typo
Jérôme Gardou [Thu, 25 Mar 2021 10:52:22 +0000 (11:52 +0100)]
[LIBCNTPR] Fix a typo

There is no console to display to.

6 months ago[ATL] CWindowImplBaseT::WindowProc(): Narrow 2 ATLASSERT() down (#3529)
Serge Gautherie [Thu, 25 Mar 2021 10:51:29 +0000 (11:51 +0100)]
[ATL] CWindowImplBaseT::WindowProc(): Narrow 2 ATLASSERT() down (#3529)

Addendum to e076e05. CORE-17505

6 months ago[NTOS:SE] Specify the code section of SepCreateSystemProcessToken as INIT
George Bișoc [Sat, 13 Mar 2021 19:45:15 +0000 (20:45 +0100)]
[NTOS:SE] Specify the code section of SepCreateSystemProcessToken as INIT

This function is used during the Security kernel module phase initialisation to set up the system process token which the phase initialisation procedure in itself is stored in the INIT section. With that being said, do the same for SepCreateSystemProcessToken too and add a header documentation as an addition.

6 months ago[NTOS:SE] Create the anonymous logon tokens on Security initialisation phase
George Bișoc [Sat, 13 Mar 2021 19:32:18 +0000 (20:32 +0100)]
[NTOS:SE] Create the anonymous logon tokens on Security initialisation phase

6 months ago[NTOS:SE] Implement SepCreateSystemAnonymousLogonToken and SepCreateSystemAnonymousLo...
George Bișoc [Sat, 13 Mar 2021 19:11:58 +0000 (20:11 +0100)]
[NTOS:SE] Implement SepCreateSystemAnonymousLogonToken and SepCreateSystemAnonymousLogonTokenNoEveryone functions

These private functions are needed to set up two different kinds of system's anonymous logon tokens: one that includes everyone in the group and the other that doesn't. These functions are needed as next step closer to the
implementation of NtImpersonateAnonymousToken system call.

6 months ago[NTOS:SE] Set up an ACL and SD for the anonymous logon
George Bișoc [Sat, 13 Mar 2021 13:33:15 +0000 (14:33 +0100)]
[NTOS:SE] Set up an ACL and SD for the anonymous logon

6 months ago[BROWSEUI] Support ACO_USETAB and SHACF_USETAB on auto-completion (#3549)
Katayama Hirofumi MZ [Wed, 24 Mar 2021 22:42:24 +0000 (07:42 +0900)]
[BROWSEUI] Support ACO_USETAB and SHACF_USETAB on auto-completion (#3549)

Support Tab key on auto-completion. CORE-9281

6 months ago[NTOS:CC] Wake up lazy scan after inserting elements in the list.
Jérôme Gardou [Tue, 16 Feb 2021 16:17:57 +0000 (17:17 +0100)]
[NTOS:CC] Wake up lazy scan after inserting elements in the list.

6 months ago[NTOS:CC] Be verbose about why we defer writes
Jérôme Gardou [Tue, 16 Feb 2021 10:26:25 +0000 (11:26 +0100)]
[NTOS:CC] Be verbose about why we defer writes

6 months ago[CMAKE] Declare KD stub Dlls as kerneldll
Jérôme Gardou [Wed, 24 Mar 2021 13:26:15 +0000 (14:26 +0100)]
[CMAKE] Declare KD stub Dlls as kerneldll

6 months ago[SYSSETUP] security.c: Remove 3 useless casts
Serge Gautherie [Thu, 12 Nov 2020 00:22:46 +0000 (01:22 +0100)]
[SYSSETUP] security.c: Remove 3 useless casts

And
* Make 1 cast more explicit.
* Fix 1 'SamSetInformationUser' copypasta in DPRINT1() text.
* Optimize 1 '.MaximumLength' assignment.

6 months ago[NTOS:CC] Rewrite CcPostDeferredWrites
Jérôme Gardou [Thu, 18 Feb 2021 10:36:14 +0000 (11:36 +0100)]
[NTOS:CC] Rewrite CcPostDeferredWrites

This allows to post small writes if there are any, and avoid holding the list lock for a long time.

6 months ago[NTOS:KE] Explicitly cast -1 to ULONG
Jérôme Gardou [Thu, 11 Mar 2021 15:27:54 +0000 (16:27 +0100)]
[NTOS:KE] Explicitly cast -1 to ULONG

6 months ago[NTOS] Remove a definition which is redundant with ndk
Jérôme Gardou [Thu, 11 Mar 2021 15:27:08 +0000 (16:27 +0100)]
[NTOS] Remove a definition which is redundant with ndk

6 months ago[NTOS:KE] Use PNT_TIB as argument in KeSetTebBase
Jérôme Gardou [Thu, 11 Mar 2021 15:26:28 +0000 (16:26 +0100)]
[NTOS:KE] Use PNT_TIB as argument in KeSetTebBase

6 months ago[SDK:INCLUDE] Cast to type instead of PVOID
Jérôme Gardou [Thu, 11 Mar 2021 15:08:34 +0000 (16:08 +0100)]
[SDK:INCLUDE] Cast to type instead of PVOID

For C++ header compatibility

6 months ago[XDK] Undefine some defines once they are not needed
Jérôme Gardou [Thu, 11 Mar 2021 15:06:32 +0000 (16:06 +0100)]
[XDK] Undefine some defines once they are not needed

6 months ago[HHPCOMP] Add ARM (32-bit) types (#3548)
Konrad Dybcio [Wed, 24 Mar 2021 06:32:11 +0000 (07:32 +0100)]
[HHPCOMP] Add ARM (32-bit) types (#3548)

ARM32 seems to use the same type defines as i386 and friends.
Let's allow the thing to be compiled again!

CORE-17517

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
6 months ago[CSRSRV] Fix comment
Jérôme Gardou [Tue, 23 Mar 2021 17:35:13 +0000 (18:35 +0100)]
[CSRSRV] Fix comment

6 months ago[CSRSRV] Fix locking logic when destroying threads & processes
Jérôme Gardou [Tue, 23 Mar 2021 17:15:23 +0000 (18:15 +0100)]
[CSRSRV] Fix locking logic when destroying threads & processes

6 months ago[CMAKE] Move toolchain specific handling to set_module_type_toolchain
Jérôme Gardou [Tue, 23 Mar 2021 08:54:46 +0000 (09:54 +0100)]
[CMAKE] Move toolchain specific handling to set_module_type_toolchain

+ style fixes

6 months ago[CMAKE] Put .rsrc section after the INIT section on drivers, like link.exe does
Jérôme Gardou [Thu, 18 Mar 2021 08:48:22 +0000 (09:48 +0100)]
[CMAKE] Put .rsrc section after the INIT section on drivers, like link.exe does

6 months ago[CMAKE] Use the "kernel" module type for ntoskrnl and ntkrnlmp
Jérôme Gardou [Wed, 24 Feb 2021 10:47:18 +0000 (11:47 +0100)]
[CMAKE] Use the "kernel" module type for ntoskrnl and ntkrnlmp

6 months ago[CMAKE] Add the kernel module type
Jérôme Gardou [Wed, 24 Feb 2021 10:46:53 +0000 (11:46 +0100)]
[CMAKE] Add the kernel module type

Take this as an occasion to use target_link_options more

6 months ago[CMAKE] Fixup of driver sections in GCC builds
Jérôme Gardou [Wed, 24 Feb 2021 09:20:18 +0000 (10:20 +0100)]
[CMAKE] Fixup of driver sections in GCC builds

Also introduce a helper variable to list KMode modules

6 months ago[SDK:TOOLS] Add --driver option to pefixup
Jérôme Gardou [Wed, 24 Feb 2021 09:14:40 +0000 (10:14 +0100)]
[SDK:TOOLS] Add --driver option to pefixup

For now, this adds IMAGE_SCN_MEM_DISCARDABLE to the INIT section, and IMAGE_SCN_MEM_NOT_PAGED to sections which are not named PAGE or .reloc

6 months ago[CMAKE] Restore using LD linker script with GCC
Jérôme Gardou [Tue, 23 Feb 2021 17:29:13 +0000 (18:29 +0100)]
[CMAKE] Restore using LD linker script with GCC

6 months ago[CMAKE] Put INIT section before .reloc and not after.
Jérôme Gardou [Tue, 23 Feb 2021 17:26:43 +0000 (18:26 +0100)]
[CMAKE] Put INIT section before .reloc and not after.

CORE-14683

6 months ago[WIN32K] Rewrite DIB1BPP -> DIB1BPP copy
Jérôme Gardou [Mon, 22 Mar 2021 14:59:15 +0000 (15:59 +0100)]
[WIN32K] Rewrite DIB1BPP -> DIB1BPP copy

Simpler is sometimes better.
Fixes some crashes & memory corruptions happening because of all those broken loops.

6 months ago[NTOS:MM] Fix integer arithmetics
Jérôme Gardou [Mon, 22 Mar 2021 09:01:39 +0000 (10:01 +0100)]
[NTOS:MM] Fix integer arithmetics