ReactOS
0.4.15-dev-2320-gf3e1697
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
ERESOURCE | SepSubjectContextLock |
VOID NTAPI SeCaptureSubjectContext | ( | OUT PSECURITY_SUBJECT_CONTEXT | SubjectContext | ) |
Definition at line 301 of file access.c.
Referenced by create_directory_fcb(), create_subvol(), fcb_get_sd(), HasPrivilege(), KsCreateDefaultSecurity(), mknod(), nfs41_get_sec_ctx(), nfs41_GetLUID(), nfs41_UpcallCreate(), NtAccessCheck(), NtCloseObjectAuditAlarm(), NtOpenObjectAuditAlarm(), NtPrivilegedServiceAuditAlarm(), NtSetUuidSeed(), RxStartMinirdr(), SeCheckPrivilegedObject(), SepAccessCheckAndAuditAlarm(), SeReportSecurityEvent(), SeSinglePrivilegeCheck(), set_link_information(), set_rename_information(), START_TEST(), SystemThread(), UDFCheckAccessRights(), and UDFSetAccessRights().
VOID NTAPI SeCaptureSubjectContextEx | ( | IN PETHREAD | Thread, |
IN PEPROCESS | Process, | ||
OUT PSECURITY_SUBJECT_CONTEXT | SubjectContext | ||
) |
Definition at line 266 of file access.c.
Referenced by SeCaptureSubjectContext(), and SeCreateAccessStateEx().
NTSTATUS NTAPI SeCreateAccessState | ( | IN OUT PACCESS_STATE | AccessState, |
IN PAUX_ACCESS_DATA | AuxData, | ||
IN ACCESS_MASK | Access, | ||
IN PGENERIC_MAPPING | GenericMapping | ||
) |
Definition at line 439 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, | ||
IN OUT PACCESS_STATE | AccessState, | ||
IN PAUX_ACCESS_DATA | AuxData, | ||
IN ACCESS_MASK | Access, | ||
IN PGENERIC_MAPPING | GenericMapping | ||
) |
Definition at line 378 of file access.c.
Referenced by PspCreateProcess(), PspCreateThread(), and SeCreateAccessState().
NTSTATUS NTAPI SeCreateClientSecurity | ( | IN PETHREAD | Thread, |
IN PSECURITY_QUALITY_OF_SERVICE | Qos, | ||
IN BOOLEAN | RemoteClient, | ||
OUT PSECURITY_CLIENT_CONTEXT | ClientContext | ||
) |
Definition at line 506 of file access.c.
Referenced by CmLoadKey(), NpGetClientSecurityContext(), NpInitializeSecurity(), NtImpersonateClientOfPort(), NtImpersonateThread(), NtSecureConnectPort(), and VfdOpenCheck().
NTSTATUS NTAPI SeCreateClientSecurityFromSubjectContext | ( | IN PSECURITY_SUBJECT_CONTEXT | SubjectContext, |
IN PSECURITY_QUALITY_OF_SERVICE | ClientSecurityQos, | ||
IN BOOLEAN | ServerIsRemote, | ||
OUT PSECURITY_CLIENT_CONTEXT | ClientContext | ||
) |
Definition at line 549 of file access.c.
Referenced by nfs41_get_sec_ctx(), nfs41_GetLUID(), and nfs41_UpcallCreate().
VOID NTAPI SeDeleteAccessState | ( | IN PACCESS_STATE | AccessState | ) |
Definition at line 460 of file access.c.
Referenced by NtOpenProcess(), NtOpenThread(), ObDuplicateObject(), ObInsertObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObReferenceObjectByName(), PspCreateProcess(), PspCreateThread(), and START_TEST().
VOID NTAPI SeGetTokenControlInformation | ( | IN PACCESS_TOKEN | _Token, |
OUT PTOKEN_CONTROL | TokenControl | ||
) |
Definition at line 151 of file access.c.
Referenced by SepCreateClientSecurity().
VOID NTAPI SeImpersonateClient | ( | IN PSECURITY_CLIENT_CONTEXT | ClientContext, |
IN PETHREAD ServerThread | OPTIONAL | ||
) |
Definition at line 623 of file access.c.
Referenced by NtImpersonateThread(), and VfdIoCtlThread().
NTSTATUS NTAPI SeImpersonateClientEx | ( | IN PSECURITY_CLIENT_CONTEXT | ClientContext, |
IN PETHREAD ServerThread | OPTIONAL | ||
) |
Definition at line 589 of file access.c.
Referenced by CmpCmdHiveOpen(), handle_upcall(), NpImpersonateClientContext(), NtImpersonateClientOfPort(), and SeImpersonateClient().
VOID NTAPI SeLockSubjectContext | ( | IN PSECURITY_SUBJECT_CONTEXT | SubjectContext | ) |
Definition at line 314 of file access.c.
Referenced by create_stream(), FatExplicitDeviceAccessGranted(), file_create(), HasPrivilege(), IopParseDevice(), NpCreateClientEnd(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), open_file2(), SeAccessCheck(), and START_TEST().
NTSTATUS NTAPI SepCreateClientSecurity | ( | IN PACCESS_TOKEN | Token, |
IN PSECURITY_QUALITY_OF_SERVICE | ClientSecurityQos, | ||
IN BOOLEAN | ServerIsRemote, | ||
IN TOKEN_TYPE | TokenType, | ||
IN BOOLEAN | ThreadEffectiveOnly, | ||
IN SECURITY_IMPERSONATION_LEVEL | ImpersonationLevel, | ||
OUT PSECURITY_CLIENT_CONTEXT | ClientContext | ||
) |
Definition at line 174 of file access.c.
Referenced by SeCreateClientSecurity(), and SeCreateClientSecurityFromSubjectContext().
Definition at line 111 of file access.c.
Referenced by SepAccessCheck(), and SepTokenIsOwner().
BOOLEAN NTAPI SepSidInTokenEx | ( | IN PACCESS_TOKEN | _Token, |
IN PSID | PrincipalSelfSid, | ||
IN PSID | _Sid, | ||
IN BOOLEAN | Deny, | ||
IN BOOLEAN | Restricted | ||
) |
Definition at line 25 of file access.c.
Referenced by SepSidInToken(), and SepTokenIsOwner().
BOOLEAN NTAPI SepTokenIsOwner | ( | IN PACCESS_TOKEN | _Token, |
IN PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
IN BOOLEAN | TokenLocked | ||
) |
Definition at line 120 of file access.c.
Referenced by NtAccessCheck(), and SeAccessCheck().
VOID NTAPI SeReleaseSubjectContext | ( | IN PSECURITY_SUBJECT_CONTEXT | SubjectContext | ) |
Definition at line 360 of file access.c.
Referenced by FatExplicitDeviceAccessGranted(), FsRtlCancelNotify(), FsRtlNotifyCleanup(), FsRtlNotifyFilterChangeDirectory(), HasPrivilege(), KsCreateDefaultSecurity(), nfs41_get_sec_ctx(), nfs41_GetLUID(), nfs41_UpcallCreate(), NtAccessCheck(), NtCloseObjectAuditAlarm(), NtOpenObjectAuditAlarm(), NtPrivilegedServiceAuditAlarm(), NtSetUuidSeed(), RxStartMinirdr(), SeCheckPrivilegedObject(), SeDeleteAccessState(), SepAccessCheckAndAuditAlarm(), SeReportSecurityEvent(), SeSinglePrivilegeCheck(), set_link_information(), set_rename_information(), SystemThread(), UDFCheckAccessRights(), and UDFSetAccessRights().
VOID NTAPI SeSetAccessStateGenericMapping | ( | IN PACCESS_STATE | AccessState, |
IN PGENERIC_MAPPING | GenericMapping | ||
) |
Definition at line 492 of file access.c.
Referenced by IopParseDevice().
VOID NTAPI SeUnlockSubjectContext | ( | IN PSECURITY_SUBJECT_CONTEXT | SubjectContext | ) |
Definition at line 336 of file access.c.
Referenced by create_stream(), FatExplicitDeviceAccessGranted(), file_create(), HasPrivilege(), IopParseDevice(), NpCreateClientEnd(), NpCreateExistingNamedPipe(), NpCreateNewNamedPipe(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), open_file2(), SeAccessCheck(), START_TEST(), and TestSeAssignSecurity().
ERESOURCE SepSubjectContextLock |
Definition at line 19 of file access.c.
Referenced by SepInitializationPhase0().