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

Verified Commit 1958f0c5 authored by ivanmeler's avatar ivanmeler Committed by Ahmed Harhash
Browse files

Revert "Sealions are always permissive"

This reverts commit 0d8707d5.
parent 03979209
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -190,8 +190,9 @@ 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

#ifdef CONFIG_ALWAYS_PERMISSIVE
    new_value = 0;
#endif
	if (new_value != selinux_enforcing) {
		length = task_has_security(current, SECURITY__SETENFORCE);
		if (length)