mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Add some missing SIDs. Fix bug 1772.
See http://www.msfn.org/board/lofiversion/index.php/t43597.html for the list of authorities svn path=/trunk/; revision=23768
This commit is contained in:
parent
f4763c0ce0
commit
4b05210f15
1 changed files with 13 additions and 1 deletions
|
@ -527,6 +527,18 @@ typedef DWORD FLONG;
|
|||
#define SECURITY_NT_NON_UNIQUE 0x00000015L
|
||||
#define SECURITY_BUILTIN_DOMAIN_RID 0x00000020L
|
||||
|
||||
/* S-1-6 */
|
||||
#define SECURITY_SITE_SERVER_AUTHORITY {0,0,0,0,0,6}
|
||||
|
||||
/* S-1-7 */
|
||||
#define SECURITY_INTERNET_SITE_AUTHORITY {0,0,0,0,0,7}
|
||||
|
||||
/* S-1-8 */
|
||||
#define SECURITY_EXCHANGE_AUTHORITY {0,0,0,0,0,8}
|
||||
|
||||
/* S-1-9 */
|
||||
#define SECURITY_RESOURCE_MANAGER_AUTHORITY {0,0,0,0,0,9}
|
||||
|
||||
#define SECURITY_LOGON_IDS_RID_COUNT 0x3
|
||||
#define SID_REVISION 1
|
||||
|
||||
|
@ -1028,7 +1040,7 @@ typedef enum
|
|||
#define RTL_CRITSECT_TYPE 0
|
||||
#define RTL_RESOURCE_TYPE 1
|
||||
/* Also in winddk.h */
|
||||
#define FIELD_OFFSET(t,f) ((LONG)&(((t*)0)->f))
|
||||
#define FIELD_OFFSET(t,f) ((LONG_PTR)&(((t*)0)->f))
|
||||
#ifndef CONTAINING_RECORD
|
||||
#define CONTAINING_RECORD(address, type, field) \
|
||||
((type *)(((ULONG_PTR)address) - (ULONG_PTR)(&(((type *)0)->field))))
|
||||
|
|
Loading…
Reference in a new issue