summaryrefslogtreecommitdiffstats
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorChristoph Lameter2006-06-23 11:03:57 +0200
committerLinus Torvalds2006-06-23 16:42:53 +0200
commit9216dfad4fc97ab639ef0885efc713f3d7a20d5b (patch)
tree546e301f3181f56133509327f9c5ed035dd4b50d /include/linux/security.h
parent[PATCH] sys_move_pages: 32bit support (i386, x86_64) (diff)
downloadkernel-qcow2-linux-9216dfad4fc97ab639ef0885efc713f3d7a20d5b.tar.gz
kernel-qcow2-linux-9216dfad4fc97ab639ef0885efc713f3d7a20d5b.tar.xz
kernel-qcow2-linux-9216dfad4fc97ab639ef0885efc713f3d7a20d5b.zip
[PATCH] move_pages: fix 32 -> 64 bit compat function
The definition of the third parameter is a pointer to an array of virtual addresses which give us some trouble. The existing code calculated the wrong address in the array since I used void to avoid having to specify a type. I now use the correct type "compat_uptr_t __user *" in the definition of the function in kernel/compat.c. However, I used __u32 in syscalls.h. Would have to include compat.h there in order to provide the same definition which would generate an ugly include situation. On both ia64 and x86_64 compat_uptr_t is u32. So this works although parameter declarations differ. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/security.h')
0 files changed, 0 insertions, 0 deletions