ReactOS 0.4.16-dev-401-g45b008d
|
#include <pshpack4.h>
#include <poppack.h>
Go to the source code of this file.
Functions | |
$if (_WDMDDK_||_WINNT_) typedef PVOID PSECURITY_DESCRIPTOR | |
$endif (_WDMDDK_||_WINNT_) $if(_WINNT_) $endif(_WINNT_) $if(_WDMDDK_) typedef enum _SECURITY_OPERATION_CODE | |
$endif (_WDMDDK_) $if(_NTDDK_) $endif(_NTDDK_) $if(_NTDDK_||_WINNT_) typedef enum _WELL_KNOWN_SID_TYPE | |
$endif (_NTDDK_||_WINNT_) $if(_NTIFS_||_WINNT_) typedef struct _SID_IDENTIFIER_AUTHORITY | |
$endif (_NTIFS_||_WINNT_) $if(_NTIFS_) typedef struct _SE_ACCESS_REPLY | |
Variables | |
SECURITY_OPERATION_CODE | |
* | PSECURITY_OPERATION_CODE |
WELL_KNOWN_SID_TYPE | |
SID_IDENTIFIER_AUTHORITY | |
* | PSID_IDENTIFIER_AUTHORITY |
* | LPSID_IDENTIFIER_AUTHORITY |
SE_ACCESS_REPLY | |
* | PSE_ACCESS_REPLY |
#define DEFAULT_IMPERSONATION_LEVEL SecurityImpersonation |
#define DISABLE_MAX_PRIVILEGE 0x1 |
#define DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS (0x00000230L) |
#define DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP (0x0000023BL) |
#define DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP (0x0000023EL) |
#define DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP (0x0000023DL) |
#define DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS (0x0000022DL) |
#define DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS (0x0000022CL) |
#define DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP (0x0000023CL) |
#define DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS (0x0000022BL) |
#define DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS (0x000001F2L) |
#define DOMAIN_GROUP_RID_READONLY_CONTROLLERS (0x00000209L) |
#define LSAP_SE_ADT_PARAMETER_ARRAY_TRUE_SIZE | ( | Parameters | ) |
#define LUA_TOKEN 0x4 |
#define MANDATORY_LEVEL_TO_MANDATORY_RID | ( | IL | ) | (IL * 0x1000) |
#define MAX_ACL_REVISION ACL_REVISION4 |
#define MIN_ACL_REVISION ACL_REVISION2 |
#define SANDBOX_INERT 0x2 |
#define SE_MAX_WELL_KNOWN_PRIVILEGE SE_CREATE_SYMBOLIC_LINK_PRIVILEGE |
#define SE_PRIVILEGE_VALID_ATTRIBUTES |
#define SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE 0x00000002 |
#define SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE 0x00000001 |
#define SE_UNSOLICITED_INPUT_PRIVILEGE 6 |
#define SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID (0x00000055L) |
#define SECURITY_CRED_TYPE_THIS_ORG_CERT_RID (0x00000001L) |
#define SECURITY_DESCRIPTOR_MIN_LENGTH (sizeof(SECURITY_DESCRIPTOR)) |
#define SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID (0x00000016L) |
#define SECURITY_MANDATORY_MAXIMUM_USER_RID SECURITY_MANDATORY_SYSTEM_RID |
#define SECURITY_MANDATORY_PROTECTED_PROCESS_RID (0x00005000L) |
#define SECURITY_MAX_IMPERSONATION_LEVEL SecurityDelegation |
#define SECURITY_MIN_IMPERSONATION_LEVEL SecurityAnonymous |
#define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID |
#define SECURITY_USERMODEDRIVERHOST_ID_BASE_RID (0x00000054L) |
#define SEF_MACL_VALID_FLAGS (SEF_MACL_NO_WRITE_UP | SEF_MACL_NO_READ_UP | SEF_MACL_NO_EXECUTE_UP) |
#define SID_IDENTIFIER_AUTHORITY_DEFINED |
#define STANDARD_RIGHTS_EXECUTE READ_CONTROL |
#define STANDARD_RIGHTS_READ READ_CONTROL |
#define STANDARD_RIGHTS_WRITE READ_CONTROL |
#define SYSTEM_MANDATORY_LABEL_VALID_MASK |
#define TOKEN_ALL_ACCESS (TOKEN_ALL_ACCESS_P | TOKEN_ADJUST_SESSIONID) |
#define TOKEN_ALL_ACCESS_P |
#define TOKEN_EXECUTE (STANDARD_RIGHTS_EXECUTE) |
#define TOKEN_HAS_ADMIN_GROUP TOKEN_WRITE_RESTRICTED |
#define TOKEN_MANDATORY_POLICY_VALID_MASK |
#define TOKEN_READ (STANDARD_RIGHTS_READ | TOKEN_QUERY) |
#define TOKEN_WRITE |
#define UNPROTECTED_DACL_SECURITY_INFORMATION (0x20000000L) |
#define UNPROTECTED_SACL_SECURITY_INFORMATION (0x10000000L) |
#define VALID_IMPERSONATION_LEVEL | ( | Level | ) | (((Level) >= SECURITY_MIN_IMPERSONATION_LEVEL) && ((Level) <= SECURITY_MAX_IMPERSONATION_LEVEL)) |
#define WRITE_RESTRICTED 0x8 |
typedef $ULONG ACCESS_MASK |
typedef $ULONG ACCESS_REASON |
typedef struct _ACCESS_REASONS ACCESS_REASONS |
typedef struct _ACCESS_STATE ACCESS_STATE |
typedef struct _ACE_HEADER ACE_HEADER |
typedef enum _AUDIT_EVENT_TYPE AUDIT_EVENT_TYPE |
typedef struct _GENERIC_MAPPING GENERIC_MAPPING |
typedef struct _TOKEN_GROUPS * LPTOKEN_GROUPS |
typedef struct _TOKEN_PRIVILEGES * LPTOKEN_PRIVILEGES |
typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY] |
typedef enum _MANDATORY_LEVEL MANDATORY_LEVEL |
typedef struct _OBJECT_TYPE_LIST OBJECT_TYPE_LIST |
typedef struct _ACCESS_ALLOWED_ACE * PACCESS_ALLOWED_ACE |
typedef struct _ACCESS_DENIED_ACE * PACCESS_DENIED_ACE |
typedef $ULONG * PACCESS_MASK |
typedef struct _ACCESS_REASONS * PACCESS_REASONS |
typedef struct _ACCESS_STATE * PACCESS_STATE |
typedef PVOID PACCESS_TOKEN |
typedef struct _ACE_HEADER * PACE_HEADER |
typedef enum _AUDIT_EVENT_TYPE * PAUDIT_EVENT_TYPE |
typedef struct _GENERIC_MAPPING * PGENERIC_MAPPING |
typedef struct _SECURITY_DESCRIPTOR * PISECURITY_DESCRIPTOR |
typedef struct _LUID_AND_ATTRIBUTES * PLUID_AND_ATTRIBUTES |
typedef enum _MANDATORY_LEVEL * PMANDATORY_LEVEL |
typedef VOID(NTAPI * PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR) (_In_ PVOID Vcb, _In_ PSECURITY_DESCRIPTOR SecurityDescriptor) |
typedef struct _OBJECT_TYPE_LIST * POBJECT_TYPE_LIST |
typedef struct _PRIVILEGE_SET * PPRIVILEGE_SET |
typedef struct _PRIVILEGE_SET PRIVILEGE_SET |
typedef struct _SE_ACCESS_REQUEST * PSE_ACCESS_REQUEST |
typedef struct _SE_ADT_ACCESS_REASON * PSE_ADT_ACCESS_REASON |
typedef struct _SE_ADT_OBJECT_TYPE * PSE_ADT_OBJECT_TYPE |
typedef enum _SE_ADT_PARAMETER_TYPE * PSE_ADT_PARAMETER_TYPE |
typedef struct _SE_AUDIT_INFO * PSE_AUDIT_INFO |
typedef enum _SE_AUDIT_OPERATION * PSE_AUDIT_OPERATION |
typedef struct _SE_EXPORTS * PSE_EXPORTS |
typedef BOOLEAN * PSECURITY_CONTEXT_TRACKING_MODE |
typedef $USHORT * PSECURITY_DESCRIPTOR_CONTROL |
typedef $ULONG * PSECURITY_INFORMATION |
static NTSTATUS *static PSID_AND_ATTRIBUTES |
Definition at line 130 of file security.c.
typedef ULONG_PTR * PSID_HASH_ENTRY |
typedef enum _SID_NAME_USE * PSID_NAME_USE |
typedef struct _SYSTEM_ALARM_ACE * PSYSTEM_ALARM_ACE |
typedef struct _SYSTEM_AUDIT_ACE * PSYSTEM_AUDIT_ACE |
typedef struct _TOKEN_AUDIT_POLICY * PTOKEN_AUDIT_POLICY |
typedef struct _TOKEN_CONTROL * PTOKEN_CONTROL |
typedef struct _TOKEN_DEFAULT_DACL * PTOKEN_DEFAULT_DACL |
typedef struct _TOKEN_ELEVATION * PTOKEN_ELEVATION |
typedef struct _TOKEN_GROUPS * PTOKEN_GROUPS |
typedef struct _TOKEN_LINKED_TOKEN * PTOKEN_LINKED_TOKEN |
typedef struct _TOKEN_ORIGIN * PTOKEN_ORIGIN |
typedef struct _TOKEN_OWNER * PTOKEN_OWNER |
typedef struct _TOKEN_PRIMARY_GROUP * PTOKEN_PRIMARY_GROUP |
typedef struct _TOKEN_PRIVILEGES * PTOKEN_PRIVILEGES |
typedef struct _TOKEN_SOURCE * PTOKEN_SOURCE |
typedef struct _TOKEN_STATISTICS * PTOKEN_STATISTICS |
typedef enum _TOKEN_TYPE * PTOKEN_TYPE |
typedef struct _TOKEN_USER * PTOKEN_USER |
typedef struct _SE_AUDIT_INFO SE_AUDIT_INFO |
typedef struct _SE_EXPORTS SE_EXPORTS |
typedef $USHORT SECURITY_DESCRIPTOR_CONTROL |
typedef $ULONG SECURITY_INFORMATION |
typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY] |
typedef ULONG_PTR SID_HASH_ENTRY |
typedef enum _SID_NAME_USE SID_NAME_USE |
typedef struct _SYSTEM_ALARM_ACE SYSTEM_ALARM_ACE |
typedef struct _SYSTEM_AUDIT_ACE SYSTEM_AUDIT_ACE |
typedef struct _TOKEN_CONTROL TOKEN_CONTROL |
typedef struct _TOKEN_ELEVATION TOKEN_ELEVATION |
typedef struct _TOKEN_GROUPS TOKEN_GROUPS |
typedef struct _TOKEN_ORIGIN TOKEN_ORIGIN |
typedef struct _TOKEN_OWNER TOKEN_OWNER |
typedef struct _TOKEN_PRIVILEGES TOKEN_PRIVILEGES |
typedef struct _TOKEN_SOURCE TOKEN_SOURCE |
typedef struct _TOKEN_STATISTICS TOKEN_STATISTICS |
typedef enum _TOKEN_TYPE TOKEN_TYPE |
typedef struct _TOKEN_USER TOKEN_USER |
Definition at line 882 of file setypes.h.
Enumerator | |
---|---|
MandatoryLevelUntrusted | |
MandatoryLevelLow | |
MandatoryLevelMedium | |
MandatoryLevelHigh | |
MandatoryLevelSystem | |
MandatoryLevelSecureProcess | |
MandatoryLevelCount |
Definition at line 1110 of file setypes.h.
Definition at line 271 of file setypes.h.
Definition at line 1132 of file setypes.h.
Enumerator | |
---|---|
SecurityAnonymous | |
SecurityIdentification | |
SecurityImpersonation | |
SecurityDelegation | |
SecurityAnonymous | |
SecurityIdentification | |
SecurityImpersonation | |
SecurityDelegation |
Definition at line 91 of file setypes.h.
Definition at line 489 of file setypes.h.
Definition at line 965 of file setypes.h.
Enumerator | |
---|---|
TokenPrimary | |
TokenImpersonation | |
TokenPrimary | |
TokenImpersonation |
$endif | ( | _NTDDK_|| | _WINNT_ | ) |
Definition at line 457 of file setypes.h.
$endif | ( | _NTIFS_|| | _WINNT_ | ) |
Definition at line 1120 of file setypes.h.
$endif | ( | _WDMDDK_ | ) |
Definition at line 339 of file setypes.h.
$endif | ( | _WDMDDK_|| | _WINNT_ | ) |
Definition at line 1 of file extypes.h.
* PSID_IDENTIFIER_AUTHORITY |
Definition at line 464 of file setypes.h.
Referenced by GetTextSid(), GetTextualSid(), test_GetSidIdentifierAuthority(), and test_pack_PSID_IDENTIFIER_AUTHORITY().
WELL_KNOWN_SID_TYPE |
Definition at line 455 of file setypes.h.
Referenced by check_4_special_identifiers(), is_well_known_sid(), and test_sid().