summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/xattr_id.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-07-08 04:49:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-07-08 05:03:30 +0200
commit7928eb0370d1133d0d8cd2f5ddfca19c309079d5 (patch)
tree0302124558fbad7327630babc1804aa5977e8c2f /fs/squashfs/xattr_id.c
parentMIPS, CPUFREQ: Fix spelling of Institute. (diff)
downloadlinux-7928eb0370d1133d0d8cd2f5ddfca19c309079d5.tar.xz
linux-7928eb0370d1133d0d8cd2f5ddfca19c309079d5.zip
MIPS: O32: Do not handle require 32 bytes from the stack to be readable.
Commit 46e12c07b3b9603c60fc1d421ff18618241cb081 (MIPS: O32 / 32-bit: Always copy 4 stack arguments.) change the O32 syscall handler to always load four arguments from the userspace stack even for syscalls that require fewer or no arguments to be copied. This removes a large table from kernel space and need to maintain it. It appeared that it was ok the implementation chosen requires 16 bytes of readable stack space above the user stack pointer. Turned out a few threading implementations munmap the user stack before the thread exits resulting in errors due to the unreadable stack. We now treat any failed load as a if the loaded value was zero and let the actual syscall deal with the situation. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'fs/squashfs/xattr_id.c')
0 files changed, 0 insertions, 0 deletions