twrp: flo/deb: Tweak SELinux to start in permissive

This commit is contained in:
followmsi 2021-12-27 12:51:52 +01:00
parent bca4d60123
commit 793ae1c379
1 changed files with 2 additions and 2 deletions

View File

@ -102,13 +102,13 @@ extern struct security_operations *security_ops;
static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);
#ifdef CONFIG_SECURITY_SELINUX_DEVELOP
int selinux_enforcing;
int selinux_enforcing = 0;
static int __init enforcing_setup(char *str)
{
unsigned long enforcing;
if (!strict_strtoul(str, 0, &enforcing))
selinux_enforcing = enforcing ? 1 : 0;
selinux_enforcing = 0; //enforcing ? 1 : 0;
return 1;
}
__setup("enforcing=", enforcing_setup);