commit | 3ef4da2f6a68e335978d6a70f595b33cf818ae70 | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Fri Oct 20 00:54:53 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Oct 20 00:54:53 2023 +0000 |
tree | c75b5778097728a4e0322e19d913a3997eba71c7 | |
parent | 2ae67e71199fe74258bd12a5330e3e9c7d149b36 [diff] | |
parent | b010393fe537d855ec18a623c46e6efb6df261df [diff] |
Merge "Remove write to /sys/fs/selinux/checkreqprot" into main
diff --git a/init/selinux.cpp b/init/selinux.cpp index 9095b85..1f211dd 100644 --- a/init/selinux.cpp +++ b/init/selinux.cpp
@@ -503,10 +503,6 @@ << ") 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;