Browse Source
Merge pull request #2083 from k0tran/master
Enable seccomp on loongarch64
pull/2096/head
bol-van
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
8 additions and
0 deletions
-
nfq/sec.h
-
tpws/sec.h
|
|
|
@ -72,6 +72,10 @@ bool dropcaps(void); |
|
|
|
|
|
|
|
# define ARCH_NR AUDIT_ARCH_RISCV64 |
|
|
|
|
|
|
|
#elif defined(__loongarch__) && __loongarch_grlen == 64 |
|
|
|
|
|
|
|
# define ARCH_NR AUDIT_ARCH_LOONGARCH64 |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
# error "Platform does not support seccomp filter yet" |
|
|
|
|
|
|
|
@ -74,6 +74,10 @@ bool dropcaps(void); |
|
|
|
|
|
|
|
# define ARCH_NR AUDIT_ARCH_RISCV64 |
|
|
|
|
|
|
|
#elif defined(__loongarch__) && __loongarch_grlen == 64 |
|
|
|
|
|
|
|
# define ARCH_NR AUDIT_ARCH_LOONGARCH64 |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
# error "Platform does not support seccomp filter yet" |
|
|
|
|