ReactOS
0.4.15-dev-5615-gc3644fd
|
Go to the source code of this file.
Classes | |
struct | _ACEFLAG |
union | _MAX_SID |
struct | WELLKNOWNSID |
struct | WELLKNOWNRID |
Macros | |
#define | ADS_RIGHT_DS_CREATE_CHILD 0x0001 |
#define | ADS_RIGHT_DS_DELETE_CHILD 0x0002 |
#define | ADS_RIGHT_ACTRL_DS_LIST 0x0004 |
#define | ADS_RIGHT_DS_SELF 0x0008 |
#define | ADS_RIGHT_DS_READ_PROP 0x0010 |
#define | ADS_RIGHT_DS_WRITE_PROP 0x0020 |
#define | ADS_RIGHT_DS_DELETE_TREE 0x0040 |
#define | ADS_RIGHT_DS_LIST_OBJECT 0x0080 |
#define | ADS_RIGHT_DS_CONTROL_ACCESS 0x0100 |
Typedefs | |
typedef struct _ACEFLAG | ACEFLAG |
typedef struct _ACEFLAG * | LPACEFLAG |
typedef struct _MAX_SID | MAX_SID |
typedef struct WELLKNOWNSID | WELLKNOWNSID |
typedef struct WELLKNOWNRID | WELLKNOWNRID |
#define ADS_RIGHT_ACTRL_DS_LIST 0x0004 |
Definition at line 157 of file security.c.
#define ADS_RIGHT_DS_CONTROL_ACCESS 0x0100 |
Definition at line 163 of file security.c.
#define ADS_RIGHT_DS_CREATE_CHILD 0x0001 |
Definition at line 155 of file security.c.
#define ADS_RIGHT_DS_DELETE_CHILD 0x0002 |
Definition at line 156 of file security.c.
#define ADS_RIGHT_DS_DELETE_TREE 0x0040 |
Definition at line 161 of file security.c.
#define ADS_RIGHT_DS_LIST_OBJECT 0x0080 |
Definition at line 162 of file security.c.
#define ADS_RIGHT_DS_READ_PROP 0x0010 |
Definition at line 159 of file security.c.
#define ADS_RIGHT_DS_SELF 0x0008 |
Definition at line 158 of file security.c.
#define ADS_RIGHT_DS_WRITE_PROP 0x0020 |
Definition at line 160 of file security.c.
typedef struct WELLKNOWNRID WELLKNOWNRID |
typedef struct WELLKNOWNSID WELLKNOWNSID |
BOOL WINAPI AccessCheck | ( | IN PSECURITY_DESCRIPTOR | pSecurityDescriptor, |
IN HANDLE | ClientToken, | ||
IN DWORD | DesiredAccess, | ||
IN PGENERIC_MAPPING | GenericMapping, | ||
OUT PPRIVILEGE_SET PrivilegeSet | OPTIONAL, | ||
IN OUT LPDWORD | PrivilegeSetLength, | ||
OUT LPDWORD | GrantedAccess, | ||
OUT LPBOOL | AccessStatus | ||
) |
Definition at line 1652 of file security.c.
Referenced by test_AccessCheck(), test_default_handle_security(), and test_FileSecurity().
BOOL WINAPI AccessCheckByType | ( | PSECURITY_DESCRIPTOR | pSecurityDescriptor, |
PSID | PrincipalSelfSid, | ||
HANDLE | ClientToken, | ||
DWORD | DesiredAccess, | ||
POBJECT_TYPE_LIST | ObjectTypeList, | ||
DWORD | ObjectTypeListLength, | ||
PGENERIC_MAPPING | GenericMapping, | ||
PPRIVILEGE_SET | PrivilegeSet, | ||
LPDWORD | PrivilegeSetLength, | ||
LPDWORD | GrantedAccess, | ||
LPBOOL | AccessStatus | ||
) |
Definition at line 1702 of file security.c.
Definition at line 1041 of file security.c.
Referenced by AccRewriteSetEntriesInAcl(), convert_nfs4acl_2_dacl(), CreateDefaultProcessSecurityCommon(), CreateDefaultSecurityDescriptor(), CreateDhcpPipeSecurity(), CreatePnpInstallEventSecurity(), CreatePowrProfSemaphoreSecurity(), GetShellSecurityDescriptor(), test_AccessCheck(), test_AddMandatoryAce(), test_GetExplicitEntriesFromAclW(), test_process_security(), test_SetEntriesInAclA(), and test_SetEntriesInAclW().
BOOL WINAPI AddAccessAllowedAceEx | ( | PACL | pAcl, |
DWORD | dwAceRevision, | ||
DWORD | AceFlags, | ||
DWORD | AccessMask, | ||
PSID | pSid | ||
) |
Definition at line 1065 of file security.c.
Referenced by AllowDesktopAccessToUser(), AllowWinstaAccessToUser(), CreateApplicationDesktopSecurity(), CreateScreenSaverSecurity(), CreateWinlogonDesktopSecurity(), CreateWinstaSecurity(), get_sd(), and GetShellSecurityDescriptor().
Definition at line 1092 of file security.c.
Referenced by AccRewriteSetEntriesInAcl(), convert_nfs4acl_2_dacl(), GetShellSecurityDescriptor(), test_AccessCheck(), and test_process_security().
BOOL WINAPI AddAccessDeniedAceEx | ( | PACL | pAcl, |
DWORD | dwAceRevision, | ||
DWORD | AceFlags, | ||
DWORD | AccessMask, | ||
PSID | pSid | ||
) |
Definition at line 1116 of file security.c.
Referenced by GetShellSecurityDescriptor().
BOOL WINAPI AddAce | ( | PACL | pAcl, |
DWORD | dwAceRevision, | ||
DWORD | dwStartingAceIndex, | ||
LPVOID | pAceList, | ||
DWORD | nAceListLength | ||
) |
Definition at line 1143 of file security.c.
Referenced by test_AddAce().
BOOL WINAPI AddAuditAccessAce | ( | PACL | pAcl, |
DWORD | dwAceRevision, | ||
DWORD | dwAccessMask, | ||
PSID | pSid, | ||
BOOL | bAuditSuccess, | ||
BOOL | bAuditFailure | ||
) |
Definition at line 1750 of file security.c.
BOOL WINAPI AddAuditAccessAceEx | ( | PACL | pAcl, |
DWORD | dwAceRevision, | ||
DWORD | AceFlags, | ||
DWORD | dwAccessMask, | ||
PSID | pSid, | ||
BOOL | bAuditSuccess, | ||
BOOL | bAuditFailure | ||
) |
Definition at line 1778 of file security.c.
BOOL WINAPI AdjustTokenGroups | ( | HANDLE | TokenHandle, |
BOOL | ResetToDefault, | ||
PTOKEN_GROUPS | NewState, | ||
DWORD | BufferLength, | ||
PTOKEN_GROUPS | PreviousState, | ||
PDWORD | ReturnLength | ||
) |
Definition at line 348 of file security.c.
BOOL WINAPI AdjustTokenPrivileges | ( | HANDLE | TokenHandle, |
BOOL | DisableAllPrivileges, | ||
PTOKEN_PRIVILEGES | NewState, | ||
DWORD | BufferLength, | ||
PTOKEN_PRIVILEGES | PreviousState, | ||
PDWORD | ReturnLength | ||
) |
Definition at line 376 of file security.c.
Referenced by AcquireRemoveRestorePrivilege(), AddDeviceW(), DisablePrivilege(), DisableTokenPrivileges(), EnablePrivilege(), EnableProcessPrivileges(), CShellCommandSACL::Execute(), FormatEx2(), InstallReactOS(), named_pipe_client_func(), PauseBalanceW(), Privilege(), pSetupEnablePrivilege(), RecvSubvolGUIW(), RecvSubvolW(), RemoveDeviceW(), ResetStatsW(), ResizeDeviceW(), ScmEnableBackupRestorePrivileges(), SendSubvolGUIW(), SendSubvolW(), set_privileges(), SetDriverLoadPrivilege(), SetPrivilege(), ShowScrubW(), ShutdownSystem(), StartBalanceW(), StartScrubW(), StopBalanceW(), StopScrubW(), SystemSetLocalTime(), SystemSetTime(), test8(), test_AdjustTokenPrivileges(), test_SetFileValidData(), test_system_security_access(), UpdateDriver(), WinMain(), and wWinMain().
Definition at line 275 of file security.c.
Referenced by ComputeStringSidSize(), and ParseStringSidToSid().
Definition at line 253 of file security.c.
BOOL WINAPI AllocateAndInitializeSid | ( | PSID_IDENTIFIER_AUTHORITY | pIdentifierAuthority, |
BYTE | nSubAuthorityCount, | ||
DWORD | nSubAuthority0, | ||
DWORD | nSubAuthority1, | ||
DWORD | nSubAuthority2, | ||
DWORD | nSubAuthority3, | ||
DWORD | nSubAuthority4, | ||
DWORD | nSubAuthority5, | ||
DWORD | nSubAuthority6, | ||
DWORD | nSubAuthority7, | ||
PSID * | pSid | ||
) |
Definition at line 676 of file security.c.
Referenced by AllowDesktopAccessToUser(), AllowWinstaAccessToUser(), check_wellknown_name(), CheckForGuestsAndAdmins(), CreateApplicationDesktopSecurity(), CreateDefaultProcessSecurityCommon(), CreateDefaultSecurityDescriptor(), CreateDhcpPipeSecurity(), CreateLogoffSecurityAttributes(), CreatePnpInstallEventSecurity(), CreatePowrProfSemaphoreSecurity(), CreateScreenSaverSecurity(), CreateWinlogonDesktopSecurity(), CreateWinstaSecurity(), GetShellSecurityDescriptor(), is_process_limited(), is_token_admin(), IsNTAdmin(), IsUserAdmin(), PerfDataInitialize(), pSetupIsUserAdmin(), SHTestTokenMembership(), test_AccessCheck(), test_AddMandatoryAce(), test_CreateWellKnownSid(), test_EqualSid(), test_GetExplicitEntriesFromAclW(), test_GetNamedSecurityInfoA(), test_GetSecurityInfo(), test_LookupAccountSid(), test_process_security(), test_reg_create_key(), test_reg_open_key(), test_SetEntriesInAclA(), test_SetEntriesInAclW(), test_sid(), and test_trustee().
Definition at line 1220 of file security.c.
Referenced by CookupNodeId(), LogonUserExW(), MyLogonUser(), and wined3d_adapter_init().
Definition at line 2331 of file security.c.
Definition at line 2343 of file security.c.
VOID WINAPI BuildExplicitAccessWithNameA | ( | PEXPLICIT_ACCESSA | pExplicitAccess, |
LPSTR | pTrusteeName, | ||
DWORD | AccessPermissions, | ||
ACCESS_MODE | AccessMode, | ||
DWORD | Inheritance | ||
) |
Definition at line 1929 of file security.c.
VOID WINAPI BuildExplicitAccessWithNameW | ( | PEXPLICIT_ACCESSW | pExplicitAccess, |
LPWSTR | pTrusteeName, | ||
DWORD | AccessPermissions, | ||
ACCESS_MODE | AccessMode, | ||
DWORD | Inheritance | ||
) |
Definition at line 1951 of file security.c.
VOID WINAPI BuildTrusteeWithNameA | ( | PTRUSTEE_A | pTrustee, |
LPSTR | name | ||
) |
Definition at line 2174 of file security.c.
VOID WINAPI BuildTrusteeWithNameW | ( | PTRUSTEE_W | pTrustee, |
LPWSTR | name | ||
) |
Definition at line 2190 of file security.c.
VOID WINAPI BuildTrusteeWithObjectsAndNameA | ( | PTRUSTEEA | pTrustee, |
POBJECTS_AND_NAME_A | pObjName, | ||
SE_OBJECT_TYPE | ObjectType, | ||
LPSTR | ObjectTypeName, | ||
LPSTR | InheritedObjectTypeName, | ||
LPSTR | Name | ||
) |
Definition at line 1971 of file security.c.
VOID WINAPI BuildTrusteeWithObjectsAndNameW | ( | PTRUSTEEW | pTrustee, |
POBJECTS_AND_NAME_W | pObjName, | ||
SE_OBJECT_TYPE | ObjectType, | ||
LPWSTR | ObjectTypeName, | ||
LPWSTR | InheritedObjectTypeName, | ||
LPWSTR | Name | ||
) |
Definition at line 2007 of file security.c.
VOID WINAPI BuildTrusteeWithObjectsAndSidA | ( | PTRUSTEEA | pTrustee, |
POBJECTS_AND_SID | pObjSid, | ||
GUID * | pObjectGuid, | ||
GUID * | pInheritedObjectGuid, | ||
PSID | pSid | ||
) |
Definition at line 2044 of file security.c.
VOID WINAPI BuildTrusteeWithObjectsAndSidW | ( | PTRUSTEEW | pTrustee, |
POBJECTS_AND_SID | pObjSid, | ||
GUID * | pObjectGuid, | ||
GUID * | pInheritedObjectGuid, | ||
PSID | pSid | ||
) |
Definition at line 2093 of file security.c.
VOID WINAPI BuildTrusteeWithSidA | ( | PTRUSTEE_A | pTrustee, |
PSID | pSid | ||
) |
Definition at line 2141 of file security.c.
VOID WINAPI BuildTrusteeWithSidW | ( | PTRUSTEE_W | pTrustee, |
PSID | pSid | ||
) |
Definition at line 2158 of file security.c.
Definition at line 3677 of file security.c.
Referenced by ParseStringSidToSid().
BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorA | ( | PSECURITY_DESCRIPTOR | SecurityDescriptor, |
DWORD | SDRevision, | ||
SECURITY_INFORMATION | Information, | ||
LPSTR * | OutputString, | ||
PULONG | OutputLen | ||
) |
Definition at line 3298 of file security.c.
BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorW | ( | PSECURITY_DESCRIPTOR | SecurityDescriptor, |
DWORD | SDRevision, | ||
SECURITY_INFORMATION | RequestedInformation, | ||
LPWSTR * | OutputString, | ||
PULONG | OutputLen | ||
) |
Definition at line 3234 of file security.c.
Referenced by ConvertSecurityDescriptorToStringSecurityDescriptorA().
Definition at line 3436 of file security.c.
Referenced by debugstr_sid(), get_user_sid(), map_name_2_sid(), test_CreateWellKnownSid(), test_LookupAccountSid(), test_lsa(), test_sid(), test_sid_str(), test_token_attr(), and test_token_label().
Definition at line 3382 of file security.c.
Referenced by _GetUserSidStringFromToken(), AddUserProfiles(), ConvertSidToStringSidA(), CreateUserProfileExW(), get_user_sid(), GetEventUserName(), GetPrincipalDisplayString(), LsapGetDomainInfo(), LsapLookupAccountDomainSids(), LsapLookupBuiltinDomainSids(), LsapLookupWellKnownSids(), MsiSourceListAddSourceW(), RecycleBin5_Constructor(), SampAddMemberToAlias(), SampRemoveMemberFromAlias(), SampRemoveMemberFromAllAliases(), SampSetupAddMemberToAlias(), set_user_sid_prop(), START_TEST(), UpdatePrincipalInfo(), WhoamiGroups(), WhoamiLogonId(), and WhoamiUser().
BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorA | ( | LPCSTR | StringSecurityDescriptor, |
DWORD | StringSDRevision, | ||
PSECURITY_DESCRIPTOR * | SecurityDescriptor, | ||
PULONG | SecurityDescriptorSize | ||
) |
Definition at line 2831 of file security.c.
Referenced by test_profile_directory_readonly().
BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorW | ( | LPCWSTR | StringSecurityDescriptor, |
DWORD | StringSDRevision, | ||
PSECURITY_DESCRIPTOR * | SecurityDescriptor, | ||
PULONG | SecurityDescriptorSize | ||
) |
Definition at line 2861 of file security.c.
Referenced by ConvertStringSecurityDescriptorToSecurityDescriptorA(), InstallOneService(), registry_callback(), and SetupQueueCopyIndirectW().
Definition at line 3359 of file security.c.
Referenced by test_LsaLookupSids().
Definition at line 3335 of file security.c.
Referenced by ConvertStringSidToSidA(), and fill_sid().
Definition at line 714 of file security.c.
Referenced by AccpLookupSidByName(), AccRewriteGetExplicitEntriesFromAcl(), AddPrincipalToList(), AuthzGetInformationFromContext(), AuthzInitializeContextFromSid(), BuildDefaultPrincipalAce(), CachedGetUserFromSid(), CacheLookupResults(), GetUserSid(), LookupAccountNameW(), QueueSidLookup(), ReloadPrincipalsList(), and test_LookupAccountSid().
BOOL WINAPI CreateProcessWithLogonW | ( | _In_ LPCWSTR | lpUsername, |
_In_opt_ LPCWSTR | lpDomain, | ||
_In_ LPCWSTR | lpPassword, | ||
_In_ DWORD | dwLogonFlags, | ||
_In_opt_ LPCWSTR | lpApplicationName, | ||
_Inout_opt_ LPWSTR | lpCommandLine, | ||
_In_ DWORD | dwCreationFlags, | ||
_In_opt_ LPVOID | lpEnvironment, | ||
_In_opt_ LPCWSTR | lpCurrentDirectory, | ||
_In_ LPSTARTUPINFOW | lpStartupInfo, | ||
_Out_ LPPROCESS_INFORMATION | lpProcessInformation | ||
) |
Definition at line 3480 of file security.c.
Referenced by wmain().
BOOL WINAPI CreateProcessWithTokenW | ( | HANDLE | token, |
DWORD | logon_flags, | ||
LPCWSTR | application_name, | ||
LPWSTR | command_line, | ||
DWORD | creation_flags, | ||
void * | environment, | ||
LPCWSTR | current_directory, | ||
STARTUPINFOW * | startup_info, | ||
PROCESS_INFORMATION * | process_information | ||
) |
Definition at line 3584 of file security.c.
BOOL WINAPI CreateRestrictedToken | ( | _In_ HANDLE | ExistingTokenHandle, |
_In_ DWORD | Flags, | ||
_In_ DWORD | DisableSidCount, | ||
_In_reads_opt_(DisableSidCount) PSID_AND_ATTRIBUTES | SidsToDisable, | ||
_In_ DWORD | DeletePrivilegeCount, | ||
_In_reads_opt_(DeletePrivilegeCount) PLUID_AND_ATTRIBUTES | PrivilegesToDelete, | ||
_In_ DWORD | RestrictedSidCount, | ||
_In_reads_opt_(RestrictedSidCount) PSID_AND_ATTRIBUTES | SidsToRestrict, | ||
_Outptr_ PHANDLE | NewTokenHandle | ||
) |
Creates a filtered token that is a restricted one of the regular access token. A restricted token can have disabled SIDs, deleted privileges and/or restricted SIDs added.
[in] | ExistingTokenHandle | An existing handle to a token where it's to be filtered. |
[in] | Flags | Privilege flag options. This parameter argument influences how the token is filtered. Such parameter can be 0. |
[in] | DisableSidCount | The count number of SIDs to disable. |
[in] | SidsToDisable | An array list with SIDs that have to be disabled in a token. |
[in] | DeletePrivilegeCount | The count number of privileges to be deleted. |
[in] | PrivilegesToDelete | An array list with privileges that have to be deleted in a token. |
[in] | RestrictedSidCount | The count number of restricted SIDs. |
[in] | SidsToRestrict | An array list with restricted SIDs to be added into the token. If the token already has restricted SIDs then the array provided by the caller is redundant information alongside with the existing restricted SIDs in the token. |
[out] | NewTokenHandle | The newly received handle to a restricted (filtered) token. The caller can use such handle to duplicate a new token. |
Definition at line 535 of file security.c.
Referenced by test_token_security_descriptor().
BOOL WINAPI CreateWellKnownSid | ( | IN WELL_KNOWN_SID_TYPE | WellKnownSidType, |
IN PSID DomainSid | OPTIONAL, | ||
OUT PSID | pSid, | ||
IN OUT DWORD * | cbSid | ||
) |
Definition at line 724 of file security.c.
Referenced by create_unknownsid(), get_sd(), test_SystemSecurity(), and well_known_sid().
Definition at line 176 of file security.c.
Referenced by CreateWellKnownSid(), and IsWellKnownSid().
Definition at line 1168 of file security.c.
Definition at line 3059 of file security.c.
Referenced by DumpAcl().
|
static |
Definition at line 3118 of file security.c.
Referenced by DumpDacl(), and DumpSacl().
|
static |
Definition at line 3185 of file security.c.
Referenced by ConvertSecurityDescriptorToStringSecurityDescriptorW().
|
static |
Definition at line 3167 of file security.c.
Referenced by ConvertSecurityDescriptorToStringSecurityDescriptorW().
|
static |
Definition at line 3149 of file security.c.
Referenced by ConvertSecurityDescriptorToStringSecurityDescriptorW().
Definition at line 3020 of file security.c.
Referenced by DumpAce().
|
static |
Definition at line 3208 of file security.c.
Referenced by ConvertSecurityDescriptorToStringSecurityDescriptorW().
Definition at line 2970 of file security.c.
Referenced by DumpAce(), DumpGroup(), and DumpOwner().
Definition at line 2931 of file security.c.
Referenced by DumpSid().
Definition at line 2916 of file security.c.
Referenced by DumpAce(), DumpAcl(), DumpDacl(), DumpGroup(), DumpOwner(), DumpRights(), DumpSacl(), DumpSid(), and DumpSidNumeric().
BOOL WINAPI DuplicateToken | ( | IN HANDLE | ExistingTokenHandle, |
IN SECURITY_IMPERSONATION_LEVEL | ImpersonationLevel, | ||
OUT PHANDLE | DuplicateTokenHandle | ||
) |
Definition at line 3662 of file security.c.
Referenced by GetDuplicateToken(), test_AccessCheck(), test_CheckTokenMembership(), test_impersonation_level(), test_kernel_objects_security(), and test_token_attr().
BOOL WINAPI DuplicateTokenEx | ( | IN HANDLE | ExistingTokenHandle, |
IN DWORD | dwDesiredAccess, | ||
IN LPSECURITY_ATTRIBUTES lpTokenAttributes | OPTIONAL, | ||
IN SECURITY_IMPERSONATION_LEVEL | ImpersonationLevel, | ||
IN TOKEN_TYPE | TokenType, | ||
OUT PHANDLE | DuplicateTokenHandle | ||
) |
Definition at line 3602 of file security.c.
Referenced by CheckTokenMembership(), DuplicateToken(), LaunchProcess(), START_TEST(), test_CreateRestrictedToken(), test_token_security_descriptor(), and WlxStartApplication().
Definition at line 3927 of file security.c.
Definition at line 843 of file security.c.
Referenced by test_process_security().
Definition at line 831 of file security.c.
Referenced by _test_group(), CachedGetUserFromSid(), check_wellknown_name(), CheckForGuestsAndAdmins(), DequeueSidLookup(), DumpSid(), FindSidInCache(), FindSidInPrincipalsListAddAce(), GetEventUserName(), is_token_admin(), IsNTAdmin(), IsUserAdmin(), IsWellKnownSid(), LsapSetTokenOwner(), map_nfs4ace_who(), PrintSid(), QueueSidLookup(), RunningAsSYSTEM(), test_AddMandatoryAce(), test_child_token_sd(), test_child_token_sd_medium(), test_child_token_sd_restricted(), test_CreateRestrictedToken(), test_default_dacl_owner_sid(), test_EqualSid(), test_GetExplicitEntriesFromAclW(), test_GetNamedSecurityInfoA(), test_GetSecurityInfo(), test_GetWindowsAccountDomainSid(), test_group_equal(), test_inherited_dacl(), test_owner_equal(), test_SystemSecurity(), test_token_label(), test_token_security_descriptor(), test_TokenIntegrityLevel(), and UpdatePrincipalInfo().
Definition at line 1178 of file security.c.
Definition at line 700 of file security.c.
Referenced by AllowDesktopAccessToUser(), AllowWinstaAccessToUser(), check_wellknown_name(), CheckForGuestsAndAdmins(), CreateApplicationDesktopSecurity(), CreateDefaultProcessSecurityCommon(), CreateDefaultSecurityDescriptor(), CreateDhcpPipeSecurity(), CreatePnpInstallEventSecurity(), CreatePowrProfSemaphoreSecurity(), CreateScreenSaverSecurity(), CreateWinlogonDesktopSecurity(), CreateWinstaSecurity(), GetShellSecurityDescriptor(), is_process_limited(), is_token_admin(), IsNTAdmin(), IsUserAdmin(), PerfDataUninitialize(), pSetupIsUserAdmin(), SHTestTokenMembership(), test_AccessCheck(), test_AddMandatoryAce(), test_CreateWellKnownSid(), test_EqualSid(), test_GetExplicitEntriesFromAclW(), test_GetNamedSecurityInfoA(), test_GetSecurityInfo(), test_LookupAccountSid(), test_LsaLookupSids(), test_process_security(), test_reg_create_key(), test_reg_open_key(), test_SetEntriesInAclA(), test_SetEntriesInAclW(), test_sid(), and test_trustee().
Definition at line 1188 of file security.c.
Referenced by AccRewriteGetExplicitEntriesFromAcl(), AccRewriteSetEntriesInAcl(), DumpAcl(), CSecurityDescriptor::GetDACLEntry(), CSecurityDescriptor::GetSACLEntry(), map_dacl_2_nfs4acl(), PrintFileDacl(), ReloadPrincipalsList(), and test_GetShellSecurityDescriptor().
BOOL WINAPI GetAclInformation | ( | PACL | pAcl, |
LPVOID | pAclInformation, | ||
DWORD | nAclInformationLength, | ||
ACL_INFORMATION_CLASS | dwAclInformationClass | ||
) |
Definition at line 1196 of file security.c.
Referenced by AccRewriteSetEntriesInAcl(), CSecurityDescriptor::GetDACLEntriesCount(), CSecurityDescriptor::GetSACLEntriesCount(), and test_GetShellSecurityDescriptor().
BOOL WINAPI GetFileSecurityA | ( | LPCSTR | lpFileName, |
SECURITY_INFORMATION | RequestedInformation, | ||
PSECURITY_DESCRIPTOR | pSecurityDescriptor, | ||
DWORD | nLength, | ||
LPDWORD | lpnLengthNeeded | ||
) |
Definition at line 1375 of file security.c.