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

Unified Diff: content/public/common/sandbox_linux.h

Issue 10837081: Revert 149692 - Create a LinuxSandbox class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/zygote/zygote_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandbox_linux.h
===================================================================
--- content/public/common/sandbox_linux.h (revision 149703)
+++ content/public/common/sandbox_linux.h (working copy)
@@ -8,20 +8,18 @@
namespace content {
// These form a bitmask which describes the conditions of the Linux sandbox.
-// Note: this doesn't strictly give you the current status, it states
-// what will be enabled when the relevant processes are initialized.
-enum LinuxSandboxStatus {
+enum {
// SUID sandbox active.
kSandboxLinuxSUID = 1 << 0,
// SUID sandbox is using the PID namespace.
kSandboxLinuxPIDNS = 1 << 1,
- // SUID sandbox is using the network namespace.
+ //SUID sandbox is using the network namespace.
kSandboxLinuxNetNS = 1 << 2,
- // seccomp-legacy sandbox active.
- kSandboxLinuxSeccomp = 1 << 3,
+ // seccomp sandbox active.
+ kSandboxLinuxSeccomp = 1 << 3
};
} // namespace content
« no previous file with comments | « content/content_common.gypi ('k') | content/zygote/zygote_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698