Skip to content

Commit

Permalink
pid1: generate compat warning for SystemCallArchitectures= if seccomp…
Browse files Browse the repository at this point in the history
… is off

(cherry picked from commit 6aa2c55)
(cherry picked from commit 01b90e1)
(cherry picked from commit 7c9b9c8)
(cherry picked from commit 292debc)
  • Loading branch information
poettering authored and bluca committed Mar 5, 2023
1 parent 4cba8e3 commit 8e8c7d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 8e8c7d5

Please sign in to comment.