mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +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.
14 lines
281 B
ArmAsm
14 lines
281 B
ArmAsm
/* umount system call with two parameters. */
|
|
|
|
#include <sysdep.h>
|
|
#if defined __NR_oldumount || defined __NR_umount2
|
|
#ifdef __NR_oldumount
|
|
PSEUDO (__umount2, umount, 2)
|
|
#else
|
|
PSEUDO (__umount2, umount2, 2)
|
|
#endif
|
|
ret
|
|
PSEUDO_END(__umount2)
|
|
weak_alias (__umount2, umount2)
|
|
#endif
|