mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-18 06:03:42 +03:00
pid1: generate compat warning for SystemCallArchitectures= if seccomp is off
(cherry picked from commit 6aa2c55522d7cac62ecfd5d5687a86a84f158d18) (cherry picked from commit 01b90e1588e29888c7583bd320b898b59257d737) (cherry picked from commit 7c9b9c8d93b57f06ad1974adfa1fc0e94ac7b405) (cherry picked from commit 292debc981bbf59ccacaa2bdd391f880af806023)
This commit is contained in:
parent
4cba8e33f8
commit
8e8c7d5114
@ -717,6 +717,8 @@ static int parse_config_file(void) {
|
||||
{ "Manager", "NoNewPrivileges", config_parse_bool, 0, &arg_no_new_privs },
|
||||
#if HAVE_SECCOMP
|
||||
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &arg_syscall_archs },
|
||||
#else
|
||||
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &DISABLED_CONFIGURATION },
|
||||
#endif
|
||||
{ "Manager", "TimerSlackNSec", config_parse_nsec, 0, &arg_timer_slack_nsec },
|
||||
{ "Manager", "DefaultTimerAccuracySec", config_parse_sec, 0, &arg_default_timer_accuracy_usec },
|
||||
|
Loading…
x
Reference in New Issue
Block a user