From e8d414c43a2115553f8fc4d89718cc166a34944a Mon Sep 17 00:00:00 2001 From: ivanmeler Date: Fri, 24 May 2019 10:32:26 +0000 Subject: [PATCH] Selinux: force permissive --- security/selinux_n/selinuxfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/selinux_n/selinuxfs.c b/security/selinux_n/selinuxfs.c index 30eeb588c96b..8bafc3186632 100644 --- a/security/selinux_n/selinuxfs.c +++ b/security/selinux_n/selinuxfs.c @@ -190,6 +190,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf, selnl_notify_setenforce(new_value); selinux_status_update_setenforce(new_value); #else + new_value = 0; if (new_value != selinux_enforcing) { length = task_has_security(current, SECURITY__SETENFORCE); if (length) -- 2.20.1