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
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef __KSU_H_SELINUX
|
||||
#define __KSU_H_SELINUX
|
||||
|
||||
|
||||
|
||||
void setup_selinux();
|
||||
|
||||
void setenforce(bool);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user