Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: third_party/psutil/psutil/arch/mswindows/security.h

Issue 8159001: Update third_party/psutil and fix the licence issue with it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove the suppression and unnecessary files. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * $Id: security.h 435 2009-09-19 09:32:29Z jloden $ 2 * $Id: security.h 1142 2011-10-05 18:45:49Z g.rodola $
3 *
4 * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved.
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
3 * 7 *
4 * Security related functions for Windows platform (Set privileges such as 8 * Security related functions for Windows platform (Set privileges such as
5 * SeDebug), as well as security helper functions. 9 * SeDebug), as well as security helper functions.
6 */ 10 */
7 11
8 #include <windows.h> 12 #include <windows.h>
9 13
10 14
11 BOOL SetPrivilege(HANDLE hToken, LPCTSTR Privilege, BOOL bEnablePrivilege); 15 BOOL SetPrivilege(HANDLE hToken, LPCTSTR Privilege, BOOL bEnablePrivilege);
12 int SetSeDebug(); 16 int SetSeDebug();
13 int UnsetSeDebug(); 17 int UnsetSeDebug();
14 HANDLE token_from_handle(HANDLE hProcess); 18 HANDLE token_from_handle(HANDLE hProcess);
15 int HasSystemPrivilege(HANDLE hProcess); 19 int HasSystemPrivilege(HANDLE hProcess);
16 20
OLDNEW
« no previous file with comments | « third_party/psutil/psutil/arch/mswindows/process_info.c ('k') | third_party/psutil/psutil/arch/mswindows/security.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698