From 7a42d9e54486f47e894f0c2a4e002569bae627d9 Mon Sep 17 00:00:00 2001 From: Duang Liu Date: Sun, 12 Feb 2023 10:28:02 +0800 Subject: [PATCH] Typo Fix --- .github/workflows/codespell.yml | 2 +- CHANGELOG.md | 4 ++-- Sandboxie/apps/start/start.cpp | 2 +- Sandboxie/core/dll/file.c | 2 +- Sandboxie/core/dll/proc.c | 2 +- Sandboxie/core/drv/process_low.c | 2 +- Sandboxie/core/drv/syscall_open.c | 2 +- Sandboxie/install/Templates.ini | 2 +- SandboxiePlus/QSbieAPI/Helpers/NtIO.cpp | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 26d6f6bd..7da2352a 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -66,12 +66,12 @@ jobs: echo 'isoaltion->isolation' >> dictionary.txt echo 'symbolicl->symbolic' >> dictionary.txt echo 're enable->re-enable' >> dictionary.txt - echo 'appcontainer->app container' >> dictionary.txt echo 'foder->folder' >> dictionary.txt echo 'fodername1->foldername1' >> dictionary.txt echo 'fodler->folder' >> dictionary.txt echo 'built in->built-in' >> dictionary.txt echo 'tigether->together' >> dictionary.txt + echo 'auxyliary->auxiliary' >> dictionary.txt # Only lowercase letters are allowed in --ignore-words-list codespell --dictionary=dictionary.txt --dictionary=dictionary_rare.txt --dictionary=dictionary_code.txt \ --ignore-words-list="wil,unknwn,tolen,pevent,doubleclick,parm,parms,etcp,ois,ba,ptd,modell,namesd,stdio,uint,errorstring,ontext,atend,deque,ecounter,nmake,namess,inh,daa,varient,lite,uis,emai,ws,slanguage" \ diff --git a/CHANGELOG.md b/CHANGELOG.md index aa70e982..e4e7ba64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,13 +10,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [1.7.3 / 5.62.3] - 2023-02-?? ### Added -- Run menu now supports folders, to be used by entering fodername1\foldername2\entryname in the name column of the UI +- Run menu now supports folders, to be used by entering foldername1\foldername2\entryname in the name column of the UI - added an tray indicator for pending updates - added virtualization for CreateDirectoryObject(Ex) and OpenDirectoryObject (improves security, prevents name squating) ### Changed - 'OpenProtectedStorage=y' has been replaced with a template -- moved all built in access rules to a set of default template’s +- moved all built in access rules to a set of default templates - moved WinInetCache control to a template OpenWinInetCache, 'CloseWinInetCache=y' is now obsolete - added hook for CreateAppContainerToken, should also improve compatibility with other apps [#1926](https://github.com/sandboxie-plus/Sandboxie/issues/1926) -- note: Template_Edge_Fix is no longer required diff --git a/Sandboxie/apps/start/start.cpp b/Sandboxie/apps/start/start.cpp index be97116d..581b2d16 100644 --- a/Sandboxie/apps/start/start.cpp +++ b/Sandboxie/apps/start/start.cpp @@ -1065,7 +1065,7 @@ int Program_Start(void) ExpandEnvironmentStrings(cmdline, expanded, 8192); // - // When the service proces has a manifest which requires elevated privileges, + // When the service process has a manifest which requires elevated privileges, // CreateProcess will fail if we did not start with a elevated token. // To fix this issue we always fake being elevated when starting a service. // diff --git a/Sandboxie/core/dll/file.c b/Sandboxie/core/dll/file.c index 9e98d9b0..7cedbd04 100644 --- a/Sandboxie/core/dll/file.c +++ b/Sandboxie/core/dll/file.c @@ -3231,7 +3231,7 @@ ReparseLoop: status = STATUS_OBJECT_PATH_NOT_FOUND; // - // if this is a create operation check if the parent fodler is ok and if so clear the error + // if this is a create operation check if the parent folder is ok and if so clear the error // if (CreateDisposition != FILE_OPEN && CreateDisposition != FILE_OVERWRITE) { diff --git a/Sandboxie/core/dll/proc.c b/Sandboxie/core/dll/proc.c index f796068f..d78a9f21 100644 --- a/Sandboxie/core/dll/proc.c +++ b/Sandboxie/core/dll/proc.c @@ -444,7 +444,7 @@ _FX BOOLEAN Proc_Init(void) // When not in Compartment mode, windows AppContainer isolation is not supported // hook the CreateAppContainerToken and return a regular token // we hook CreateAppContainerToken rather then NtCreateLowBoxToken - // as we dont waht CreateAppContainerToken to fail when + // as we dont what CreateAppContainerToken to fail when // \Sessions\*\AppContainerNamedObjects\* is not open // diff --git a/Sandboxie/core/drv/process_low.c b/Sandboxie/core/drv/process_low.c index 40851ce2..2505323a 100644 --- a/Sandboxie/core/drv/process_low.c +++ b/Sandboxie/core/drv/process_low.c @@ -264,7 +264,7 @@ _FX NTSTATUS Process_Low_Api_InjectComplete(PROCESS *proc, ULONG64 *parms) // // the service synamically allocates a per box SID to be used, - // if no SID is provided this feature is eider disabled or failed + // if no SID is provided this feature is either disabled or failed // then we fall back to using the default anonymous SID // diff --git a/Sandboxie/core/drv/syscall_open.c b/Sandboxie/core/drv/syscall_open.c index 9ccec477..574e5af2 100644 --- a/Sandboxie/core/drv/syscall_open.c +++ b/Sandboxie/core/drv/syscall_open.c @@ -275,7 +275,7 @@ _FX NTSTATUS Syscall_OpenHandle( // // During early process initializarion stage OpenDirectoryObject is invoked with DIRECTORY_ALL_ACCESS - // so we strip the "write" permissions here untill the sbiedll finishes loading + // so we strip the "write" permissions here until the SbieDll finishes loading // if (strcmp(syscall_entry->name, "OpenDirectoryObject") == 0 && !proc->sbiedll_loaded){ diff --git a/Sandboxie/install/Templates.ini b/Sandboxie/install/Templates.ini index 307e5761..925ce437 100644 --- a/Sandboxie/install/Templates.ini +++ b/Sandboxie/install/Templates.ini @@ -353,7 +353,7 @@ OpenWinClass=devldr # # Network access rules -# depanding on preset eider the "Open" or the "Close" directives are applied +# depending on preset either the "Open" or the "Close" directives are applied # [TemplateNetworkPaths] diff --git a/SandboxiePlus/QSbieAPI/Helpers/NtIO.cpp b/SandboxiePlus/QSbieAPI/Helpers/NtIO.cpp index da15a3d8..06002097 100644 --- a/SandboxiePlus/QSbieAPI/Helpers/NtIO.cpp +++ b/SandboxiePlus/QSbieAPI/Helpers/NtIO.cpp @@ -192,7 +192,7 @@ NTSTATUS NtIo_RenameFileOrFolder(POBJECT_ATTRIBUTES src_objattrs, POBJECT_ATTRIB if (!NT_SUCCESS(status)) return status; - HANDLE dst_handle = NULL; // open destination fodler + HANDLE dst_handle = NULL; // open destination folder status = NtCreateFile(&dst_handle, FILE_GENERIC_READ, dest_objattrs, &IoStatusBlock, NULL, 0, // for dir? FILE_ATTRIBUTE_NORMAL FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,