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
..
2008-05-01 08:03:58 -07:00
2008-05-01 08:03:58 -07:00
2008-12-31 18:07:42 -05:00
2007-10-11 23:46:04 +01:00
2009-03-27 14:43:57 -04:00
2006-12-10 21:52:11 +00:00
2009-03-27 14:43:57 -04:00
2009-03-27 14:43:57 -04:00
2008-04-28 17:14:23 +01:00
2009-01-05 12:27:44 +03:00