linux-stable/include
suzuki 651971cb72 [PATCH] Fix the size limit of compat space msgsize
Currently we allocate 64k space on the user stack and use it the msgbuf for
sys_{msgrcv,msgsnd} for compat and the results are later copied in user [
by copy_in_user].  This patch introduces helper routines for
sys_{msgrcv,msgsnd} as below:

do_msgsnd() : Accepts the mtype and user space ptr to the buffer along with
the msqid and msgflg.

do_msgrcv() : Accepts a kernel space ptr to mtype and a userspace ptr to
the buffer.  The mtype has to be copied back the user space msgbuf by the
caller.

These changes avoid the need to allocate the msgsize on the userspace (
thus removing the size limt ) and the overhead of an extra copy_in_user().

Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:38 -08:00
..
acpi [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
asm-alpha [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-arm [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-arm26 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-avr32 [PATCH] Centralise definitions of sector_t and blkcnt_t 2006-12-04 19:41:15 -08:00
asm-cris [NET]: Cris checksum annotations and cleanups. 2006-12-02 21:23:02 -08:00
asm-frv [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-generic [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-h8300 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-i386 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-ia64 [PATCH] numa node ids are int, page_to_nid and zone_to_nid should return int 2006-12-07 08:39:23 -08:00
asm-m32r [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-m68k [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-m68knommu [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-mips [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-parisc [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-powerpc [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-ppc [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-s390 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sh [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sh64 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sparc [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sparc64 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-um Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
asm-v850 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-x86_64 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-xtensa [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
crypto
keys
linux [PATCH] Fix the size limit of compat space msgsize 2006-12-07 08:39:38 -08:00
math-emu
media V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board. 2006-10-03 15:13:48 -03:00
mtd
net [PATCH] lockdep: annotate nfs/nfsd in-kernel sockets 2006-12-07 08:39:30 -08:00
pcmcia [PATCH] pcmcia: multifunction card handling fixes 2006-12-04 20:09:15 -05:00
rdma IB/cm: Fix automatic path migration support 2006-11-29 15:33:10 -08:00
rxrpc
scsi [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
sound Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 17:01:28 +00:00
video fix file specification in comments 2006-10-03 23:01:26 +02:00
Kbuild