Seccomp is now compiled in by default, and can be enabled at run-time.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-06-12 15:35:45 +02:00
parent ae3b9e5111
commit 70623591d5
5 changed files with 17 additions and 5 deletions
+2
View File
@@ -84,6 +84,7 @@ static struct cfg_options available_options[] = {
{ .name = "socket-file", .type = OPTION_STRING, .mandatory = 1 },
{ .name = "occtl-socket-file", .type = OPTION_STRING, .mandatory = 0 },
{ .name = "banner", .type = OPTION_STRING, .mandatory = 0 },
{ .name = "use-seccomp", .type = OPTION_BOOLEAN, .mandatory = 0 },
{ .name = "predictable-ips", .type = OPTION_BOOLEAN, .mandatory = 0 },
{ .name = "session-control", .type = OPTION_BOOLEAN, .mandatory = 0 },
{ .name = "auto-select-group", .type = OPTION_BOOLEAN, .mandatory = 0 },
@@ -450,6 +451,7 @@ unsigned force_cert_auth;
config->cisco_client_compat = 1;
}
READ_TF("use-seccomp", config->seccomp, 0);
READ_TF("predictable-ips", config->predictable_ips, 1);
READ_TF("use-utmp", config->use_utmp, 1);
READ_TF("use-dbus", config->use_dbus, 0);