Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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.
- Loading branch information
Ulrich Drepper
committed
Aug 20, 1998
1 parent
df777c4
commit 7934cc1
Showing
6 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* 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 |