Add security access and audit interfaces
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 27s
Builds / ExectOS (i686, debug) (push) Successful in 43s
Builds / ExectOS (amd64, release) (push) Successful in 45s
Builds / ExectOS (i686, release) (push) Successful in 31s

This commit is contained in:
2026-07-10 13:01:36 +02:00
parent 30abb5be98
commit 130e797dd9
8 changed files with 162 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ SE::Descriptor::ComputeQuotaInformationSize(IN PSECURITY_DESCRIPTOR SecurityDesc
* @param ProcessorMode
* Supplies the processor mode that was originally used to capture the descriptor.
*
* @param ForceRelease
* @param Force
* Supplies a boolean value indicating whether to force the deallocation.
*
* @return This routine does not return any value.
@@ -112,10 +112,10 @@ XTAPI
VOID
SE::Descriptor::ReleaseSecurityDescriptor(IN PSECURITY_DESCRIPTOR Descriptor,
IN KPROCESSOR_MODE ProcessorMode,
IN BOOLEAN ForceRelease)
IN BOOLEAN Force)
{
/* Check if the descriptor should be released */
if(((ProcessorMode == KernelMode) && (ForceRelease == TRUE)) || (ProcessorMode == UserMode))
if(((ProcessorMode == KernelMode) && (Force == TRUE)) || (ProcessorMode == UserMode))
{
/* Ensure the descriptor is valid */
if(Descriptor)