summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-09 15:43:40 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-09 15:43:40 +0000
commit8a017d3b136d2b5a65bb7cff0c63576592fd8b74 (patch)
tree4b6e8c33e01052e54c609ee02f538d6384a50bdd /libc/sysdeps/linux
parent823f4ba7b069bc2f4712e562cefc3759189e7772 (diff)
Add #define to handle new ptrace support.
Diffstat (limited to 'libc/sysdeps/linux')
-rwxr-xr-xlibc/sysdeps/linux/common/str_syscalls.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/str_syscalls.sh b/libc/sysdeps/linux/common/str_syscalls.sh
index 676229b14..0473e9bd0 100755
--- a/libc/sysdeps/linux/common/str_syscalls.sh
+++ b/libc/sysdeps/linux/common/str_syscalls.sh
@@ -18,6 +18,7 @@ echo "#define __NR__stat __NR_stat"
echo "#define __NR__lstat __NR_lstat"
echo "#define __NR__fstat __NR_fstat"
echo "#define __NR__getdents __NR_getdents"
+echo "#define __NR___ptrace __NR_ptrace"
echo
sed -ne 's/^[^\/]*_syscall[0-9].*([^,]*, *\([^,)]*\).*/printf("#define __STR_NR_\1 \\\"%d\\\"\\n", __NR_\1);/gp' syscalls.c
echo