Browse Source

Merge pull request #2096 from a1batross/master

Fix build on e2k
pull/2130/head
bol-van 3 months ago
committed by GitHub
parent
commit
6cb394de4d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      nfq/sec.h
  2. 4
      tpws/sec.h

4
nfq/sec.h

@ -95,6 +95,10 @@ bool dropcaps(void);
# define ARCH_NR AUDIT_ARCH_LOONGARCH64 # define ARCH_NR AUDIT_ARCH_LOONGARCH64
#elif defined(__e2k__)
# define ARCH_NR AUDIT_ARCH_E2K
#else #else
# error "Platform does not support seccomp filter yet" # error "Platform does not support seccomp filter yet"

4
tpws/sec.h

@ -97,6 +97,10 @@ bool dropcaps(void);
# define ARCH_NR AUDIT_ARCH_LOONGARCH64 # define ARCH_NR AUDIT_ARCH_LOONGARCH64
#elif defined(__e2k__)
# define ARCH_NR AUDIT_ARCH_E2K
#else #else
# error "Platform does not support seccomp filter yet" # error "Platform does not support seccomp filter yet"

Loading…
Cancel
Save