Christoph Hellwig 2b1c6bd77d generic compat_sys_ustat
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>
2009-03-27 14:43:57 -04:00
..
2009-01-06 15:59:10 -08:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2008-11-19 16:04:58 +11:00
2008-12-21 14:21:14 +11:00
2008-11-30 11:00:15 -08:00
2008-10-15 11:31:54 +11:00
2008-10-22 22:55:20 -07:00
2008-09-06 19:30:15 +01:00
2009-01-06 18:10:27 -08:00
2008-11-19 16:04:55 +11:00
2009-03-27 14:43:57 -04:00
2008-11-19 16:04:57 +11:00