summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/str_syscalls.sh
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-03-06 15:25:28 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-03-06 15:25:28 +0000
commit80831beee1c1db87b63e15efdcbcd0ed4354c62f (patch)
tree205519b37846db41120f65a7e4f4d5d15fd8d53b /libc/sysdeps/linux/common/str_syscalls.sh
parent8bee736e612e0f3f6c27dd07514d061bc85dbf3b (diff)
Fix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrapped
with a check for NO_MMU of course.
Diffstat (limited to 'libc/sysdeps/linux/common/str_syscalls.sh')
-rwxr-xr-xlibc/sysdeps/linux/common/str_syscalls.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/str_syscalls.sh b/libc/sysdeps/linux/common/str_syscalls.sh
index 0473e9bd0..a9e984821 100755
--- a/libc/sysdeps/linux/common/str_syscalls.sh
+++ b/libc/sysdeps/linux/common/str_syscalls.sh
@@ -14,9 +14,9 @@ echo "#define __NR__fcntl __NR_fcntl"
echo "#define __NR__reboot __NR_reboot"
echo "#define __NR__mmap __NR_mmap"
echo "#define __NR__syslog __NR_syslog"
-echo "#define __NR__stat __NR_stat"
-echo "#define __NR__lstat __NR_lstat"
-echo "#define __NR__fstat __NR_fstat"
+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
@@ -29,9 +29,6 @@ echo "printf(\"#define __STR_NR_fcntl __STR_NR__fcntl\n\");"
echo "printf(\"#define __STR_NR_reboot __STR_NR__reboot\n\");"
echo "printf(\"#define __STR_NR_mmap __STR_NR__mmap\n\");"
echo "printf(\"#define __STR_NR_syslog __STR_NR__syslog\n\");"
-echo "printf(\"#define __STR_NR_stat __STR_NR__stat\n\");"
-echo "printf(\"#define __STR_NR_lstat __STR_NR__lstat\n\");"
-echo "printf(\"#define __STR_NR_fstat __STR_NR__fstat\n\");"
echo "printf(\"#define __STR_NR_getdents __STR_NR__getdents\n\");"
echo
echo "return EXIT_SUCCESS; }"