commit | 89f7d39396771b692eea7df23b488a4d9af6e7c1 | [log] [tgz] |
---|---|---|
author | dcashman <dcashman@google.com> | Tue Mar 22 15:13:42 2016 -0700 |
committer | dcashman <dcashman@google.com> | Tue Mar 22 15:18:29 2016 -0700 |
tree | f9198547c413be50d788d8decbe9509e1995c419 | |
parent | 4954ba1b740c19bf4ee5b0c9f441dd69ed263ddc [diff] |
Temporarily add set_mmap_rnd_bits brillo exception Bug: 27794137 Change-Id: Idc6fc1e208bdb19556173d40215feb66e235c6d6
diff --git a/init/init.cpp b/init/init.cpp index b24d839..7312d97 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -373,6 +373,11 @@ #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();