summaryrefslogtreecommitdiffstats
path: root/tools/syscall-names-update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syscall-names-update.sh')
-rwxr-xr-xtools/syscall-names-update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/syscall-names-update.sh b/tools/syscall-names-update.sh
new file mode 100755
index 0000000..c884b93
--- /dev/null
+++ b/tools/syscall-names-update.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+cd "$1"
+
+curl -L -o syscall-names.text 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'