kernel: make allowlist available cross boot
This commit is contained in:
@@ -83,4 +83,10 @@ void setup_selinux() {
|
||||
is_domain_permissive = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void setenforce(bool enforce) {
|
||||
#ifdef CONFIG_SECURITY_SELINUX_DEVELOP
|
||||
selinux_state.enforcing = enforce;
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user