From: Lennart Poettering Date: Thu, 13 Feb 2014 01:25:45 +0000 (+0100) Subject: seccomp: fix build again if libseccomp is missing X-Git-Tag: v209~158 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=89fffa2735ea975b3716ee47820d194bd86cce5f;hp=513a78c1aac9fe2de939bed4afb03589216f5471 seccomp: fix build again if libseccomp is missing --- diff --git a/src/core/main.c b/src/core/main.c index 99cf9a133..14e21d634 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -642,7 +642,9 @@ static int parse_config_file(void) { { "Manager", "RuntimeWatchdogSec", config_parse_sec, 0, &arg_runtime_watchdog }, { "Manager", "ShutdownWatchdogSec", config_parse_sec, 0, &arg_shutdown_watchdog }, { "Manager", "CapabilityBoundingSet", config_parse_bounding_set, 0, &arg_capability_bounding_set_drop }, +#ifdef HAVE_SECCOMP { "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &arg_syscall_archs }, +#endif { "Manager", "TimerSlackNSec", config_parse_nsec, 0, &arg_timer_slack_nsec }, { "Manager", "DefaultStandardOutput", config_parse_output, 0, &arg_default_std_output }, { "Manager", "DefaultStandardError", config_parse_output, 0, &arg_default_std_error },