diff --git a/init/selinux.cpp b/init/selinux.cpp index 9095b854e..1f211ddfa 100644 --- a/init/selinux.cpp +++ b/init/selinux.cpp @@ -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;