Skip to content

seccomp fails to build on aarch64 #169

@bircoph

Description

@bircoph

clsync with --enable-seccomp fails to build on aarch64:

 149 |  FILTER_TABLE_ARCHDEPENDED
privileged.c:88:34: error: initializer element is not constant
   88 |  BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##syscall, 0, 1), \
--
  149 |  FILTER_TABLE_ARCHDEPENDED
privileged.c:88:34: error: initializer element is not constant
   88 |  BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##syscall, 0, 1), \

Curiously, but it builds on ppc64le, though is not tested run-time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions