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

Commit 99a75932 authored by dcashman's avatar dcashman Committed by android-build-merger
Browse files

Temporarily add set_mmap_rnd_bits brillo exception am: 69022e03

am: 0f80d8cd

* commit '0f80d8cd':
  Temporarily add set_mmap_rnd_bits brillo exception
parents e3f67277 0f80d8cd
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();