diff options
Diffstat (limited to 'base/process_util_posix.cc')
-rw-r--r-- | base/process_util_posix.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc index efe7442..859dfc3 100644 --- a/base/process_util_posix.cc +++ b/base/process_util_posix.cc @@ -43,6 +43,12 @@ bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { return true; } +bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { + // On POSIX permissions are checked for each operation on process, + // not when opening a "handle". + return OpenProcessHandle(pid, handle); +} + void CloseProcessHandle(ProcessHandle process) { // See OpenProcessHandle, nothing to do. return; |