Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65c52016 authored by Jan Altensen's avatar Jan Altensen
Browse files

Revert "Selinux: force permissive"

This reverts commit e8d414c4
parent 28e4a858
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -169,7 +169,6 @@ 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;
	if (new_value != selinux_enforcing) {
		length = task_has_security(current, SECURITY__SETENFORCE);
		if (length)