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

Commit 69022e03 authored by dcashman's avatar dcashman
Browse files

Temporarily add set_mmap_rnd_bits brillo exception

Bug: 27794137
Change-Id: Idc6fc1e208bdb19556173d40215feb66e235c6d6
parent 5d36813d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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();