mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
analyze: fix build w/o seccomp
This commit is contained in:
parent
d5efc18b60
commit
1720590bfd
@ -1276,6 +1276,7 @@ static int set_log_target(sd_bus *bus, char **args) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef HAVE_SECCOMP
|
||||
static void dump_syscall_filter(const SyscallFilterSet *set) {
|
||||
const char *syscall;
|
||||
|
||||
@ -1325,6 +1326,13 @@ static int dump_syscall_filters(char** names) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
static int dump_syscall_filters(char** names) {
|
||||
log_error("Not compiled with syscall filters, sorry.");
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void help(void) {
|
||||
|
||||
pager_open(arg_no_pager, false);
|
||||
|
Loading…
Reference in New Issue
Block a user