Home
last modified time | relevance | path

Searched refs:SECURITY_DESCRIPTOR (Results 1 – 25 of 69) sorted by relevance

123

/reactos/win32ss/printing/base/winspool/
H A Dprecomp.h65 SECURITY_DESCRIPTOR * get_sd(SECURITY_DESCRIPTOR *sd, DWORD *size);
H A Dutils.c285 SECURITY_DESCRIPTOR * get_sd( SECURITY_DESCRIPTOR *sd, DWORD *size ) in get_sd()
/reactos/ntoskrnl/se/
H A Dsd.c41 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
54 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
67 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
80 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
93 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
106 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
119 sizeof(SECURITY_DESCRIPTOR), TAG_SD); in SepInitSDs()
394 SECURITY_DESCRIPTOR DescriptorCopy; in SeCaptureSecurityDescriptor()
441 sizeof(SECURITY_DESCRIPTOR_RELATIVE) : sizeof(SECURITY_DESCRIPTOR); in SeCaptureSecurityDescriptor()
1054 SdLength = sizeof(SECURITY_DESCRIPTOR); in SeValidSecurityDescriptor()
[all …]
/reactos/dll/win32/wbemprox/
H A Dsecurity.c61 static HRESULT get_sd( SECURITY_DESCRIPTOR **sd, DWORD *size ) in get_sd()
74 SECURITY_DESCRIPTOR absolute_sd; in get_sd()
137 SECURITY_DESCRIPTOR *sd; in security_get_sd()
/reactos/dll/win32/userenv/
H A Dmisc.c115 (SIZE_T)DaclSize + sizeof(SECURITY_DESCRIPTOR)); in CreateDefaultSecurityDescriptor()
130 Dacl = (PACL)((ULONG_PTR)pSD + sizeof(SECURITY_DESCRIPTOR)); in CreateDefaultSecurityDescriptor()
/reactos/base/system/winlogon/
H A Dsecurity.c116 SECURITY_DESCRIPTOR AbsoluteSd; in CreateWinstaSecurity()
363 SECURITY_DESCRIPTOR AbsoluteSd; in CreateApplicationDesktopSecurity()
545 SECURITY_DESCRIPTOR AbsoluteSd; in CreateWinlogonDesktopSecurity()
694 SECURITY_DESCRIPTOR AbsoluteSd; in CreateScreenSaverSecurity()
879 SECURITY_DESCRIPTOR AbsoluteSd; in AllowWinstaAccessToUser()
1170 SECURITY_DESCRIPTOR AbsoluteSd; in AllowDesktopAccessToUser()
/reactos/modules/rostests/winetests/ntdll/
H A Dgenerated.c2817 TEST_TYPE_SIZE (SECURITY_DESCRIPTOR, 40) in test_pack_SECURITY_DESCRIPTOR()
2818 TEST_TYPE_ALIGN (SECURITY_DESCRIPTOR, 8) in test_pack_SECURITY_DESCRIPTOR()
2822 TEST_FIELD_SIZE (SECURITY_DESCRIPTOR, Sbz1, 1) in test_pack_SECURITY_DESCRIPTOR()
2823 TEST_FIELD_ALIGN (SECURITY_DESCRIPTOR, Sbz1, 1) in test_pack_SECURITY_DESCRIPTOR()
2824 TEST_FIELD_OFFSET(SECURITY_DESCRIPTOR, Sbz1, 1) in test_pack_SECURITY_DESCRIPTOR()
2834 TEST_FIELD_SIZE (SECURITY_DESCRIPTOR, Sacl, 8) in test_pack_SECURITY_DESCRIPTOR()
2835 TEST_FIELD_ALIGN (SECURITY_DESCRIPTOR, Sacl, 8) in test_pack_SECURITY_DESCRIPTOR()
2837 TEST_FIELD_SIZE (SECURITY_DESCRIPTOR, Dacl, 8) in test_pack_SECURITY_DESCRIPTOR()
2838 TEST_FIELD_ALIGN (SECURITY_DESCRIPTOR, Dacl, 8) in test_pack_SECURITY_DESCRIPTOR()
6234 TEST_TYPE_SIZE (SECURITY_DESCRIPTOR, 20) in test_pack_SECURITY_DESCRIPTOR()
[all …]
/reactos/dll/win32/lsasrv/
H A Dsecurity.c17 SECURITY_DESCRIPTOR AbsoluteSd; in LsapCreatePolicySd()
271 SECURITY_DESCRIPTOR AbsoluteSd; in LsapCreateAccountSd()
439 SECURITY_DESCRIPTOR AbsoluteSd; in LsapCreateSecretSd()
642 SECURITY_DESCRIPTOR AbsoluteSd; in LsapCreateTokenSd()
/reactos/sdk/lib/rtl/
H A Dsd.c177 Length = sizeof(SECURITY_DESCRIPTOR); in RtlLengthSecurityDescriptor()
777 (sizeof(SECURITY_DESCRIPTOR) > *AbsoluteSDSize) || in RtlSelfRelativeToAbsoluteSD()
784 *AbsoluteSDSize = sizeof(SECURITY_DESCRIPTOR); in RtlSelfRelativeToAbsoluteSD()
881 MoveDelta = sizeof(SECURITY_DESCRIPTOR) - sizeof(SECURITY_DESCRIPTOR_RELATIVE); in RtlSelfRelativeToAbsoluteSD2()
970 if (*BufferSize < sizeof(SECURITY_DESCRIPTOR) + DataSize) in RtlSelfRelativeToAbsoluteSD2()
973 *BufferSize = sizeof(SECURITY_DESCRIPTOR) + DataSize; in RtlSelfRelativeToAbsoluteSD2()
H A Dsysvol.c47 AbsSD = RtlpAllocateMemory(sizeof(SECURITY_DESCRIPTOR), in RtlpSysVolCreateSecurityDescriptor()
423 SECURITY_DESCRIPTOR AbsSD; in RtlpSysVolTakeOwnership()
/reactos/base/services/audiosrv/
H A Dpnp_list_lock.c20 SECURITY_DESCRIPTOR security_descriptor; in InitializeAudioDeviceListLock()
/reactos/modules/rostests/apitests/ntdll/
H A DNtAccessCheckByType.c75 SECURITY_DESCRIPTOR Sd; in ParamsValidationTests()
367 SECURITY_DESCRIPTOR Sd; in AccessGrantedNoDaclTests()
536 SECURITY_DESCRIPTOR Sd; in AccessGrantedTests()
789 SECURITY_DESCRIPTOR Sd; in AccessGrantedMultipleObjectsTests()
1140 SECURITY_DESCRIPTOR Sd; in DenyAccessTests()
H A DNtAccessCheckByTypeResultList.c75 SECURITY_DESCRIPTOR Sd; in ParamValidationNoObjsList()
159 SECURITY_DESCRIPTOR Sd; in GrantedAccessTests()
444 SECURITY_DESCRIPTOR Sd; in DenyAccessTests()
H A DNtAccessCheck.c69 SECURITY_DESCRIPTOR Sd; in AccessCheckEmptyMappingTest()
/reactos/base/system/services/
H A Dsecurity.c219 … pDefaultSD = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SECURITY_DESCRIPTOR)); in ScmCreateDefaultSD()
276 pPipeSD = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SECURITY_DESCRIPTOR)); in ScmCreatePipeSD()
/reactos/ntoskrnl/io/iomgr/
H A Dsymlink.c55 SECURITY_DESCRIPTOR SecurityDescriptor; in IoCreateUnprotectedSymbolicLink()
/reactos/dll/win32/samsrv/
H A Dsecurity.c89 sizeof(SECURITY_DESCRIPTOR)); in SampCreateServerSD()
351 sizeof(SECURITY_DESCRIPTOR)); in SampCreateBuiltinDomainSD()
647 sizeof(SECURITY_DESCRIPTOR)); in SampCreateAccountDomainSD()
943 sizeof(SECURITY_DESCRIPTOR)); in SampCreateAliasSD()
1230 sizeof(SECURITY_DESCRIPTOR)); in SampCreateGroupSD()
1501 sizeof(SECURITY_DESCRIPTOR)); in SampCreateUserSD()
/reactos/drivers/filesystems/btrfs/
H A Dsecurity.c417 SECURITY_DESCRIPTOR sd; in get_top_level_sd()
636 static NTSTATUS get_file_security(PFILE_OBJECT FileObject, SECURITY_DESCRIPTOR* relsd, ULONG* bufle… in get_file_security()
666 SECURITY_DESCRIPTOR* sd; in _Function_class_()
756 … set_file_security(device_extension* Vcb, PFILE_OBJECT FileObject, SECURITY_DESCRIPTOR* sd, PSECUR… in set_file_security()
761 SECURITY_DESCRIPTOR* oldsd; in set_file_security()
/reactos/ntoskrnl/ob/
H A Dobinit.c77 SdSize = sizeof(SECURITY_DESCRIPTOR) + AclSize; in ObpCreateKernelObjectsSD()
92 Dacl = (PACL)((INT_PTR)Sd + sizeof(SECURITY_DESCRIPTOR)); in ObpCreateKernelObjectsSD()
/reactos/sdk/include/reactos/subsys/win/
H A Dbase.h32 (sizeof(SECURITY_DESCRIPTOR) + sizeof(ACL) + NLS_SIZEOF_ACE_AND_SIDS(1))
/reactos/dll/win32/advapi32/token/
H A Dtoken.c101 sizeof(SECURITY_DESCRIPTOR) + in CheckTokenMembership()
/reactos/win32ss/user/ntuser/
H A Dsecurity.c334 SECURITY_DESCRIPTOR AbsSD; in IntCreateServiceSecurity()
/reactos/modules/rostests/winetests/advapi32/
H A Dsecurity.c231 SECURITY_DESCRIPTOR *sd; in test_get_security_descriptor()
4529 SECURITY_DESCRIPTOR desc; in test_ConvertSecurityDescriptorToString()
5622 SECURITY_DESCRIPTOR *sd; in test_default_handle_security()
6523 SECURITY_DESCRIPTOR *sd; in test_default_dacl_owner_sid()
6665 SECURITY_DESCRIPTOR *sd2, *sd = (SECURITY_DESCRIPTOR *)&buffer_sd; in test_AddMandatoryAce()
7183 SECURITY_DESCRIPTOR *sd = (SECURITY_DESCRIPTOR *)&buffer_sd; in test_maximum_allowed()
7226 SECURITY_DESCRIPTOR *sd; in test_token_label()
7307 SECURITY_DESCRIPTOR *sd = (SECURITY_DESCRIPTOR *)&buffer_sd, *sd2, *sd3; in test_token_security_descriptor()
7775 SECURITY_DESCRIPTOR *sd; in test_child_token_sd()
7856 SECURITY_DESCRIPTOR *sd; in test_child_token_sd_restricted()
[all …]
/reactos/base/services/dhcpcsvc/dhcp/
H A Dpipe.c112 AbsSD = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SECURITY_DESCRIPTOR)); in CreateDhcpPipeSecurity()
/reactos/ntoskrnl/config/
H A Dcmse.c110 sizeof(SECURITY_DESCRIPTOR) + in CmpHiveRootSecurityDescriptor()

123