summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@redhat.com>2021-07-16 12:13:36 +0200
committerPaul Moore <paul@paul-moore.com>2021-07-19 22:19:34 -0400
commit01e5750e7c84bb14e5a5410c924bed519209db06 (patch)
tree4a2464527e980999e5f9a064de198beecd93e907 /include
parent5822e50c2920ce597d038077dea4a0eedf193f86 (diff)
downloadlibseccomp-01e5750e7c84bb14e5a5410c924bed519209db06.tar.gz
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 <sgrunert@redhat.com> Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com> [PM: subject line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp-syscalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
index c694db1..ea44f1a 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