Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f80d8cd authored by dcashman's avatar dcashman Committed by android-build-merger
Browse files

Temporarily add set_mmap_rnd_bits brillo exception

am: 69022e03

* commit '69022e03':
  Temporarily add set_mmap_rnd_bits brillo exception
parents 8aacc03c 69022e03
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -372,6 +372,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();