ReactOS 0.4.16-dev-197-g92996da
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
NTSTATUS NTAPI | SeCreateAccessStateEx (_In_ PETHREAD Thread, _In_ PEPROCESS Process, _Out_ PACCESS_STATE AccessState, _Out_ __drv_aliasesMem PAUX_ACCESS_DATA AuxData, _In_ ACCESS_MASK Access, _In_ PGENERIC_MAPPING GenericMapping) |
An extended function that creates an access state. | |
NTSTATUS NTAPI | SeCreateAccessState (_Out_ PACCESS_STATE AccessState, _Out_ __drv_aliasesMem PAUX_ACCESS_DATA AuxData, _In_ ACCESS_MASK Access, _In_ PGENERIC_MAPPING GenericMapping) |
Creates an access state. | |
VOID NTAPI | SeDeleteAccessState (_In_ PACCESS_STATE AccessState) |
Deletes an allocated access state from the memory. | |
VOID NTAPI | SeSetAccessStateGenericMapping (_In_ PACCESS_STATE AccessState, _In_ PGENERIC_MAPPING GenericMapping) |
Sets a new generic mapping for an allocated access state. | |
NTSTATUS NTAPI SeCreateAccessState | ( | _Out_ PACCESS_STATE | AccessState, |
_Out_ __drv_aliasesMem PAUX_ACCESS_DATA | AuxData, | ||
_In_ ACCESS_MASK | Access, | ||
_In_ PGENERIC_MAPPING | GenericMapping | ||
) |
Creates an access state.
[out] | AccessState | An initialized returned parameter to an access state. |
[out] | AuxData | Auxiliary security data for access state. |
[in] | Access | Type of access mask to assign. |
[in] | GenericMapping | Generic mapping for the access state to assign. |
Definition at line 121 of file access.c.
Referenced by NtOpenProcess(), NtOpenThread(), ObDuplicateObject(), ObInsertObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObReferenceObjectByName(), and START_TEST().
NTSTATUS NTAPI SeCreateAccessStateEx | ( | _In_ PETHREAD | Thread, |
_In_ PEPROCESS | Process, | ||
_Out_ PACCESS_STATE | AccessState, | ||
_Out_ __drv_aliasesMem PAUX_ACCESS_DATA | AuxData, | ||
_In_ ACCESS_MASK | Access, | ||
_In_ PGENERIC_MAPPING | GenericMapping | ||
) |
An extended function that creates an access state.
[in] | Thread | Valid thread object where subject context is to be captured. |
[in] | Process | Valid process object where subject context is to be captured. |
[out] | AccessState | An initialized returned parameter to an access state. |
[out] | AuxData | Auxiliary security data for access state. |
[in] | Access | Type of access mask to assign. |
[in] | GenericMapping | Generic mapping for the access state to assign. |
Definition at line 43 of file access.c.
Referenced by SeCreateAccessState().
VOID NTAPI SeDeleteAccessState | ( | _In_ PACCESS_STATE | AccessState | ) |
Deletes an allocated access state from the memory.
[in] | AccessState | A valid access state. |
Definition at line 150 of file access.c.
Referenced by NtOpenProcess(), NtOpenThread(), ObDuplicateObject(), ObInsertObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObReferenceObjectByName(), PspCreateProcess(), PspCreateThread(), and START_TEST().
VOID NTAPI SeSetAccessStateGenericMapping | ( | _In_ PACCESS_STATE | AccessState, |
_In_ PGENERIC_MAPPING | GenericMapping | ||
) |
Sets a new generic mapping for an allocated access state.
[in] | AccessState | A valid access state. |
[in] | GenericMapping | New generic mapping to assign. |
Definition at line 193 of file access.c.
Referenced by IopParseDevice().