diff options
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r-- | base/process_util_linux.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 393295a..b463f8e 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -288,6 +288,8 @@ namespace base { size_t g_oom_size = 0U; #endif +const char kProcSelfExe[] = "/proc/self/exe"; + ProcessId GetParentProcessId(ProcessHandle process) { ProcessId pid = ReadProcStatsAndGetFieldAsInt(process, VM_PPID); if (pid) |