]> git.hungrycats.org Git - linux/commit
[PATCH] compat_uptr_t and compat_ptr
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 23 Mar 2003 12:59:16 +0000 (04:59 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 23 Mar 2003 12:59:16 +0000 (04:59 -0800)
commit99447171997b493c7937999d95c1e93d20cea76f
tree6d4f112e6654d626771df487502266983aedcb20
parentbfdb07ae1107841c5640c3260c9d5e7d554dbdb8
[PATCH] compat_uptr_t and compat_ptr

This creates compat_uptr_t (to represent a user mode pointer passed to
the kernel other than as a syscall parameter) and compat_ptr() to
convert it to a kernel pointer.

This fixes a couple of bugs in s390x (where the conversion of pointers
actually does something).
fs/compat.c
include/asm-parisc/compat.h
include/asm-ppc64/compat.h
include/asm-s390x/compat.h
include/asm-sparc64/compat.h
include/asm-x86_64/compat.h
net/compat.c