summaryrefslogtreecommitdiffstats
path: root/chrome/common/sandbox_methods_linux.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 08:32:22 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 08:32:22 +0000
commit8ecd3aade85b825c8206735f16c23880023782db (patch)
tree5ca73cd7ff58f4f7b640fc5e5d95da0729649f36 /chrome/common/sandbox_methods_linux.h
parentedd64ac1dd45bc249dea061c4c2d4d6057d4dac8 (diff)
downloadchromium_src-8ecd3aade85b825c8206735f16c23880023782db.zip
chromium_src-8ecd3aade85b825c8206735f16c23880023782db.tar.gz
chromium_src-8ecd3aade85b825c8206735f16c23880023782db.tar.bz2
Add support for getting the real process id from within the suid sandbox. The browser processes gets the real process ids, so they look correct in the task manager. When it asks the zygote to reap a process, we use the process ids internal to the sandbox.
While we are at it, reap the sandbox process after it clones the zygote and figure out zygote's actual process id. Save the actual process id rather than that of the sandbox. Original review: http://codereview.chromium.org/262020 This is try 2 - initialize the sandbox host and zygote for InProcessBrowserTest. TBR=agl BUG=20012, 20714, 23072 TEST=Process IDs for renderers should be correct in the task manager and you should be able to use the end process button to kill them. Review URL: http://codereview.chromium.org/361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sandbox_methods_linux.h')
-rw-r--r--chrome/common/sandbox_methods_linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/sandbox_methods_linux.h b/chrome/common/sandbox_methods_linux.h
index 4dceba0..22fbf29 100644
--- a/chrome/common/sandbox_methods_linux.h
+++ b/chrome/common/sandbox_methods_linux.h
@@ -14,6 +14,7 @@ class LinuxSandbox {
enum Methods {
METHOD_GET_FONT_FAMILY_FOR_CHARS = 32,
METHOD_LOCALTIME = 33,
+ METHOD_GET_CHILD_WITH_INODE = 34,
};
};