Browse Source

Merge pull request #2083 from k0tran/master

Enable seccomp on loongarch64
pull/2096/head
bol-van 4 months ago
committed by GitHub
parent
commit
e0a2116880
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

@ -72,6 +72,10 @@ bool dropcaps(void);
# define ARCH_NR AUDIT_ARCH_RISCV64 # define ARCH_NR AUDIT_ARCH_RISCV64
#elif defined(__loongarch__) && __loongarch_grlen == 64
# define ARCH_NR AUDIT_ARCH_LOONGARCH64
#else #else
# error "Platform does not support seccomp filter yet" # error "Platform does not support seccomp filter yet"

4
tpws/sec.h

@ -74,6 +74,10 @@ bool dropcaps(void);
# define ARCH_NR AUDIT_ARCH_RISCV64 # define ARCH_NR AUDIT_ARCH_RISCV64
#elif defined(__loongarch__) && __loongarch_grlen == 64
# define ARCH_NR AUDIT_ARCH_LOONGARCH64
#else #else
# error "Platform does not support seccomp filter yet" # error "Platform does not support seccomp filter yet"

Loading…
Cancel
Save