From 8e2ee1c4d87fbcfa29d5d7baa9845907e6a77c96 Mon Sep 17 00:00:00 2001 From: yangchenguang Date: Wed, 10 May 2023 17:36:24 +0800 Subject: [PATCH] loongarch64 do not support fstat Signed-off-by: yangchenguang --- sys_linux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys_linux.c b/sys_linux.c index 2b53f72..68d0ba3 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -539,7 +539,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) SCMP_SYS(faccessat), SCMP_SYS(fchmodat), SCMP_SYS(fchownat), - SCMP_SYS(fstat), +#ifndef __loongarch64 + SCMP_SYS(fstat), +#endif SCMP_SYS(fstat64), SCMP_SYS(fstatat64), SCMP_SYS(getdents), -- 2.33.0