about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/umount.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-20 19:16:48 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-20 19:16:48 +0000
commit7934cc16733720b3eb61ca83e22c62a8ffd9c644 (patch)
tree00c4a04ee24035ceda6daf51a522e707feb5f6df /sysdeps/unix/sysv/linux/umount.S
parentdf777c40c1d8bc15dcc71a7da183f2a2c99bda62 (diff)
downloadglibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.tar.gz
glibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.tar.xz
glibc-7934cc16733720b3eb61ca83e22c62a8ffd9c644.zip
Update.
1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
	Add umount and umount2.
	* sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
	* sysdeps/unix/sysv/linux/umount.S: New file.
	* sysdeps/unix/sysv/linux/umount2.S: New file.
	* sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
	Define MNT_FORCE.
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)