mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
pid1: generate compat warning for SystemCallArchitectures= if seccomp is off
(cherry picked from commit6aa2c55522
) (cherry picked from commit01b90e1588
) (cherry picked from commit7c9b9c8d93
) (cherry picked from commit292debc981
)
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 },
|
{ "Manager", "NoNewPrivileges", config_parse_bool, 0, &arg_no_new_privs },
|
||||||
#if HAVE_SECCOMP
|
#if HAVE_SECCOMP
|
||||||
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &arg_syscall_archs },
|
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &arg_syscall_archs },
|
||||||
|
#else
|
||||||
|
{ "Manager", "SystemCallArchitectures", config_parse_syscall_archs, 0, &DISABLED_CONFIGURATION },
|
||||||
#endif
|
#endif
|
||||||
{ "Manager", "TimerSlackNSec", config_parse_nsec, 0, &arg_timer_slack_nsec },
|
{ "Manager", "TimerSlackNSec", config_parse_nsec, 0, &arg_timer_slack_nsec },
|
||||||
{ "Manager", "DefaultTimerAccuracySec", config_parse_sec, 0, &arg_default_timer_accuracy_usec },
|
{ "Manager", "DefaultTimerAccuracySec", config_parse_sec, 0, &arg_default_timer_accuracy_usec },
|
||||||
|
Loading…
Reference in New Issue
Block a user