Merge pull request #2083 from k0tran/master

Enable seccomp on loongarch64
This commit is contained in:
bol-van
2026-02-16 11:44:46 +03:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -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"

View File

@@ -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"