| Line |  | 
|---|
| 1 | /* $$ */ | 
|---|
| 2 |  | 
|---|
| 3 | #ifndef __NTDLL_SEC_H__ | 
|---|
| 4 | #define __NTDLL_SEC_H__ | 
|---|
| 5 |  | 
|---|
| 6 | #ifdef OS2_INCLUDED | 
|---|
| 7 | #include <win32type.h> | 
|---|
| 8 | #else | 
|---|
| 9 | #include <winnt.h> | 
|---|
| 10 | #endif | 
|---|
| 11 |  | 
|---|
| 12 | //SvL: Security data for win32 process (nothing fancy; just trying to fool apps | 
|---|
| 13 | //     into thinking the security subsystem is in perfect shape. | 
|---|
| 14 | #define SECTYPE_THREAD          0 | 
|---|
| 15 | #define SECTYPE_PROCESS         1 | 
|---|
| 16 | #define SECTYPE_INITIALIZED     2 | 
|---|
| 17 |  | 
|---|
| 18 | typedef struct { | 
|---|
| 19 | DWORD               dwType; | 
|---|
| 20 | TOKEN_USER          SidUser; | 
|---|
| 21 | TOKEN_GROUPS       *pTokenGroups; | 
|---|
| 22 | PRIVILEGE_SET      *pPrivilegeSet; | 
|---|
| 23 | TOKEN_PRIVILEGES   *pTokenPrivileges; | 
|---|
| 24 | TOKEN_OWNER         TokenOwner; | 
|---|
| 25 | TOKEN_PRIMARY_GROUP PrimaryGroup; | 
|---|
| 26 | TOKEN_DEFAULT_DACL  DefaultDACL; | 
|---|
| 27 | TOKEN_SOURCE        TokenSource; | 
|---|
| 28 | TOKEN_TYPE          TokenType; | 
|---|
| 29 | } PROCESSTHREAD_SECURITYINFO; | 
|---|
| 30 |  | 
|---|
| 31 | //Per process info; Should probably be stored in process database structure | 
|---|
| 32 | extern PROCESSTHREAD_SECURITYINFO ProcSecInfo; | 
|---|
| 33 |  | 
|---|
| 34 | #endif // __NTDLL_SEC_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.