]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
umount system call.
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Aug 1998 19:20:20 +0000 (19:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Aug 1998 19:20:20 +0000 (19:20 +0000)
sysdeps/unix/sysv/linux/umount.S [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/umount.S b/sysdeps/unix/sysv/linux/umount.S
new file mode 100644 (file)
index 0000000..e18463e
--- /dev/null
@@ -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)