ReactOS 0.4.16-dev-122-g325d74c
|
#include <ntifs.h>
#include <ntintsafe.h>
#include <ndk/ntndk.h>
#include <pseh/pseh2.h>
#include <aux_klib.h>
Go to the source code of this file.
Macros | |
#define | TAG_AUXK 'AuxK' |
Typedefs | |
typedef NTSTATUS(NTAPI * | PFN_RTLQUERYMODULEINFORMATION) (PULONG, ULONG, PVOID) |
Functions | |
NTSTATUS NTAPI | AuxKlibInitialize (VOID) |
NTSTATUS NTAPI | AuxKlibQueryModuleInformation (_In_ PULONG InformationLength, _In_ ULONG SizePerModule, _Inout_ PAUX_MODULE_EXTENDED_INFO ModuleInfo) |
NTSTATUS | AuxKlibGetBugCheckData (_Inout_ PKBUGCHECK_DATA BugCheckData) |
PIMAGE_EXPORT_DIRECTORY | AuxKlibGetImageExportDirectory (_In_ PVOID ImageBase) |
_IRQL_requires_max_ (PASSIVE_LEVEL) | |
Queries information details about a security descriptor. | |
Variables | |
PFN_RTLQUERYMODULEINFORMATION | pfnRtlQueryModuleInformation |
LONG | gKlibInitialized = 0 |
#define TAG_AUXK 'AuxK' |
Definition at line 15 of file aux_klib.c.
Definition at line 17 of file aux_klib.c.
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
[in] | SecurityInformation | Security information details to be queried from a security descriptor. |
[out] | SecurityDescriptor | The returned security descriptor with security information data. |
[in,out] | Length | The returned length of a security descriptor. |
[in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | SecurityDescriptor | A security descriptor to be freed from memory. |
[in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | ObjectType | The type of the new object. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | SecurityDescriptor | A security descriptor. |
[out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Definition at line 203 of file aux_klib.c.
NTSTATUS AuxKlibGetBugCheckData | ( | _Inout_ PKBUGCHECK_DATA | BugCheckData | ) |
Definition at line 178 of file aux_klib.c.
Referenced by FxpBugCheckCallbackFilter().
PIMAGE_EXPORT_DIRECTORY AuxKlibGetImageExportDirectory | ( | _In_ PVOID | ImageBase | ) |
Definition at line 196 of file aux_klib.c.
Definition at line 26 of file aux_klib.c.
Referenced by FxpGetImageBase().
NTSTATUS NTAPI AuxKlibQueryModuleInformation | ( | _In_ PULONG | InformationLength, |
_In_ ULONG | SizePerModule, | ||
_Inout_ PAUX_MODULE_EXTENDED_INFO | ModuleInfo | ||
) |
Definition at line 53 of file aux_klib.c.
Referenced by FxpGetImageBase().
LONG gKlibInitialized = 0 |
Definition at line 20 of file aux_klib.c.
Referenced by AuxKlibInitialize(), and AuxKlibQueryModuleInformation().
PFN_RTLQUERYMODULEINFORMATION pfnRtlQueryModuleInformation |
Definition at line 19 of file aux_klib.c.
Referenced by AuxKlibInitialize(), and AuxKlibQueryModuleInformation().