Allow SELinux support to be disabled via the sudoers file.

Defaults to true if sudo is built with SELinux support and SELinux
is not disabled on the system.
This commit is contained in:
Todd C. Miller
2021-01-08 19:29:17 -07:00
parent 4603da02af
commit 1b72d6a5cc
8 changed files with 45 additions and 6 deletions

View File

@@ -569,6 +569,10 @@ struct sudo_defs_types sudo_defs_table[] = {
"log_format", T_TUPLE,
N_("The format of logs to produce: %s"),
def_data_log_format,
}, {
"selinux", T_FLAG,
N_("Enable SELinux RBAC support"),
NULL,
}, {
NULL, 0, NULL
}