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

43
xtoskrnl/se/audit.cc Normal file
View File

@@ -0,0 +1,43 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/se/audit.cc
* DESCRIPTION: Security Auditing
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.hh>
/**
* Generates a security audit alarm for an object access operation.
*
* @param SubsystemName
* Supplies the name of the subsystem triggering the audit alarm.
*
* @param HandleId
* Supplies the handle or identifier of the object being accessed.
*
* @param ObjectTypeName
* Supplies the name of the object type being accessed.
*
* @param AccessMask
* Supplies the access mask containing the specific rights that triggered the audit.
*
* @param UserSid
* Optionally supplies the SID of the user initiating the operation.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTAPI
VOID
SE::Audit::OperationAuditAlarm(IN PUNICODE_STRING SubsystemName,
IN PVOID HandleId,
IN PUNICODE_STRING ObjectTypeName,
IN ACCESS_MASK AccessMask,
IN PSID UserSid)
{
UNIMPLEMENTED;
}