ReactOS 0.4.16-dev-424-ge4748fe
|
#include "ob_x.h"
Go to the source code of this file.
Classes | |
struct | _OBP_SET_HANDLE_ATTRIBUTES_CONTEXT |
struct | _OBP_CLOSE_HANDLE_CONTEXT |
struct | _OBP_FIND_HANDLE_DATA |
struct | _SECURITY_DESCRIPTOR_HEADER |
struct | _OB_SD_CACHE_LIST |
union | ALIGNEDNAME |
struct | _OB_TEMP_BUFFER |
#define GENERIC_ACCESS |
#define OBJ_HANDLE_ATTRIBUTES |
#define OBP_SYSTEM_PROCESS_QUOTA ((PEPROCESS_QUOTA_BLOCK)(ULONG_PTR)1) |
#define ObpGetHandleObject | ( | x | ) | ((POBJECT_HEADER)((ULONG_PTR)x->Object & ~OBJ_HANDLE_ATTRIBUTES)) |
#define ObpGetHeaderForEntry | ( | x | ) | CONTAINING_RECORD((x), SECURITY_DESCRIPTOR_HEADER, Link) |
#define ObpGetHeaderForSd | ( | x | ) | CONTAINING_RECORD((x), SECURITY_DESCRIPTOR_HEADER, SecurityDescriptor) |
typedef struct _OB_SD_CACHE_LIST OB_SD_CACHE_LIST |
typedef struct _OB_TEMP_BUFFER OB_TEMP_BUFFER |
typedef struct _OB_SD_CACHE_LIST * POB_SD_CACHE_LIST |
typedef struct _OB_TEMP_BUFFER * POB_TEMP_BUFFER |
typedef struct _OBP_FIND_HANDLE_DATA * POBP_FIND_HANDLE_DATA |
NTSTATUS NTAPI ObAssignObjectSecurityDescriptor | ( | IN PVOID | Object, |
IN PSECURITY_DESCRIPTOR SecurityDescriptor | OPTIONAL, | ||
IN POOL_TYPE | PoolType | ||
) |
Definition at line 20 of file obsecure.c.
Referenced by SeDefaultObjectMethod(), and WmipSecurityMethod().
BOOLEAN NTAPI ObCheckCreateObjectAccess | ( | IN PVOID | Object, |
IN ACCESS_MASK | CreateAccess, | ||
IN PACCESS_STATE | AccessState, | ||
IN PUNICODE_STRING | ComponentName, | ||
IN BOOLEAN | LockHeld, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 203 of file obsecure.c.
Referenced by ObpLookupObjectName().
BOOLEAN NTAPI ObCheckObjectAccess | ( | IN PVOID | Object, |
IN OUT PACCESS_STATE | AccessState, | ||
IN BOOLEAN | LockHeld, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PNTSTATUS | ReturnedStatus | ||
) |
Definition at line 441 of file obsecure.c.
Referenced by CmpDoOpen(), and ObpIncrementHandleCount().
Definition at line 2027 of file obhandle.c.
Referenced by NtTerminateProcess(), and PspTerminateProcess().
NTSTATUS NTAPI ObDeassignSecurity | ( | IN OUT PSECURITY_DESCRIPTOR * | SecurityDescriptor | ) |
Definition at line 60 of file obsecure.c.
Referenced by SeDefaultObjectMethod(), and WmipSecurityMethod().
Definition at line 456 of file devicemap.c.
Referenced by PspDeleteProcess(), and PspSetPrimaryToken().
Definition at line 88 of file obref.c.
Referenced by ExpTimerApcKernelRoutine(), ExTimerRundown(), NtCancelTimer(), NtSetTimer(), ObFastReferenceObject(), ObFastReplaceObject(), and PspCreateThread().
Definition at line 48 of file obhandle.c.
Referenced by ObClearProcessHandleTable(), ObDuplicateObject(), ObFindHandleForObject(), ObGetProcessHandleCount(), and ObInitProcess().
NTSTATUS NTAPI ObDuplicateObject | ( | IN PEPROCESS | SourceProcess, |
IN HANDLE | SourceHandle, | ||
IN PEPROCESS TargetProcess | OPTIONAL, | ||
IN PHANDLE TargetHandle | OPTIONAL, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | HandleAttributes, | ||
IN ULONG | Options, | ||
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 2204 of file obhandle.c.
Referenced by DbgkpOpenHandles(), and NtDuplicateObject().
Definition at line 167 of file obref.c.
Referenced by PsImpersonateClient(), PspCreateProcess(), PspCreateThread(), PspExitThread(), PspInitializeProcessSecurity(), PspSetPrimaryToken(), SeIsTokenChild(), SeIsTokenSibling(), SepImpersonateAnonymousToken(), SepOpenThreadToken(), and SeReleaseSubjectContext().
PVOID FASTCALL ObFastReferenceObject | ( | IN PEX_FAST_REF | FastRef | ) |
Definition at line 132 of file obref.c.
Referenced by PsReferenceEffectiveToken(), and PsReferencePrimaryToken().
PVOID FASTCALL ObFastReferenceObjectLocked | ( | IN PEX_FAST_REF | FastRef | ) |
Definition at line 119 of file obref.c.
Referenced by PsReferenceEffectiveToken(), and PsReferencePrimaryToken().
Referenced by SeDeassignPrimaryToken(), and SeExchangePrimaryToken().
VOID FASTCALL ObfDereferenceDeviceMap | ( | IN PDEVICE_MAP | DeviceMap | ) |
Definition at line 477 of file devicemap.c.
Referenced by ObDereferenceDeviceMap(), ObpLookupObjectName(), ObpSetCurrentProcessDeviceMap(), ObQueryDeviceMapInformation(), ObSetDeviceMap(), SeGetLogonIdDeviceMap(), SepRmDeleteLogonSession(), and SepRmDereferenceLogonSession().
VOID NTAPI ObFreeObjectCreateInfoBuffer | ( | IN POBJECT_CREATE_INFORMATION | ObjectCreateInfo | ) |
Definition at line 603 of file oblife.c.
Referenced by IoCreateStreamFileObjectLite().
Definition at line 56 of file obhandle.c.
Referenced by NtQueryInformationProcess(), and QSI_DEF().
Definition at line 511 of file devicemap.c.
Referenced by PspCreateProcess().
Definition at line 107 of file obref.c.
Referenced by PspInitializeProcessSecurity(), SeAssignPrimaryToken(), and SepInitializationPhase0().
Definition at line 2090 of file obhandle.c.
Referenced by PspCreateProcess().
Definition at line 203 of file obinit.c.
Referenced by ExpInitializeExecutive(), and Phase1InitializationDiscard().
Definition at line 662 of file devicemap.c.
Referenced by NtQueryInformationProcess(), and PspSetPrimaryToken().
Definition at line 2160 of file obhandle.c.
Referenced by PspDeleteProcess(), and PspExitThread().
NTSTATUS NTAPI ObpCaptureObjectCreateInformation | ( | IN POBJECT_ATTRIBUTES | ObjectAttributes, |
IN KPROCESSOR_MODE | AccessMode, | ||
IN KPROCESSOR_MODE | CreatorMode, | ||
IN BOOLEAN | AllocateFromLookaside, | ||
IN POBJECT_CREATE_INFORMATION | ObjectCreateInfo, | ||
OUT PUNICODE_STRING | ObjectName | ||
) |
Definition at line 455 of file oblife.c.
Referenced by ObCreateObject(), and ObOpenObjectByName().
NTSTATUS NTAPI ObpCaptureObjectName | ( | IN PUNICODE_STRING | CapturedName, |
IN PUNICODE_STRING | ObjectName, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN BOOLEAN | AllocateFromLookaside | ||
) |
Referenced by ObReferenceObjectByName().
BOOLEAN NTAPI ObpCheckObjectReference | ( | IN PVOID | Object, |
IN OUT PACCESS_STATE | AccessState, | ||
IN BOOLEAN | LockHeld, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 340 of file obsecure.c.
Referenced by ObReferenceObjectByName().
BOOLEAN NTAPI ObpCheckTraverseAccess | ( | IN PVOID | Object, |
IN ACCESS_MASK | TraverseAccess, | ||
IN PACCESS_STATE AccessState | OPTIONAL, | ||
IN BOOLEAN | LockHeld, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 267 of file obsecure.c.
Referenced by ObpLookupObjectName().
Definition at line 177 of file obname.c.
Referenced by ObInitSystem().
VOID NTAPI ObpCreateSymbolicLinkName | ( | IN POBJECT_SYMBOLIC_LINK | SymbolicLink | ) |
Definition at line 334 of file oblink.c.
Referenced by ObInsertObject().
BOOLEAN NTAPI ObpDeleteEntryDirectory | ( | IN POBP_LOOKUP_CONTEXT | Context | ) |
Referenced by ObpDeleteNameCheck().
Definition at line 301 of file obname.c.
Referenced by ObInsertObject(), ObpDecrementHandleCount(), and ObpSetPermanentObject().
Definition at line 147 of file oblife.c.
Referenced by ObfDereferenceObject(), and ObpReapObject().
Definition at line 1417 of file oblife.c.
Referenced by ObInitSystem().
Referenced by ObInitSystem().
VOID NTAPI ObpDeleteSymbolicLinkName | ( | IN POBJECT_SYMBOLIC_LINK | SymbolicLink | ) |
Definition at line 326 of file oblink.c.
Referenced by ObpDeleteNameCheck().
VOID NTAPI ObpFreeObjectNameBuffer | ( | IN PUNICODE_STRING | Name | ) |
Definition at line 346 of file oblife.c.
Referenced by ObCreateObject(), ObOpenObjectByName(), ObpCaptureObjectName(), and ObReferenceObjectByName().
Definition at line 61 of file obsdcach.c.
Referenced by ObInitSystem().
BOOLEAN NTAPI ObpInsertEntryDirectory | ( | IN POBJECT_DIRECTORY | Parent, |
IN POBP_LOOKUP_CONTEXT | Context, | ||
IN POBJECT_HEADER | ObjectHeader | ||
) |
Definition at line 45 of file obdir.c.
Referenced by ObCreateObjectType(), ObInitSystem(), and ObpLookupObjectName().
PVOID NTAPI ObpLookupEntryDirectory | ( | IN POBJECT_DIRECTORY | Directory, |
IN PUNICODE_STRING | Name, | ||
IN ULONG | Attributes, | ||
IN UCHAR | SearchShadow, | ||
IN POBP_LOOKUP_CONTEXT | Context | ||
) |
Definition at line 158 of file obdir.c.
Referenced by ObCreateObjectType(), ObInitSystem(), ObpDeleteNameCheck(), ObpLookupObjectName(), and ObpProcessDosDeviceSymbolicLink().
NTSTATUS NTAPI ObpLookupObjectName | ( | IN HANDLE RootHandle | OPTIONAL, |
IN OUT PUNICODE_STRING | ObjectName, | ||
IN ULONG | Attributes, | ||
IN POBJECT_TYPE | ObjectType, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN OUT PVOID | ParseContext, | ||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
IN PVOID InsertObject | OPTIONAL, | ||
IN OUT PACCESS_STATE | AccessState, | ||
OUT POBP_LOOKUP_CONTEXT | LookupContext, | ||
OUT PVOID * | FoundObject | ||
) |
Definition at line 446 of file obname.c.
Referenced by ObInsertObject(), ObOpenObjectByName(), and ObReferenceObjectByName().
NTSTATUS NTAPI ObpParseSymbolicLink | ( | IN PVOID | ParsedObject, |
IN PVOID | ObjectType, | ||
IN OUT PACCESS_STATE | AccessState, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | Attributes, | ||
IN OUT PUNICODE_STRING | FullPath, | ||
IN OUT PUNICODE_STRING | RemainingName, | ||
IN OUT PVOID Context | OPTIONAL, | ||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
OUT PVOID * | NextObject | ||
) |
Definition at line 431 of file oblink.c.
Referenced by ObInitSystem(), and ObpLookupObjectName().
Definition at line 220 of file oblife.c.
Referenced by ObInitSystem().
PDEVICE_MAP NTAPI ObpReferenceDeviceMap | ( | VOID | ) |
Definition at line 325 of file devicemap.c.
Referenced by ObpLookupObjectName(), and ObQueryDeviceMapInformation().
PSECURITY_DESCRIPTOR NTAPI ObpReferenceSecurityDescriptor | ( | IN POBJECT_HEADER | ObjectHeader | ) |
Definition at line 181 of file obsdcach.c.
Referenced by ObGetObjectSecurity(), ObQuerySecurityDescriptorInfo(), and ObSetSecurityDescriptorInfo().
BOOLEAN NTAPI ObpSetHandleAttributes | ( | IN OUT PHANDLE_TABLE_ENTRY | HandleTableEntry, |
IN ULONG_PTR | Context | ||
) |
Definition at line 1859 of file obhandle.c.
Referenced by NtSetInformationObject(), and ObSetHandleAttributes().
Definition at line 266 of file oblife.c.
Referenced by NtMakePermanentObject(), NtMakeTemporaryObject(), and ObMakeTemporaryObject().
NTSTATUS NTAPI ObQueryDeviceMapInformation | ( | _In_opt_ PEPROCESS | Process, |
_Out_ PPROCESS_DEVICEMAP_INFORMATION | DeviceMapInfo, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 539 of file devicemap.c.
Referenced by NtQueryInformationProcess().
NTSTATUS NTAPI ObQuerySecurityDescriptorInfo | ( | IN PVOID | Object, |
IN PSECURITY_INFORMATION | SecurityInformation, | ||
OUT PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
IN OUT PULONG | Length, | ||
IN PSECURITY_DESCRIPTOR * | OutputSecurityDescriptor | ||
) |
Definition at line 85 of file obsecure.c.
Referenced by SeDefaultObjectMethod(), and WmipSecurityMethod().
NTSTATUS NTAPI ObReferenceFileObjectForWrite | ( | IN HANDLE | Handle, |
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PFILE_OBJECT * | FileObject, | ||
OUT POBJECT_HANDLE_INFORMATION | HandleInformation | ||
) |
Definition at line 200 of file obref.c.
Referenced by NtWriteFile().
Definition at line 77 of file obref.c.
Referenced by ObFastReferenceObject(), ObFastReplaceObject(), ObInitializeFastReference(), and PspCreateThread().
Definition at line 22 of file obref.c.
Referenced by _Function_class_(), CmpFlushNotifiesOnKeyBodyList(), NtImpersonateClientOfPort(), NtRequestPort(), PsGetNextProcess(), PsGetNextProcessThread(), PsLookupProcessByProcessId(), PsLookupProcessThreadByCid(), PsLookupThreadByThreadId(), PspExitThread(), and SepCleanupLUIDDeviceMapDirectory().
PHANDLE_TABLE NTAPI ObReferenceProcessHandleTable | ( | IN PEPROCESS | Process | ) |
Definition at line 26 of file obhandle.c.
Referenced by ObClearProcessHandleTable(), ObDuplicateObject(), ObFindHandleForObject(), ObGetProcessHandleCount(), and ObInitProcess().
Definition at line 24 of file devicemap.c.
Referenced by NtSetInformationProcess(), and ObpCreateDosDevicesDirectory().
Definition at line 149 of file devicemap.c.
Referenced by SeGetLogonIdDeviceMap().
NTSTATUS NTAPI ObSetSecurityDescriptorInfo | ( | IN PVOID | Object, |
IN PSECURITY_INFORMATION | SecurityInformation, | ||
IN OUT PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
IN OUT PSECURITY_DESCRIPTOR * | OutputSecurityDescriptor, | ||
IN POOL_TYPE | PoolType, | ||
IN PGENERIC_MAPPING | GenericMapping | ||
) |
Definition at line 117 of file obsecure.c.
Referenced by SeDefaultObjectMethod(), and WmipSecurityMethod().
|
extern |
Definition at line 38 of file iomgr.c.
Referenced by IopUpdateOperationCount(), and IopUpdateTransferCount().
GENERAL_LOOKASIDE ObpCreateInfoLookasideList |
Definition at line 644 of file ob.h.
Referenced by ObInit2(), and ObInitSystem().
|
extern |
Definition at line 23 of file oblife.c.
Referenced by ObCreateObjectType().
|
extern |
Definition at line 24 of file oblife.c.
Referenced by ObDereferenceDeviceMap(), ObfDereferenceDeviceMap(), ObInheritDeviceMap(), ObInitSystem(), ObpGetShadowDirectory(), ObpProcessDosDeviceSymbolicLink(), ObpReferenceDeviceMap(), ObpSetCurrentProcessDeviceMap(), ObQueryDeviceMapInformation(), ObSetDeviceMap(), and ObSetDirectoryDeviceMap().
|
extern |
Definition at line 20 of file obdir.c.
Referenced by NtCreateDirectoryObject(), NtOpenDirectoryObject(), and NtQueryDirectoryObject().
|
extern |
Definition at line 25 of file obname.c.
Referenced by ObpLookupObjectName(), and ObpProcessDosDeviceSymbolicLink().
|
extern |
Definition at line 23 of file obname.c.
Referenced by ObpLookupObjectName(), and ObpProcessDosDeviceSymbolicLink().
|
extern |
Definition at line 24 of file obname.c.
Referenced by ObpCreateDosDevicesDirectory(), and ObpLookupObjectName().
|
extern |
Definition at line 20 of file obhandle.c.
Referenced by NtSetInformationObject(), NtWaitForMultipleObjects(), ObInitSystem(), ObpCloseHandle(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpReferenceProcessObjectByHandle(), ObQueryObjectAuditingByHandle(), ObReferenceFileObjectForWrite(), ObReferenceObjectByHandle(), and ObSetHandleAttributes().
|
extern |
Definition at line 17 of file devicemap.c.
Referenced by ObpCreateDosDevicesDirectory().
|
extern |
Definition at line 18 of file devicemap.c.
Referenced by ObIsLUIDDeviceMapsEnabled(), ObpCreateDosDevicesDirectory(), ObpLookupEntryDirectory(), ObpProcessDosDeviceSymbolicLink(), ObpReferenceDeviceMap(), and ObQueryDeviceMapInformation().
|
extern |
Definition at line 26 of file oblife.c.
Referenced by ObInit2(), and ObInitSystem().
|
extern |
Definition at line 57 of file obinit.c.
Referenced by ObpCreateDosDevicesDirectory(), and ObpGetDosDevicesProtection().
Definition at line 29 of file oblife.c.
Referenced by ObpDeferObjectDeletion(), and ObpReapObject().
|
extern |
Definition at line 28 of file oblife.c.
Referenced by ObInitSystem(), and ObpDeferObjectDeletion().
|
extern |
Definition at line 19 of file obname.c.
Referenced by ObInitSystem(), ObpLookupObjectName(), ObpProcessDosDeviceSymbolicLink(), and ObQueryNameString().
|
extern |
Definition at line 19 of file oblink.c.
Referenced by NtCreateSymbolicLinkObject(), NtOpenSymbolicLinkObject(), NtQuerySymbolicLinkObject(), and ObpProcessDosDeviceSymbolicLink().
|
extern |
Definition at line 20 of file obname.c.
Referenced by ObCreateObjectType(), and ObInitSystem().
|
extern |
Definition at line 22 of file oblife.c.
Referenced by ObCreateObjectType().
|
extern |
Definition at line 32 of file obname.c.
Referenced by ObpIsUnsecureName().