Test: builds
Change-Id: I4b48e8b3d457382579216482249e734f74768c71
This commit is contained in:
Paul Lawrence 2019-08-30 11:11:44 -07:00
parent 3bd09415a3
commit b2c2d6907f

View file

@ -437,7 +437,8 @@ void SelinuxInitialize() {
bool is_enforcing = IsEnforcing();
if (kernel_enforcing != is_enforcing) {
if (security_setenforce(is_enforcing)) {
PLOG(FATAL) << "security_setenforce(%s) failed" << (is_enforcing ? "true" : "false");
PLOG(FATAL) << "security_setenforce(" << (is_enforcing ? "true" : "false")
<< ") failed";
}
}