[IA64] sync compat getdents
authorAlexandr Andreev <aandreev@openvz.org>
Tue, 6 Mar 2007 10:34:24 +0000 (02:34 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 6 Mar 2007 22:49:24 +0000 (14:49 -0800)
commit50157b09b33c2ec3637d3b317b06a7235c57c7f2
tree83d66f438c0d7bb67a00aff9f3b5359556f72a36
parenta27e5a13d5863bb9de0ac80cb4bb3f4442f0aad1
[IA64] sync compat getdents

Add VERIFY_WRITE check in the beginning like compat_sys_getdents() (EINVAL vs
EFAULT).

Signed-off-by: Alexandr Andreev <aandreev@openvz.org>
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/ia32/sys_ia32.c