/reactos/ntoskrnl/se/ |
H A D | priv.c | 195 LUID_AND_ATTRIBUTES Privilege; in SepSinglePrivilegeCheck() 472 BufferSize = PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); in SeCaptureLuidAndAttributesArray() 604 … (AuxData->PrivilegesUsed->PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in SeAppendPrivileges() 611 Privileges->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); in SeAppendPrivileges() 627 … (PVOID)((ULONG_PTR)Privileges + sizeof(PRIVILEGE_SET) - sizeof(LUID_AND_ATTRIBUTES)), in SeAppendPrivileges() 628 Privileges->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in SeAppendPrivileges() 647 … (PVOID)((ULONG_PTR)Privileges + sizeof(PRIVILEGE_SET) - sizeof(LUID_AND_ATTRIBUTES)), in SeAppendPrivileges() 648 Privileges->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in SeAppendPrivileges() 977 PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in NtPrivilegeCheck()
|
H A D | tokenlif.c | 159 PrivilegesLength = PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); in SepCreateToken() 302 PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in SepCreateToken() 314 PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in SepCreateToken() 593 ULONG PrivilegesLength = Token->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); in SepDuplicateToken() 605 AccessToken->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in SepDuplicateToken() 1033 PrivilegesLength = Token->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); 1051 AccessToken->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES));
|
H A D | tokencls.c | 191 (Token->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); 608 (Token->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES)); in NtQueryInformationToken() 917 PrivilegeLength = Token->PrivilegeCount * sizeof(LUID_AND_ATTRIBUTES); in NtQueryInformationToken()
|
H A D | accesschk.c | 1489 return (ULONG)(sizeof(PRIVILEGE_SET) - sizeof(LUID_AND_ATTRIBUTES)); in SepGetPrivilegeSetLength() 1492 (PrivilegeSet->PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES)); in SepGetPrivilegeSetLength()
|
H A D | token.c | 596 MoveCount * sizeof(LUID_AND_ATTRIBUTES)); in SepRemovePrivilegeToken() 1798 LUID_AND_ATTRIBUTES Privileges[] = in SepCreateSystemProcessToken()
|
/reactos/sdk/lib/rtl/ |
H A D | luid.c | 45 sizeof(LUID_AND_ATTRIBUTES)); in RtlCopyLuidAndAttributesArray()
|
H A D | priv.c | 140 … (NumPriv - ANYSIZE_ARRAY) * sizeof(LUID_AND_ATTRIBUTES)); in RtlAcquirePrivilege() 525 … sizeof(LUID_AND_ATTRIBUTES) * (SE_MAX_WELL_KNOWN_PRIVILEGE - SE_MIN_WELL_KNOWN_PRIVILEGE)];
|
/reactos/sdk/include/xdk/ |
H A D | setypes.h | 76 } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; typedef 79 typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[ANYSIZE_ARRAY]; 88 LUID_AND_ATTRIBUTES Privilege[ANYSIZE_ARRAY]; 177 LUID_AND_ATTRIBUTES Privilege[INITIAL_PRIVILEGE_COUNT]; 1024 LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | RtlRemovePrivileges.c | 18 sizeof(LUID_AND_ATTRIBUTES) * (SE_MAX_WELL_KNOWN_PRIVILEGE - SE_MIN_WELL_KNOWN_PRIVILEGE)]; in START_TEST()
|
/reactos/modules/rostests/tests/tokentest/ |
H A D | tokentest.c | 119 LUID_AND_ATTRIBUTES InitialPrivilegeSet[] = 424 …uSize += sizeof(LUID_AND_ATTRIBUTES) * sizeof(InitialPrivilegeSet) / sizeof(InitialPrivilegeSet[0]… in CreateInitialSystemToken()
|
/reactos/sdk/include/ndk/ |
H A D | ifssupp.h | 215 LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
|
/reactos/dll/win32/advapi32/token/ |
H A D | token.c | 30 LUID_AND_ATTRIBUTES Privileges[4]; in CheckTokenMembership()
|
/reactos/dll/win32/lsasrv/ |
H A D | lsarpc.c | 1600 (Privileges->PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarAddPrivilegesToAccount() 1653 (PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarAddPrivilegesToAccount() 1823 (PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarRemovePrivilegesFromAccount() 3100 (ulNewPrivileges - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarAddAccountRights() 3103 ulNewPrivileges * sizeof(LUID_AND_ATTRIBUTES); in LsarAddAccountRights() 3159 (PrivilegeSet->PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarAddAccountRights() 3349 (PrivilegeSet->PrivilegeCount - 1) * sizeof(LUID_AND_ATTRIBUTES); in LsarRemoveAccountRights()
|
H A D | authpackage.c | 1267 (1 - ANYSIZE_ARRAY) * sizeof(LUID_AND_ATTRIBUTES); in LsapAddPrivilegeToTokenPrivileges() 1289 (TokenPrivilegeCount + 1 - ANYSIZE_ARRAY) * sizeof(LUID_AND_ATTRIBUTES); in LsapAddPrivilegeToTokenPrivileges()
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | generated.c | 1768 TEST_TYPE_SIZE (LUID_AND_ATTRIBUTES, 12) in test_pack_LUID_AND_ATTRIBUTES() 1769 TEST_TYPE_ALIGN (LUID_AND_ATTRIBUTES, 4) in test_pack_LUID_AND_ATTRIBUTES() 1770 TEST_FIELD_SIZE (LUID_AND_ATTRIBUTES, Luid, 8) in test_pack_LUID_AND_ATTRIBUTES() 1771 TEST_FIELD_ALIGN (LUID_AND_ATTRIBUTES, Luid, 4) in test_pack_LUID_AND_ATTRIBUTES() 1772 TEST_FIELD_OFFSET(LUID_AND_ATTRIBUTES, Luid, 0) in test_pack_LUID_AND_ATTRIBUTES() 1773 TEST_FIELD_SIZE (LUID_AND_ATTRIBUTES, Attributes, 4) in test_pack_LUID_AND_ATTRIBUTES() 5185 TEST_TYPE_SIZE (LUID_AND_ATTRIBUTES, 12) in test_pack_LUID_AND_ATTRIBUTES() 5186 TEST_TYPE_ALIGN (LUID_AND_ATTRIBUTES, 4) in test_pack_LUID_AND_ATTRIBUTES() 5187 TEST_FIELD_SIZE (LUID_AND_ATTRIBUTES, Luid, 8) in test_pack_LUID_AND_ATTRIBUTES() 5188 TEST_FIELD_ALIGN (LUID_AND_ATTRIBUTES, Luid, 4) in test_pack_LUID_AND_ATTRIBUTES() [all …]
|
/reactos/base/system/smss/ |
H A D | smutil.c | 55 sizeof(LUID_AND_ATTRIBUTES)); in SmpAcquirePrivilege()
|
/reactos/dll/shellext/shellbtrfs/ |
H A D | recv.cpp | 1562 tplen = offsetof(TOKEN_PRIVILEGES, Privileges[0]) + (3 * sizeof(LUID_AND_ATTRIBUTES)); in RecvSubvolGUIW() 1644 tplen = offsetof(TOKEN_PRIVILEGES, Privileges[0]) + (3 * sizeof(LUID_AND_ATTRIBUTES)); in RecvSubvolW()
|
/reactos/base/system/services/ |
H A D | database.c | 322 dwSize = sizeof(TOKEN_PRIVILEGES) + 2 * sizeof(LUID_AND_ATTRIBUTES); in ScmEnableBackupRestorePrivileges()
|
/reactos/sdk/include/reactos/wine/ |
H A D | winternl.h | 2654 NTSYSAPI void WINAPI RtlCopyLuidAndAttributesArray(ULONG,const LUID_AND_ATTRIBUTES*,PLUID_AND_…
|