selinux: fix typos
Signed-off-by: BlackMesa123 <brother12@hotmail.it>
This commit is contained in:
parent
26f17b55bf
commit
a312767c41
|
@ -81,28 +81,28 @@ config SECURITY_SELINUX_FAKE_ENFORCE
|
|||
|
||||
config SECURITY_SELINUX_ALWAYS_ENFORCE
|
||||
bool "NSA SELinux Always Enforcing"
|
||||
depends on SECURITY_SEC_SELINUX
|
||||
depends on SECURITY_SELINUX_DEVELOP
|
||||
default n
|
||||
help
|
||||
This option will prevent anything from setting SELinux to permissive.
|
||||
|
||||
config SECURITY_SELINUX_DEFAULT_ENFORCE
|
||||
bool "NSA SELinux Default Enforcing"
|
||||
depends on SECURITY_SEC_SELINUX
|
||||
depends on SECURITY_SELINUX_DEVELOP
|
||||
default n
|
||||
help
|
||||
This option will set SELinux to enforcing at boot.
|
||||
|
||||
config SECURITY_SELINUX_ALWAYS_PERMISSIVE
|
||||
bool "NSA SELinux Always Permissive"
|
||||
depends on SECURITY_SEC_SELINUX
|
||||
depends on SECURITY_SELINUX_DEVELOP
|
||||
default n
|
||||
help
|
||||
This option will prevent anything from setting SELinux to enforcing.
|
||||
|
||||
config SECURITY_SELINUX_DEFAULT_PERMISSIVE
|
||||
bool "NSA SELinux Default Permissive"
|
||||
depends on SECURITY_SEC_SELINUX
|
||||
depends on SECURITY_SELINUX_DEVELOP
|
||||
default n
|
||||
help
|
||||
This option will set SELinux to permissive at boot.
|
||||
|
|
|
@ -191,7 +191,7 @@ static ssize_t sel_write_enforce(struct file *file, const char __user *buf,
|
|||
selnl_notify_setenforce(new_value);
|
||||
selinux_status_update_setenforce(new_value);
|
||||
#elif defined(CONFIG_SECURITY_SELINUX_ALWAYS_PERMISSIVE)
|
||||
// If never enforce option is set, selinux is always permissive
|
||||
// If always permissive option is set, selinux is always permissive
|
||||
new_value = 0;
|
||||
length = task_has_security(current, SECURITY__SETENFORCE);
|
||||
audit_log(current->audit_context, GFP_KERNEL, AUDIT_MAC_STATUS,
|
||||
|
|
Loading…
Reference in New Issue
Block a user