]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
src/privsep-linux.c: add support for m68k (#29)
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 8 Mar 2021 10:05:16 +0000 (11:05 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 10:05:16 +0000 (10:05 +0000)
commit391e962e58eedaec26449f8617bbbf1e993deeef
treef8983606415c0ffe38c69101ee3275eac2fd905a
parent8aa4950ac38e6e2b3b2f537891071bcd80e5ef10
src/privsep-linux.c: add support for m68k (#29)

Fix the following build failure:

privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet"
 #  error "Platform does not support seccomp filter yet"
    ^~~~~
In file included from privsep-linux.c:36:
privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'?
  BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0),
                                      ^~~~~~~~~~~~~~~~~~

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
src/privsep-linux.c