#include "sep.h"
#include "adt.h"
#include "seopaque.h"
Go to the source code of this file.
|
Definition at line 1071 of file seglobal.c. References ASSERT, DoublePrivilegeSetSize, ExAllocatePoolWithTag, NULL, PAGED_CODE, PagedPool, POOL_RAISE_IF_ALLOCATION_FAILURE, SepDoublePrivilegeSet, SepSystemSecurityPrivilegeSet, SepTakeOwnershipPrivilegeSet, and SinglePrivilegeSetSize. Referenced by SepAccessCheck().
|
|
Definition at line 1019 of file seglobal.c. References DoublePrivilegeSetSize, ExAllocatePoolWithTag, PAGED_CODE, PagedPool, POOL_RAISE_IF_ALLOCATION_FAILURE, SepDoublePrivilegeSet, SepSystemSecurityPrivilegeSet, SepTakeOwnershipPrivilegeSet, SeSecurityPrivilege, SeTakeOwnershipPrivilege, and SinglePrivilegeSetSize. Referenced by SepVariableInitialization().
|
|
Definition at line 1152 of file seglobal.c. References ExInitializeResource, PAGED_CODE, SepLsaQueue, SepLsaQueueLock, and TRUE. Referenced by SepInitializationPhase0().
|
|
Definition at line 651 of file seglobal.c. References ASSERT, ExAllocatePoolWithTag, FALSE, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PagedPool, POOL_RAISE_IF_ALLOCATION_FAILURE, RtlAddAccessAllowedAce(), RtlCreateAcl(), RtlCreateSecurityDescriptor(), RtlSetDaclSecurityDescriptor(), SeAliasAdminsSid, SeLengthSid, SeLocalSystemSid, SepPublicDefaultSd, SepPublicDefaultUnrestrictedSd, SepPublicOpenSd, SepPublicOpenUnrestrictedSd, SepSystemDefaultSd, SePublicDefaultDacl, SePublicDefaultSd, SePublicDefaultUnrestrictedDacl, SePublicDefaultUnrestrictedSd, SePublicOpenDacl, SePublicOpenSd, SePublicOpenUnrestrictedDacl, SePublicOpenUnrestrictedSd, SepUnrestrictedSd, SeRestrictedSid, SeSystemDefaultDacl, SeSystemDefaultSd, SeUnrestrictedDacl, SeUnrestrictedSd, SeWorldSid, Status, and TRUE. Referenced by SepVariableInitialization().
|
|
Definition at line 307 of file seglobal.c. References ExAllocatePoolWithTag, FALSE, NULL, PAGED_CODE, PagedPool, POOL_RAISE_IF_ALLOCATION_FAILURE, RtlInitializeSid(), RtlLengthRequiredSid(), RtlSubAuthoritySid(), _SE_EXPORTS::SeAliasAccountOpsSid, SeAliasAccountOpsSid, _SE_EXPORTS::SeAliasAdminsSid, SeAliasAdminsSid, _SE_EXPORTS::SeAliasBackupOpsSid, SeAliasBackupOpsSid, _SE_EXPORTS::SeAliasGuestsSid, SeAliasGuestsSid, _SE_EXPORTS::SeAliasPowerUsersSid, SeAliasPowerUsersSid, _SE_EXPORTS::SeAliasPrintOpsSid, SeAliasPrintOpsSid, _SE_EXPORTS::SeAliasSystemOpsSid, SeAliasSystemOpsSid, _SE_EXPORTS::SeAliasUsersSid, SeAliasUsersSid, _SE_EXPORTS::SeAnonymousLogonSid, SeAnonymousLogonSid, _SE_EXPORTS::SeAssignPrimaryTokenPrivilege, SeAssignPrimaryTokenPrivilege, _SE_EXPORTS::SeAuditPrivilege, SeAuditPrivilege, _SE_EXPORTS::SeAuthenticatedUsersSid, SeAuthenticatedUsersSid, _SE_EXPORTS::SeBackupPrivilege, SeBackupPrivilege, _SE_EXPORTS::SeBatchSid, SeBatchSid, _SE_EXPORTS::SeChangeNotifyPrivilege, SeChangeNotifyPrivilege, _SE_EXPORTS::SeCreatePagefilePrivilege, SeCreatePagefilePrivilege, _SE_EXPORTS::SeCreatePermanentPrivilege, SeCreatePermanentPrivilege, _SE_EXPORTS::SeCreateTokenPrivilege, SeCreateTokenPrivilege, SeCreatorGroupServerSid, _SE_EXPORTS::SeCreatorGroupSid, SeCreatorGroupSid, SeCreatorOwnerServerSid, _SE_EXPORTS::SeCreatorOwnerSid, SeCreatorOwnerSid, _SE_EXPORTS::SeDebugPrivilege, SeDebugPrivilege, _SE_EXPORTS::SeDialupSid, SeDialupSid, _SE_EXPORTS::SeEnableDelegationPrivilege, SeEnableDelegationPrivilege, SeExports, _SE_EXPORTS::SeIncreaseBasePriorityPrivilege, SeIncreaseBasePriorityPrivilege, _SE_EXPORTS::SeIncreaseQuotaPrivilege, SeIncreaseQuotaPrivilege, _SE_EXPORTS::SeInteractiveSid, SeInteractiveSid, _SE_EXPORTS::SeLoadDriverPrivilege, SeLoadDriverPrivilege, _SE_EXPORTS::SeLocalSid, SeLocalSid, _SE_EXPORTS::SeLocalSystemSid, SeLocalSystemSid, _SE_EXPORTS::SeLockMemoryPrivilege, SeLockMemoryPrivilege, _SE_EXPORTS::SeNetworkSid, SeNetworkSid, _SE_EXPORTS::SeNtAuthoritySid, SeNtAuthoritySid, _SE_EXPORTS::SeNullSid, SeNullSid, SepCreatorSidAuthority, SepExports, SepInitializePrivilegeSets(), SepInitSystemDacls(), SepLocalSidAuthority, SepNtAuthority, SepNullSidAuthority, SePrincipalSelfSid, _SE_EXPORTS::SeProfileSingleProcessPrivilege, SeProfileSingleProcessPrivilege, SepWorldSidAuthority, _SE_EXPORTS::SeRemoteShutdownPrivilege, SeRemoteShutdownPrivilege, _SE_EXPORTS::SeRestorePrivilege, SeRestorePrivilege, _SE_EXPORTS::SeRestrictedSid, SeRestrictedSid, _SE_EXPORTS::SeSecurityPrivilege, SeSecurityPrivilege, SeServiceSid, _SE_EXPORTS::SeShutdownPrivilege, SeShutdownPrivilege, _SE_EXPORTS::SeSyncAgentPrivilege, SeSyncAgentPrivilege, _SE_EXPORTS::SeSystemEnvironmentPrivilege, SeSystemEnvironmentPrivilege, _SE_EXPORTS::SeSystemProfilePrivilege, SeSystemProfilePrivilege, _SE_EXPORTS::SeSystemtimePrivilege, SeSystemtimePrivilege, _SE_EXPORTS::SeTakeOwnershipPrivilege, SeTakeOwnershipPrivilege, _SE_EXPORTS::SeTcbPrivilege, SeTcbPrivilege, _SE_EXPORTS::SeUndockPrivilege, SeUndockPrivilege, _SE_EXPORTS::SeUnsolicitedInputPrivilege, SeUnsolicitedInputPrivilege, _SE_EXPORTS::SeWorldSid, SeWorldSid, and TRUE. Referenced by SepInitializationPhase0().
|
|
Definition at line 225 of file seglobal.c. Referenced by SepAssemblePrivileges(), and SepInitializePrivilegeSets(). |
|
Definition at line 105 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
|
Definition at line 108 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 103 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 104 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 107 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 106 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 102 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 71 of file seglobal.c. Referenced by SeMakeAnonymousLogonToken(), and SepRmDbInitialization(). |
|
Definition at line 109 of file seglobal.c. Referenced by SeMakeAnonymousLogonToken(), and SepVariableInitialization(). |
|
Definition at line 115 of file seglobal.c. Referenced by NtImpersonateAnonymousToken(), and SepInitializationPhase1(). |
|
Definition at line 174 of file seglobal.c. Referenced by NtSetInformationJobObject(), PspSetPrimaryToken(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Initial value: Definition at line 236 of file seglobal.c. Referenced by SepRmSetAuditEventWrkr(), and SeTraverseAuditAlarm(). |
|
Definition at line 192 of file seglobal.c. Referenced by SeCheckAuditPrivilege(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 99 of file seglobal.c. Referenced by SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 188 of file seglobal.c. Referenced by CmpDoOpen(), IopCheckBackupRestorePrivilege(), NtSaveKey(), NtSaveMergedKeys(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 94 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 194 of file seglobal.c. Referenced by SeMakeSystemToken(), SepAdjustPrivileges(), SepCreateToken(), SepRemoveDisabledGroupsAndPrivileges(), and SepVariableInitialization(). |
|
Definition at line 182 of file seglobal.c. Referenced by NtCreatePagingFile(), NtQuerySystemInformation(), NtSetSystemInformation(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 187 of file seglobal.c. Referenced by ObCreateObject(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 173 of file seglobal.c. Referenced by SeMakeSystemToken(), SepCreateToken(), and SepVariableInitialization(). |
|
Definition at line 83 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 82 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 84 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 81 of file seglobal.c. Referenced by ObpGetDosDevicesProtection(), SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 191 of file seglobal.c. Referenced by NtOpenProcess(), NtOpenThread(), NtSetSystemInformation(), NtSystemDebugControl(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 273 of file seglobal.c. Referenced by NtDuplicateObject(), ObInitProcess(), PspCreateProcess(), PspProcessDelete(), and SepRmSetAuditEventWrkr(). |
|
Definition at line 92 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 198 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 207 of file seglobal.c. Referenced by InitSecurity(), SepVariableInitialization(), SmbTraceStart(), xxxConnectService(), and xxxCreateWindowStation(). |
|
Definition at line 183 of file seglobal.c. Referenced by NtSetInformationJobObject(), NtSetInformationProcess(), NtSetInformationThread(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 176 of file seglobal.c. Referenced by NtSetSystemInformation(), PspSetQuotaLimits(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 95 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 181 of file seglobal.c. Referenced by NtLoadDriver(), NtSetSystemInformation(), NtUnloadDriver(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 80 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
|
Definition at line 175 of file seglobal.c. Referenced by NtAllocateUserPhysicalPages(), NtLockVirtualMemory(), NtUnlockVirtualMemory(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 93 of file seglobal.c. Referenced by SepSidTranslation(), and SepVariableInitialization(). |
|
Definition at line 90 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 78 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 253 of file seglobal.c. |
|
Definition at line 260 of file seglobal.c. Referenced by SepAdtInitializeCrashOnFail(), SepAdtLogAuditRecord(), and SepAuditFailed(). |
|
Definition at line 214 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 229 of file seglobal.c. Referenced by SepAssemblePrivileges(), and SepInitializePrivilegeSets(). |
|
Definition at line 208 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 296 of file seglobal.c. Referenced by SepQueueWorkItem(). |
|
Definition at line 213 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 266 of file seglobal.c. Referenced by SepRmCallLsa(), and SepRmCommandServerThreadInit(). |
|
Definition at line 288 of file seglobal.c. Referenced by SepDequeueWorkItem(), SepInitializeWorkList(), and SepQueueWorkItem(). |
|
Definition at line 294 of file seglobal.c. Referenced by SepRmCallLsa(). |
|
Definition at line 282 of file seglobal.c. Referenced by SepInitializeWorkList(). |
|
Definition at line 215 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 211 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 164 of file seglobal.c. |
|
Definition at line 163 of file seglobal.c. |
|
Definition at line 140 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 142 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 146 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 144 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 97 of file seglobal.c. Referenced by SepSidInSidAndAttributes(), SepSidInToken(), SepSidInTokenEx(), and SepVariableInitialization(). |
|
Definition at line 186 of file seglobal.c. Referenced by SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 148 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 227 of file seglobal.c. Referenced by SepAssemblePrivileges(), and SepInitializePrivilegeSets(). |
|
Definition at line 228 of file seglobal.c. Referenced by SepAssemblePrivileges(), and SepInitializePrivilegeSets(). |
|
Definition at line 152 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 139 of file seglobal.c. Referenced by ExpInitializeCallbacks(), SepInitializationPhase1(), and SepInitSystemDacls(). |
|
Definition at line 153 of file seglobal.c. Referenced by IopCreateDefaultDeviceSecurityDescriptor(), ObInitSystem(), and SepInitSystemDacls(). |
|
Definition at line 141 of file seglobal.c. Referenced by IoCreateSymbolicLink(), ObInitSystem(), and SepInitSystemDacls(). |
|
Definition at line 154 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 145 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 155 of file seglobal.c. Referenced by IopCreateDefaultDeviceSecurityDescriptor(), and SepInitSystemDacls(). |
|
Definition at line 143 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 150 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 212 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 195 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 189 of file seglobal.c. Referenced by CmpDoOpen(), IopCheckBackupRestorePrivilege(), NtLoadKey2(), NtReplaceKey(), NtRestoreKey(), NtUnloadKey(), SeMakeSystemToken(), SepValidOwnerSubjectContext(), and SepVariableInitialization(). |
|
Definition at line 101 of file seglobal.c. Referenced by SepCreateImpersonationTokenDacl(), SepInitSystemDacls(), and SepVariableInitialization(). |
|
Definition at line 179 of file seglobal.c. Referenced by ObpIncrementHandleCount(), RtlpNewSecurityObject(), SeMakeSystemToken(), SepAccessCheck(), SepInitializePrivilegeSets(), SePrivilegePolicyCheck(), and SepVariableInitialization(). |
|
Definition at line 96 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 190 of file seglobal.c. Referenced by ExpRaiseHardError(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
|
Definition at line 197 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
Definition at line 70 of file seglobal.c. Referenced by SeMakeSystemToken(), and SepRmDbInitialization(). |
|
Definition at line 156 of file seglobal.c. Referenced by SeMakeSystemToken(), and SepInitSystemDacls(). |
|
Definition at line 147 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 193 of file seglobal.c. Referenced by NtQuerySystemEnvironmentValue(), NtSetSystemEnvironmentValue(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 184 of file seglobal.c. Referenced by NtCreateProfile(), and SepVariableInitialization(). |
|
Definition at line 185 of file seglobal.c. Referenced by NtSetSystemInformation(), SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 69 of file seglobal.c. Referenced by SeMakeAnonymousLogonToken(), and SeMakeSystemToken(). |
|
Definition at line 180 of file seglobal.c. Referenced by SeMakeSystemToken(), SepAccessCheck(), SepInitializePrivilegeSets(), SePrivilegePolicyCheck(), and SepVariableInitialization(). |
|
Definition at line 178 of file seglobal.c. Referenced by CmpRefreshHive(), NtSetDefaultHardErrorPort(), NtSetInformationProcess(), NtSetInformationToken(), SeMakeSystemToken(), SepSinglePrivilegeCheck(), and SepVariableInitialization(). |
|
Definition at line 196 of file seglobal.c. Referenced by SeMakeSystemToken(), and SepVariableInitialization(). |
|
Definition at line 157 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 149 of file seglobal.c. Referenced by SepInitSystemDacls(). |
|
Definition at line 177 of file seglobal.c. Referenced by SepVariableInitialization(). |
|
|
Definition at line 224 of file seglobal.c. Referenced by SepAssemblePrivileges(), and SepInitializePrivilegeSets(). |