Files
exectos/xtoskrnl/se/privileg.cc
Aiken Harris 66f74be947
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
Add initial security subsystem
2026-07-04 00:09:07 +02:00

35 lines
854 B
C++

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/se/privileg.cc
* DESCRIPTION: Privileges Management
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#include <xtos.hh>
/**
* Checks if the current thread's access token holds a specific privilege.
*
* @param PrivilegeValue
* Supplies the locally unique identifier (LUID) of the privilege to check.
*
* @param ProcessorMode
* Supplies the processor mode from which the request originated.
*
* @return This routine returns TRUE if the privilege is held, or FALSE otherwise.
*
* @since XT 1.0
*/
XTAPI
BOOLEAN
SE::Privileges::CheckSinglePrivilege(LUID PrivilegeValue,
KPROCESSOR_MODE ProcessorMode)
{
UNIMPLEMENTED;
/* Return TRUE */
return TRUE;
}