mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-24 20:00:19 +00:00
Due to a different size of ino_t ustat needs a compat handler, but currently only x86 and mips provide one. Add a generic compat_sys_ustat and switch all architectures over to it. Instead of doing various user copy hacks compat_sys_ustat just reimplements sys_ustat as it's trivial. This was suggested by Arnd Bergmann. Found by Eric Sandeen when running xfstests/017 on ppc64, which causes stack smashing warnings on RHEL/Fedora due to the too large amount of data writen by the syscall. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> |
||
|---|---|---|
| .. | ||
| audit.c | ||
| binfmt_elf32.c | ||
| elfcore32.h | ||
| ia32_entry.S | ||
| ia32_ldt.c | ||
| ia32_signal.c | ||
| ia32_support.c | ||
| ia32_traps.c | ||
| ia32priv.h | ||
| Makefile | ||
| sys_ia32.c | ||