ReactOS
0.4.14-dev-583-g2a1ba2c
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define NDEBUG |
Definition at line 13 of file accesschk.c.
NTSTATUS NTAPI NtAccessCheck | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN HANDLE | TokenHandle, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
OUT PPRIVILEGE_SET PrivilegeSet | OPTIONAL, | ||
IN OUT PULONG | PrivilegeSetLength, | ||
OUT PACCESS_MASK | GrantedAccess, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 529 of file accesschk.c.
Referenced by AccessCheck(), and CheckTokenMembership().
NTSTATUS NTAPI NtAccessCheckByType | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PSID | PrincipalSelfSid, | ||
IN HANDLE | ClientToken, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_TYPE_LIST | ObjectTypeList, | ||
IN ULONG | ObjectTypeLength, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
IN PPRIVILEGE_SET | PrivilegeSet, | ||
IN OUT PULONG | PrivilegeSetLength, | ||
OUT PACCESS_MASK | GrantedAccess, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 774 of file accesschk.c.
NTSTATUS NTAPI NtAccessCheckByTypeResultList | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PSID | PrincipalSelfSid, | ||
IN HANDLE | ClientToken, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_TYPE_LIST | ObjectTypeList, | ||
IN ULONG | ObjectTypeLength, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
IN PPRIVILEGE_SET | PrivilegeSet, | ||
IN OUT PULONG | PrivilegeSetLength, | ||
OUT PACCESS_MASK | GrantedAccess, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 792 of file accesschk.c.
BOOLEAN NTAPI SeAccessCheck | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PSECURITY_SUBJECT_CONTEXT | SubjectSecurityContext, | ||
IN BOOLEAN | SubjectContextLocked, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ACCESS_MASK | PreviouslyGrantedAccess, | ||
OUT PPRIVILEGE_SET * | Privileges, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PACCESS_MASK | GrantedAccess, | ||
OUT PNTSTATUS | AccessStatus | ||
) |
Definition at line 340 of file accesschk.c.
Referenced by create_stream(), FatExplicitDeviceAccessGranted(), file_create(), IopParseDevice(), NpCreateClientEnd(), NpCreateExistingNamedPipe(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), open_file2(), PspCreateProcess(), PspCreateThread(), PspSetPrimaryToken(), set_link_information(), set_rename_information(), START_TEST(), and UDFCheckAccessRights().
BOOLEAN NTAPI SeFastTraverseCheck | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PACCESS_STATE | AccessState, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN KPROCESSOR_MODE | AccessMode | ||
) |
Definition at line 460 of file accesschk.c.
Referenced by IopParseDevice(), and ObpCheckTraverseAccess().
BOOLEAN NTAPI SepAccessCheck | ( | IN PSECURITY_DESCRIPTOR | SecurityDescriptor, |
IN PSECURITY_SUBJECT_CONTEXT | SubjectSecurityContext, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN POBJECT_TYPE_LIST | ObjectTypeList, | ||
IN ULONG | ObjectTypeListLength, | ||
IN ACCESS_MASK | PreviouslyGrantedAccess, | ||
OUT PPRIVILEGE_SET * | Privileges, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
OUT PACCESS_MASK | GrantedAccessList, | ||
OUT PNTSTATUS | AccessStatusList, | ||
IN BOOLEAN | UseResultList | ||
) |
Definition at line 25 of file accesschk.c.
Referenced by NtAccessCheck(), and SeAccessCheck().
|
static |
Definition at line 321 of file accesschk.c.
Referenced by NtAccessCheck().
|
static |
Definition at line 305 of file accesschk.c.
Referenced by NtAccessCheck().
|
static |
Definition at line 290 of file accesschk.c.
Referenced by NtAccessCheck().