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

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

Issue 10826093: Create a LinuxSandbox class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Jorge's comments. 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
Index: content/public/common/sandbox_linux.h
diff --git a/content/public/common/sandbox_linux.h b/content/public/common/sandbox_linux.h
index e92632f50f49ebc7989eccccb5149b0fbf278728..3e8cf3b4eae75469831273c2dcba37ece53758c9 100644
--- a/content/public/common/sandbox_linux.h
+++ b/content/public/common/sandbox_linux.h
@@ -8,18 +8,18 @@
namespace content {
// These form a bitmask which describes the conditions of the Linux sandbox.
-enum {
+enum LinuxSandboxStatus {
// 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 sandbox active.
- kSandboxLinuxSeccomp = 1 << 3
+ // seccomp-legacy sandbox active.
+ kSandboxLinuxSeccomp = 1 << 3,
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698