From 69022e03d81e43455cf7c21555314c4d08664311 Mon Sep 17 00:00:00 2001 From: dcashman Date: Tue, 22 Mar 2016 15:13:42 -0700 Subject: [PATCH] Temporarily add set_mmap_rnd_bits brillo exception Bug: 27794137 Change-Id: Idc6fc1e208bdb19556173d40215feb66e235c6d6 --- init/init.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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& 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();