security: selinux: Enable Samsung SELinux

This commit is contained in:
Ksawlii 2024-11-24 00:43:04 +01:00
parent 895709a281
commit 6af9744bf7

View file

@ -159,7 +159,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
if (sscanf(page, "%d", &new_value) != 1)
goto out;
new_value = 0;
new_value = !!new_value;
old_value = enforcing_enabled(state);
if (new_value != old_value) {