Add initial security subsystem
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 25s
Builds / ExectOS (amd64, release) (push) Failing after 36s
Builds / ExectOS (i686, release) (push) Failing after 35s
Builds / ExectOS (i686, debug) (push) Failing after 27s

This commit is contained in:
2026-07-04 00:09:07 +02:00
parent 0ccf20f0c9
commit 66f74be947
7 changed files with 245 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/se/privileg.hh
* DESCRIPTION: Privileges Management
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_SE_PRIVILEG_HH
#define __XTOSKRNL_SE_PRIVILEG_HH
#include <xtos.hh>
/* Kernel Security */
namespace SE
{
class Privileges
{
public:
STATIC XTAPI BOOLEAN CheckSinglePrivilege(LUID PrivilegeValue,
KPROCESSOR_MODE ProcessorMode);
};
}
#endif /* __XTOSKRNL_SE_PRIVILEG_HH */