From ea884b5e4c2942a8ca0d33bd8698e835dc61213f Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sat, 22 Jul 2023 09:32:15 +0200 Subject: [PATCH] fix --- CHANGELOG.md | 1 + Sandboxie/core/drv/conf.c | 2 +- Sandboxie/core/drv/syscall.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 384f3918..15f73ecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - fixed 'Addon already installed!' error when clicking 'Show Stack Trace' [#3114](https://github.com/sandboxie-plus/Sandboxie/issues/3114) - fixed existing BoxNameTitle=process.exe,- removed when toggling other options [#3106](https://github.com/sandboxie-plus/Sandboxie/issues/3106) - fixed asynchroniusly assigned PCA job not being properly detected [#1919](https://github.com/sandboxie-plus/Sandboxie/issues/1919) +- fixed incompatybility with first windows 10 release [#3117](https://github.com/sandboxie-plus/Sandboxie/issues/3117) diff --git a/Sandboxie/core/drv/conf.c b/Sandboxie/core/drv/conf.c index 89e81820..8d7baea3 100644 --- a/Sandboxie/core/drv/conf.c +++ b/Sandboxie/core/drv/conf.c @@ -1508,7 +1508,7 @@ _FX NTSTATUS Conf_Api_Reload(PROCESS *proc, ULONG64 *parms) /* #ifdef HOOK_WIN32K // must be windows 10 or later - if (Driver_OsBuild >= 10041) { + if (Driver_OsBuild >= 14393) { extern ULONG Syscall_MaxIndex32; if (Conf_Get_Boolean(NULL, L"EnableWin32kHooks", 0, FALSE) && Syscall_MaxIndex32 == 0) { if(Syscall_Init_List32()){ diff --git a/Sandboxie/core/drv/syscall.c b/Sandboxie/core/drv/syscall.c index 266a1f32..2be0aed0 100644 --- a/Sandboxie/core/drv/syscall.c +++ b/Sandboxie/core/drv/syscall.c @@ -147,7 +147,7 @@ _FX BOOLEAN Syscall_Init(void) return FALSE; #ifdef HOOK_WIN32K - if (Driver_OsBuild >= 10041 && Conf_Get_Boolean(NULL, L"EnableWin32kHooks", 0, TRUE)) { + if (Driver_OsBuild >= 14393 && Conf_Get_Boolean(NULL, L"EnableWin32kHooks", 0, TRUE)) { if (!Syscall_Init_List32()) return FALSE;