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

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

Issue 915243002: Add namespace sandbox status to LinuxSandbox::GetStatus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add extra check that the namespace sandbox is enabled. Created 5 years, 10 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/common/sandbox_linux/sandbox_linux.cc ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandbox_linux.h
diff --git a/content/public/common/sandbox_linux.h b/content/public/common/sandbox_linux.h
index c29c9f107cbc6ef6310fb96c3ff332694fbd2399..acee4037e74a9a31cdb9c3f17f90a08f295c790f 100644
--- a/content/public/common/sandbox_linux.h
+++ b/content/public/common/sandbox_linux.h
@@ -14,10 +14,10 @@ enum LinuxSandboxStatus {
// SUID sandbox active.
kSandboxLinuxSUID = 1 << 0,
- // SUID sandbox is using the PID namespace.
+ // Sandbox is using a new PID namespace.
kSandboxLinuxPIDNS = 1 << 1,
- // SUID sandbox is using the network namespace.
+ // Sandbox is using a new network namespace.
kSandboxLinuxNetNS = 1 << 2,
// seccomp-bpf sandbox active.
@@ -29,6 +29,9 @@ enum LinuxSandboxStatus {
// seccomp-bpf sandbox is active and the kernel supports TSYNC.
kSandboxLinuxSeccompTSYNC = 1 << 5,
+ // User namespace sandbox active.
+ kSandboxLinuxUserNS = 1 << 6,
+
// A flag that denotes an invalid sandbox status.
kSandboxLinuxInvalid = 1 << 31,
};
« no previous file with comments | « content/common/sandbox_linux/sandbox_linux.cc ('k') | content/zygote/zygote_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698