summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2016-03-22 15:13:42 -0700
committerdcashman <dcashman@google.com>2016-03-22 15:18:29 -0700
commit69022e03d81e43455cf7c21555314c4d08664311 (patch)
treef9198547c413be50d788d8decbe9509e1995c419
parent5d36813dc8d3be3f62856cf5147b828a7a8594a7 (diff)
Temporarily add set_mmap_rnd_bits brillo exception
Bug: 27794137 Change-Id: Idc6fc1e208bdb19556173d40215feb66e235c6d6
-rw-r--r--init/init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/init.cpp b/init/init.cpp
index b24d8390f..7312d9769 100644
--- a/init/init.cpp
+++ b/init/init.cpp
@@ -373,6 +373,11 @@ static int set_mmap_rnd_bits_action(const std::vector<std::string>& args)
#else
ERROR("Unknown architecture\n");
#endif
+
+#ifdef __BRILLO__
+ // TODO: b/27794137
+ ret = 0;
+#endif
if (ret == -1) {
ERROR("Unable to set adequate mmap entropy value!\n");
security_failure();