From: Sascha Grunert Date: Fri, 16 Jul 2021 10:13:36 +0000 (+0200) Subject: [PATCH] syscalls: add close_range() syscall X-Git-Tag: archive/raspbian/2.5.1-1+rpi1+deb11u1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b5eafb0cf2022d82369366f8e313d238cbbced6c;p=libseccomp.git [PATCH] syscalls: add close_range() syscall The syscall has been added a while ago so we should support resolving it, too. Signed-off-by: Sascha Grunert Reviewed-by: Tom Hromatka [PM: subject line tweak] Signed-off-by: Paul Moore (imported from commit 01e5750e7c84bb14e5a5410c924bed519209db06) Gbp-Pq: Name syscalls_add_close_range_syscall.patch --- diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h index 7b69214..1ca500b 100644 --- a/include/seccomp-syscalls.h +++ b/include/seccomp-syscalls.h @@ -476,6 +476,8 @@ #define __SNR_close __NR_close +#define __SNR_close_range __NR_close_range + #ifdef __NR_connect #define __SNR_connect __NR_connect #else