From 17f23fff413cb0ad22c32ab493a8b990de4fee90 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Thu, 9 Jul 2026 20:25:15 +0200 Subject: [PATCH] Implement skeleton switch for object security --- xtoskrnl/ob/security.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/xtoskrnl/ob/security.cc b/xtoskrnl/ob/security.cc index 1a8634a..6b73c4c 100644 --- a/xtoskrnl/ob/security.cc +++ b/xtoskrnl/ob/security.cc @@ -53,6 +53,22 @@ OB::Security::ProcessObjectSecurityDescriptor(IN PVOID Object, IN MMPOOL_TYPE PoolType, IN PGENERIC_MAPPING GenericMapping) { + /* Switch on the operation code */ + switch(OperationCode) + { + case AssignSecurityDescriptor: + break; + case DeleteSecurityDescriptor: + break; + case QuerySecurityDescriptor: + break; + case SetSecurityDescriptor: + break; + default: + KE::Crash::Panic(0x29, 0, STATUS_INVALID_PARAMETER, 0, 0); + break; + } + UNIMPLEMENTED; /* Return success */