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)
  • Loading branch information
poettering authored and keszybz committed Mar 3, 2023
1 parent 4647e86 commit 292debc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ 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_warn_compat, DISABLED_CONFIGURATION, NULL },

#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 292debc

Please sign in to comment.