mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00:00
7934cc1673
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.
13 lines
298 B
ArmAsm
13 lines
298 B
ArmAsm
/* 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)
|