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); |
}; |