about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/umount.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/umount.S')
-rw-r--r--sysdeps/unix/sysv/linux/umount.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/umount.S b/sysdeps/unix/sysv/linux/umount.S
new file mode 100644
index 0000000000..e18463e2e6
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/umount.S
@@ -0,0 +1,12 @@
+/* This hack is necessary since the kernel people are making "strange"
+   changes.  They simply rename old system calls.  */
+
+#include <sysdep.h>
+#ifdef __NR_oldumount
+PSEUDO (__umount, oldumount, 1)
+#else
+PSEUDO (__umount, umount, 1)
+#endif
+	ret
+PSEUDO_END(__umount)
+weak_alias (__umount, umount)