#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | _SECURITY 1 |
Functions | |
PACCESS_ALLOWED_ACE | AllocAce (PACCESS_ALLOWED_ACE pace, BYTE bType, BYTE bFlags, ACCESS_MASK am, PSID psid, LPDWORD lpdwLength) |
PSECURITY_DESCRIPTOR | CreateSecurityDescriptor (PACCESS_ALLOWED_ACE paceList, DWORD cbAce, BOOLEAN fDaclDefaulted) |
BOOL | InitSecurity (VOID) |
NTSTATUS | TestForInteractiveUser (PLUID pluidCaller) |
NTSTATUS | _UserTestForWinStaAccess (PUNICODE_STRING pstrWinSta, BOOL fInherit) |
BOOL | CheckGrantedAccess (ACCESS_MASK amGranted, ACCESS_MASK amRequest) |
BOOL | CheckWinstaWriteAttributesAccess (void) |
BOOL | AccessCheckObject (PVOID pobj, ACCESS_MASK amRequest, KPROCESSOR_MODE AccessMode, CONST GENERIC_MAPPING *pGenericMapping) |
BOOL | IsPrivileged (PPRIVILEGE_SET ppSet) |
BOOL | _GetUserObjectInformation (HANDLE h, int nIndex, PVOID ccxpvInfo, DWORD nLength, LPDWORD lpnLengthNeeded) |
BOOL | _SetUserObjectInformation (HANDLE h, int nIndex, PVOID ccxpvInfo, DWORD nLength) |
BOOL FASTCALL | UserScreenAccessCheck (VOID) |
Variables | |
PSECURITY_DESCRIPTOR | gpsdInitWinSta |
PRIVILEGE_SET | psTcb |
|
Definition at line 13 of file w32/ntuser/kernel/security.c. |
|
Definition at line 626 of file w32/ntuser/kernel/security.c. References BOOL, CheckHandleFlag(), DWORD, ExDesktopObjectType, ExWindowStationObjectType, FALSE, _OBJECT_HANDLE_INFORMATION::HandleAttributes, HF_DESKTOPHOOK, LogDesktop, _OBJECT_TYPE::Name, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, OBJECT_TO_OBJECT_HEADER, ObReferenceObjectByHandle(), PBYTE, POBJECT_NAME, tagWINDOWSTATION::psidUser, PtiCurrentShared, RtlLengthSid(), Status, TRUE, _OBJECT_HEADER::Type, UserMode, and WSF_NOIO. Referenced by NtUserGetObjectInformation().
|
|
Definition at line 764 of file w32/ntuser/kernel/security.c. References BOOL, DWORD, ExDesktopObjectType, ExWindowStationObjectType, FALSE, HF_DESKTOPHOOK, LogDesktop, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, OBJECT_TO_OBJECT_HEADER, ObReferenceObjectByHandle(), PtiCurrent, SetHandleFlag(), Status, TRUE, _OBJECT_HEADER::Type, and UserMode. Referenced by NtUserSetObjectInformation().
|
|
Definition at line 295 of file w32/ntuser/kernel/security.c. References _OpenWindowStation(), AccessCheckObject(), CheckCritIn, DEFAULT_WINSTA, FALSE, gbSecureDesktop, grpWinStaList, KernelMode, KPROCESSOR_MODE, luidSystem, tagWINDOWSTATION::luidUser, NT_SUCCESS, NTSTATUS(), NULL, OpenEffectiveToken(), PBYTE, RtlEqualLuid(), RtlEqualUnicodeString(), RtlInitUnicodeString(), Status, TRUE, UserMode, and WinStaMapping. Referenced by xxxResolveDesktop().
|
|
Definition at line 555 of file w32/ntuser/kernel/security.c. References BOOL, KeyMapping, NTSTATUS(), ObCheckObjectAccess(), SeCreateAccessState(), SeDeleteAccessState(), Status, and TRUE. Referenced by _BuildNameList(), _UserTestForWinStaAccess(), OpenCacheKeyEx(), ReferenceWindowStation(), and xxxMouseEventDirect().
|
|
Definition at line 37 of file w32/ntuser/kernel/security.c. References DWORD, NULL, PBYTE, RtlCopySid(), RtlLengthSid(), and USHORT. Referenced by InitSecurity(), and xxxConnectService().
|
|
Definition at line 492 of file w32/ntuser/kernel/security.c. References BOOL, FALSE, RtlAreAllAccessesGranted(), and TRUE. Referenced by NtUserGetCaretBlinkTime(), NtUserGetDoubleClickTime(), and xxxMouseEventDirect().
|
|
Definition at line 518 of file w32/ntuser/kernel/security.c. References tagPROCESSINFO::amwinsta, BOOL, FALSE, gpidLogon, PpiCurrent, PsGetCurrentProcess, RtlAreAllAccessesGranted(), and TRUE. Referenced by _RegisterHotKey(), _SetCaretBlinkTime(), _SetDoubleClickTime(), xxxSetSysColors(), xxxSystemParametersInfo(), zzzClipCursor(), zzzSetCursorPos(), and zzzSetSystemCursor().
|
|
Definition at line 91 of file w32/ntuser/kernel/security.c. References FALSE, NT_SUCCESS, NTSTATUS(), NULL, PBYTE, RtlAddAce(), RtlCreateAcl(), RtlCreateSecurityDescriptor(), RtlSetDaclSecurityDescriptor(), RtlSetGroupSecurityDescriptor(), RtlSetOwnerSecurityDescriptor(), RtlSetSaclSecurityDescriptor(), Status, and TRUE. Referenced by InitSecurity(), xxxConnectService(), and xxxCreateWindowStation().
|
|
Definition at line 152 of file w32/ntuser/kernel/security.c. References AllocAce(), BOOL, CreateSecurityDescriptor(), DWORD, FALSE, gpsdInitWinSta, NULL, _SE_EXPORTS::SeAliasAdminsSid, SeEnableAccessToExports, SeExports, _SE_EXPORTS::SeRestrictedSid, _SE_EXPORTS::SeWorldSid, and WinStaMapping. Referenced by Win32UserInitialize().
|
|
Definition at line 593 of file w32/ntuser/kernel/security.c.
|
|
Definition at line 255 of file w32/ntuser/kernel/security.c. References grpWinStaList, tagWINDOWSTATION::luidUser, NULL, and RtlEqualLuid(). Referenced by NtUserTestForInteractiveUser().
|
|
Definition at line 863 of file w32/ntuser/kernel/security.c. References BOOL, FASTCALL, grpdeskRitInput, NULL, and PtiCurrentShared.
|
|
Definition at line 22 of file w32/ntuser/kernel/security.c. |
|
Initial value:
Definition at line 24 of file w32/ntuser/kernel/security.c. Referenced by _RegisterLogonProcess(), SrvRegisterServicesProcess(), and xxxWrapSendMessageBSM(). |