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

Unified Diff: content/public/browser/zygote_host_linux.h

Issue 10388013: Move the Linux zygote stuff into its own per-process directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/sandbox_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/zygote_host_linux.h
diff --git a/content/public/browser/zygote_host_linux.h b/content/public/browser/zygote_host_linux.h
index cd9932e497e43d73759d38d166636748dd726725..3d08e5f5c31a9d862fd004c6c496264cac7408cc 100644
--- a/content/public/browser/zygote_host_linux.h
+++ b/content/public/browser/zygote_host_linux.h
@@ -22,23 +22,14 @@ class ZygoteHost {
// Returns the singleton instance.
CONTENT_EXPORT static ZygoteHost* GetInstance();
- // These form a bitmask which describes the conditions of the sandbox that
- // the zygote finds itself in.
- enum {
- kSandboxSUID = 1 << 0, // SUID sandbox active
- kSandboxPIDNS = 1 << 1, // SUID sandbox is using the PID namespace
- kSandboxNetNS = 1 << 2, // SUID sandbox is using the network namespace
- kSandboxSeccomp = 1 << 3, // seccomp sandbox active.
- };
-
// Returns the pid of the Zygote process.
virtual pid_t GetPid() const = 0;
// Returns the pid of the Sandbox Helper process.
virtual pid_t GetSandboxHelperPid() const = 0;
- // Returns an int which is a bitmask of kSandbox* values. Only valid after
- // the first render has been forked.
+ // Returns an int which is a bitmask of kSandboxLinux* values. Only valid
+ // after the first render has been forked.
virtual int GetSandboxStatus() const = 0;
// Adjust the OOM score of the given renderer's PID. The allowed
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/sandbox_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698