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

Unified Diff: sandbox/linux/services/yama.h

Issue 371113003: Disable yama on 3.2 kernels with 32bit userland and 64bit kernel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | sandbox/linux/services/yama.cc » ('j') | sandbox/linux/services/yama.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/yama.h
diff --git a/sandbox/linux/services/yama.h b/sandbox/linux/services/yama.h
index 20c28bae1488cc37ba1bd06358a99b57bb5d3279..d0d04f41aada1b48ff2416e84063ebd3314df38e 100644
--- a/sandbox/linux/services/yama.h
+++ b/sandbox/linux/services/yama.h
@@ -49,6 +49,10 @@ class SANDBOX_EXPORT Yama {
// Helper for checkking for STATUS_ENFORCING in GetStatus().
static bool IsEnforcing();
+ // Linux 3.2 has a bug with 32bit userspace and 64bit kernels. This function
Jorge Lucangeli Obes 2014/07/08 04:14:28 32-bit, 64-bit
+ // returns true if Yama is disabled due to this bug.
+ static bool HasLinux32Bug();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(Yama);
};
« no previous file with comments | « no previous file | sandbox/linux/services/yama.cc » ('j') | sandbox/linux/services/yama.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698