| Index: third_party/psutil/psutil/arch/mswindows/security.h
|
| diff --git a/third_party/psutil/psutil/arch/mswindows/security.h b/third_party/psutil/psutil/arch/mswindows/security.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c556435709defd08f4417165451608faeb5854e
|
| --- /dev/null
|
| +++ b/third_party/psutil/psutil/arch/mswindows/security.h
|
| @@ -0,0 +1,16 @@
|
| +/*
|
| + * $Id: security.h 435 2009-09-19 09:32:29Z jloden $
|
| + *
|
| + * Security related functions for Windows platform (Set privileges such as
|
| + * SeDebug), as well as security helper functions.
|
| + */
|
| +
|
| +#include <windows.h>
|
| +
|
| +
|
| +BOOL SetPrivilege(HANDLE hToken, LPCTSTR Privilege, BOOL bEnablePrivilege);
|
| +int SetSeDebug();
|
| +int UnsetSeDebug();
|
| +HANDLE token_from_handle(HANDLE hProcess);
|
| +int HasSystemPrivilege(HANDLE hProcess);
|
| +
|
|
|