ReactOS 0.4.16-dev-1067-ge98bba2
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
NTSTATUS NTAPI | SepCaptureSecurityQualityOfService (_In_opt_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ KPROCESSOR_MODE AccessMode, _In_ POOL_TYPE PoolType, _In_ BOOLEAN CaptureIfKernel, _Out_ PSECURITY_QUALITY_OF_SERVICE *CapturedSecurityQualityOfService, _Out_ PBOOLEAN Present) |
Captures the security quality of service data given the object attributes from an object. | |
VOID NTAPI | SepReleaseSecurityQualityOfService (_In_opt_ PSECURITY_QUALITY_OF_SERVICE CapturedSecurityQualityOfService, _In_ KPROCESSOR_MODE AccessMode, _In_ BOOLEAN CaptureIfKernel) |
Releases (frees) the captured SQOS data from an object in the memory pool. | |
NTSTATUS NTAPI SepCaptureSecurityQualityOfService | ( | _In_opt_ POBJECT_ATTRIBUTES | ObjectAttributes, |
_In_ KPROCESSOR_MODE | AccessMode, | ||
_In_ POOL_TYPE | PoolType, | ||
_In_ BOOLEAN | CaptureIfKernel, | ||
_Out_ PSECURITY_QUALITY_OF_SERVICE * | CapturedSecurityQualityOfService, | ||
_Out_ PBOOLEAN | Present | ||
) |
Captures the security quality of service data given the object attributes from an object.
[in] | ObjectAttributes | Attributes of an object where SQOS is to be retrieved. If the caller doesn't fill object attributes to the function, it automatically assumes SQOS is not present, or if, there's no SQOS present in the object attributes list of the object itself. |
[in] | AccessMode | Processor access mode. |
[in] | PoolType | The pool type for the captured SQOS to be used for allocation. |
[in] | CaptureIfKernel | Capture access condition. To be set to TRUE if the capture is done within the kernel, FALSE if the capture is done in a kernel mode driver or user mode otherwise. |
[out] | CapturedSecurityQualityOfService | The captured SQOS data from the object. |
[out] | Present | Returns TRUE if SQOS is present in an object, FALSE otherwise. FALSE is also immediately returned if no object attributes is given to the call. |
Definition at line 52 of file sqos.c.
Referenced by NtDuplicateToken().
VOID NTAPI SepReleaseSecurityQualityOfService | ( | _In_opt_ PSECURITY_QUALITY_OF_SERVICE | CapturedSecurityQualityOfService, |
_In_ KPROCESSOR_MODE | AccessMode, | ||
_In_ BOOLEAN | CaptureIfKernel | ||
) |
Releases (frees) the captured SQOS data from an object in the memory pool.
[in] | CapturedSecurityQualityOfService | The captured SQOS data to be released. |
[in] | AccessMode | Processor access mode. |
[in] | CaptureIfKernel | Capture access condition. To be set to TRUE if the capture is done within the kernel, FALSE if the capture is done in a kernel mode driver or user mode otherwise. |
Definition at line 225 of file sqos.c.
Referenced by NtDuplicateToken().