diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-10-06 21:01:17 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-12-14 19:23:49 +0300 |
commit | c342e03d3f853c019613ec5a2d1a24ae46014c87 (patch) | |
tree | f40f8f63fb0c2f66cf975793557bb456f2dbaa2b /arch/xtensa/include/asm | |
parent | 2bdb21fe06c81e977e2bcf1ad3063ba96db9563f (diff) | |
download | linux-c342e03d3f853c019613ec5a2d1a24ae46014c87.tar.xz |
xtensa: re-wire umount syscall to sys_oldumount
commit 2651cc6974d47fc43bef1cd8cd26966e4f5ba306 upstream.
Userspace actually passes single parameter (path name) to the umount
syscall, so new umount just fails. Fix it by requesting old umount
syscall implementation and re-wiring umount to it.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/xtensa/include/asm')
-rw-r--r-- | arch/xtensa/include/asm/unistd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/unistd.h b/arch/xtensa/include/asm/unistd.h index 798ee6d285a1..7ab1f52f1fdd 100644 --- a/arch/xtensa/include/asm/unistd.h +++ b/arch/xtensa/include/asm/unistd.h @@ -394,7 +394,8 @@ __SYSCALL(174, sys_chroot, 1) #define __NR_pivot_root 175 __SYSCALL(175, sys_pivot_root, 2) #define __NR_umount 176 -__SYSCALL(176, sys_umount, 2) +__SYSCALL(176, sys_oldumount, 1) +#define __ARCH_WANT_SYS_OLDUMOUNT #define __NR_swapoff 177 __SYSCALL(177, sys_swapoff, 1) #define __NR_sync 178 |