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

Commit 3ef4da2f authored by Thiébaud Weksteen's avatar Thiébaud Weksteen Committed by Gerrit Code Review
Browse files

Merge "Remove write to /sys/fs/selinux/checkreqprot" into main

parents 2ae67e71 b010393f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -503,10 +503,6 @@ void SelinuxSetEnforcement() {
                        << ") failed";
        }
    }

    if (auto result = WriteFile("/sys/fs/selinux/checkreqprot", "0"); !result.ok()) {
        LOG(FATAL) << "Unable to write to /sys/fs/selinux/checkreqprot: " << result.error();
    }
}

constexpr size_t kKlogMessageSize = 1024;